[mythtv-commits] Ticket #10721: Mythmusic FLAC import fails with large number of files

MythTV noreply at mythtv.org
Mon May 14 03:54:22 UTC 2012


#10721: Mythmusic FLAC import fails with large number of files
-------------------------------------+----------------------------------
 Reporter:  mayfields@…              |           Type:  Patch - Bug Fix
   Status:  new                      |       Priority:  minor
Milestone:  unknown                  |      Component:  MythTV - General
  Version:  0.25-fixes               |       Severity:  medium
 Keywords:  mythmusic flac metadata  |  Ticket locked:  0
-------------------------------------+----------------------------------
 When scanning for new music (eg when first installing), mythfrontend
 crashes when importing metadata for a large number of files. Error
 indicates too many open files. Incorrect data is also populated as
 metadata cannot be read for a number of files prior to crash.

 In metaioflacvorbis.cpp, flacfile is not deleted after use in
 MetaIOFLACVorbis::read as it is in the other functions that open the file.
 This results in each file remaining opened after metadata is read.

 Patch attached, tested against 0.25-fixes.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10721>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list