I was just experimenting with scanning a folder of FLAC files with no
tags, and no guess tags formats. When this case is encountered, the
scanner uses the filename as the track title. It choked on this file:
09 Corazon Espinado (Featuring Maná).flac
Code:
--------------------
[09-11-03 23:55:56.3888] Slim::Utils::Scanner::scanDirectory (333) Scanning:
F:\Flac Test1\Santana\Supernatural\07 Maria Maria.flac
[09-11-03 23:55:56.4129] Slim::Utils::Scanner::scanDirectory (333) Scanning:
F:\Flac Test1\Santana\Supernatural\08 Migra.flac
[09-11-03 23:55:56.4392] Slim::Utils::Scanner::scanDirectory (333) Scanning:
F:\Flac Test1\Santana\Supernatural\09 Corazon Espinado (Featuring Maná).flac
[09-11-03 23:55:56.4456] Slim::Schema::Storage::throw_exception (82) Error:
DBI Exception: DBD::mysql::st execute failed: Incorrect string value: '\xC1'
for column 'titlesort' at row 1 [for Statement "INSERT INTO tracks
(bitrate,audio_offset,drm,audio_size,vbr_scale,remote,samplesize,audio,titlesort,timestamp,url,lossless,channels,samplerate,secs,filesize,content_type,titlesearch,title,year)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"]
[09-11-03 23:55:56.4463] Slim::Schema::Storage::throw_exception (82)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (C:/Program Files/Squeezebox Server
7.5 Trunk/server/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception (C:\Program Files\Squeezebox
Server 7.5 Trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 957)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (C:/Program Files/Squeezebox
Server 7.5 Trunk/server/Slim/Schema.pm line 1000)
frame 3: Slim::Schema::newTrack (C:/Program Files/Squeezebox Server 7.5
Trunk/server/Slim/Utils/Scanner.pm line 347)
frame 4: Slim::Utils::Scanner::scanDirectory (C:/Program Files/Squeezebox
Server 7.5 Trunk/server/Slim/Music/MusicFolderScan.pm line 79)
frame 5: Slim::Music::MusicFolderScan::startScan (C:/Program Files/Squeezebox
Server 7.5 Trunk/server/Slim/Music/Import.pm line 568)
frame 6: Slim::Music::Import::runImporter (C:/Program Files/Squeezebox Server
7.5 Trunk/server/Slim/Music/Import.pm line 373)
frame 7: Slim::Music::Import::runScan (C:/Program Files/Squeezebox Server 7.5
Trunk/server/scanner.pl line 305)
frame 8: (eval) (C:/Program Files/Squeezebox Server 7.5
Trunk/server/scanner.pl line 299)
frame 9: main::main (C:/Program Files/Squeezebox Server 7.5
Trunk/server/scanner.pl line 454)
[09-11-03 23:55:56.4475] main::main (311) Error: Failed when running main
scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::st execute failed:
Incorrect string value: '\xC1' for column 'titlesort' at row 1 [for Statement
"INSERT INTO tracks
(bitrate,audio_offset,drm,audio_size,vbr_scale,remote,samplesize,audio,titlesort,timestamp,url,lossless,channels,samplerate,secs,filesize,content_type,titlesearch,title,year)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"] at C:/Program
Files/Squeezebox Server 7.5 Trunk/server/Slim/Schema/Storage.pm line 86
]
[09-11-03 23:55:56.4481] main::main (312) Error: Skipping post-process & Not
updating lastRescanTime!
--------------------
--
JJZolx
Jim
------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=70929
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta