I'm at a disadvantage here because I don't have the background to figure out easily what the Scanner code is doing. What I did was to isolate one album (FLAC and CUESHEET) and tinker with the contents in various ways, looking at the contributors.namesort contents after each rescan.
The bottom line is that if there is an external cuesheet the ARTISTSORT in the flac file is ignored. Delete the cuesheet and it is respected. The weird thing is that this is the case even if I eliminate all PERFORMER references from the cuesheet, i.e. it isn't the PERFORMER tag from the cuesheet superseding the ARTIST/ARTISTSORT in the flac, but rather the ARTIST tag superseding the ARTISTSORT one when a cuesheet is processed. (The album volume adjustment gets populated no matter what, which tells me that the flac file tags are being read to some degree whether or not there is a cuesheet. I surmise that different code reads them when the cuesheet is being processed than when the flac is being processed in absence of a cuesheet.) Scanner logfile snips from scanning with external cuesheet and without below in case someone more knowledgeable might spot something. I guess I should log this as a bug. NO CUESHEET: [08-11-14 11:41:00.8589] Slim::Music::Import::runImporter (489) Starting Slim::Music::MusicFolderScan scan [08-11-14 11:41:00.8600] Slim::Music::MusicFolderScan::startScan (77) Starting music folder scan in F:\foo [08-11-14 11:41:00.8613] Slim::Utils::Scanner::scanDirectory (289) About to look for files in F:\foo [08-11-14 11:41:00.8633] Slim::Utils::Scanner::scanDirectory (290) For files with extensions in: (?i-xsm:\.(?:ape|wma|wv|wav|wave|mp3|mp2|flc|flac|fla|m4a|mov|m4b|mp4|mp+|mpc|ogg|aif|aiff|lnk|cue)$) [08-11-14 11:41:00.8849] Slim::Utils::Scanner::scanDirectory (319) Found 1 files in F:\foo [08-11-14 11:41:00.8973] Slim::Utils::Scanner::scanDirectory (337) Adding file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac to database. [08-11-14 11:41:01.1590] Slim::Music::MusicFolderScan::startScan (86) Finished background scan of music folder. [08-11-14 11:41:01.1597] Slim::Music::Import::endImporter (594) Completed Slim::Music::MusicFolderScan Scan in 0 seconds. WITH CUESHEET: [08-11-14 12:43:36.1803] Slim::Music::MusicFolderScan::startScan (77) Starting music folder scan in F:\foo [08-11-14 12:43:36.1850] Slim::Utils::Scanner::scanDirectory (289) About to look for files in F:\foo [08-11-14 12:43:36.1871] Slim::Utils::Scanner::scanDirectory (290) For files with extensions in: (?i-xsm:\.(?:ape|wma|wv|wav|wave|mp3|mp2|flc|flac|fla|m4a|mov|m4b|mp4|mp+|mpc|ogg|aif|aiff|lnk|cue)$) [08-11-14 12:43:36.2093] Slim::Utils::Scanner::scanDirectory (319) Found 2 files in F:\foo [08-11-14 12:43:36.2243] Slim::Utils::Scanner::scanDirectory (353) Adding playlist file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.cue to database. [08-11-14 12:43:36.2891] Slim::Utils::Scanner::scanPlaylistFileHandle (400) Will scan file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.cue, base: file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes [08-11-14 12:43:37.0513] Slim::Utils::Scanner::scanPlaylistFileHandle (443) Playlist item file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.cue changed from cue to ssp content-type [08-11-14 12:43:37.0585] Slim::Utils::Scanner::scanPlaylistFileHandle (467) Found 7 items in playlist: [08-11-14 12:43:37.0594] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#0.493333333333333-325.226666666667 [08-11-14 12:43:37.0600] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#325.226666666667-727.626666666667 [08-11-14 12:43:37.0607] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#727.626666666667-1063.96 [08-11-14 12:43:37.0614] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#1063.96-1343.06666666667 [08-11-14 12:43:37.0620] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#1343.06666666667-2136.42666666667 [08-11-14 12:43:37.0627] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#2136.42666666667-3052.16 [08-11-14 12:43:37.0633] Slim::Utils::Scanner::scanPlaylistFileHandle (471) file:///F:/foo/Coltrane,%20John/From%20The%20Original%20Master%20Tapes/John%20Coltrane%20-%20From%20The%20Original%20Master%20Tapes.flac#3052.16-3300.21333333333 [08-11-14 12:43:37.0692] Slim::Music::MusicFolderScan::startScan (86) Finished background scan of music folder. [08-11-14 12:43:37.0699] Slim::Music::Import::endImporter (594) Completed Slim::Music::MusicFolderScan Scan in 0 seconds. -- stephenkca ------------------------------------------------------------------------ stephenkca's Profile: http://forums.slimdevices.com/member.php?userid=7820 View this thread: http://forums.slimdevices.com/showthread.php?t=53954 _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
