Bug 17397 - Scanner in 7.6.0 crashes with mp2/cue files
: Scanner in 7.6.0 crashes with mp2/cue files
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.6.0
: PC Windows 7
: -- critical (vote)
: 7.6.1
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-03 11:26 UTC by John Booth
Modified: 2011-08-12 09:33 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Booth 2011-08-03 11:26:59 UTC
The scanner in 7.6.0 crashes when it encounters a cue file referring to an mp2 file. (The scanner scans mp2 files, it is just a cue file that makes it crash.)

There has never been a problem before 7.6.0 (the last version I used prior to 7.6.0 was 7.5.4).

A simple example is:

PERFORMER "BBC Philh, Gamba"
TITLE "Arnold - Symph No 4 - Gamba 06-10-19"
FILE "Arnold Symph No 4 AftP 06-10-19.mp2" MP2
  TRACK 01 AUDIO
    TITLE "Arnold - Symphony No 4"
    INDEX 01 00:00:00

This is the scanner.log when doing a "Clear library and rescan everything" when there was just one mp2 file and one cue file in the specified Music Folder:

[11-08-03 19:00:21.2238] main::main (196) Starting Squeezebox Server scanner (v7.6.0, r32854, Mon Jul 25 10:21:12 PDT 2011) perl 5.010000
[11-08-03 19:00:27.3053] Slim::Music::Import::runImporter (460) Starting Slim::Music::MusicFolderScan scan
[11-08-03 19:00:27.3058] Slim::Utils::Scanner::Local::rescan (163) Discovering files in F:\Music_Files_Temp
[11-08-03 19:00:27.3211] Slim::Utils::Scanner::Local::__ANON__ (235) Removing deleted files (0)
[11-08-03 19:00:27.3215] Slim::Utils::Scanner::Local::__ANON__ (291) Scanning new files (2)
[11-08-03 19:00:27.3272] Slim::Utils::Scanner::Local::new (715) Handling new playlist file:///F:/Music_Files_Temp/Arnold%20Symph%20No%204%20AftP%2006-10-19.cue
[11-08-03 19:00:28.2492] Audio::Scan::scan_fh (81) Warning: The Audio::Scan::scan_fh() filter passing method is deprecated, please pass a hashref instead.
[11-08-03 19:00:28.5239] MP3::Cut::Gapless::_init (98) Warning: Error: Unable to read at least 10 bytes from file.
Comment 1 SVN Bot 2011-08-12 09:33:33 UTC
 == Auto-comment from SVN commit #33070 to the slim repo by agrundman ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33070 ==

Fixed bug 17397, avoid using mp3cut with mp2 files