Ticket #1450: noid3fix.patch

File noid3fix.patch, 826 bytes (added by shrimp@…, 18 years ago)
Line 
1*** metaioid3v2.cpp     2005-10-26 13:07:41.000000000 +0000
2--- ../../../../mythplugins-0.19/mythmusic/mythmusic/metaioid3v2.cpp    2006-03-02 20:10:32.000000000 +0000
3***************
4*** 253,259 ****
5      length = getTrackLength(filename);
6 
7      // If we don't have title and artist or don't have the length return NULL
8!     if ((title.isEmpty() && artist.isEmpty()) || length<=0)
9          return NULL;
10 
11      Metadata *retdata = new Metadata(filename, artist, compilation_artist, album,
12--- 253,260 ----
13      length = getTrackLength(filename);
14 
15      // If we don't have title and artist or don't have the length return NULL
16!     //if ((title.isEmpty() && artist.isEmpty()) || length<=0)
17!     if (length<=0)
18          return NULL;
19 
20      Metadata *retdata = new Metadata(filename, artist, compilation_artist, album,