Bugzilla – Bug 1990
Directory name beginning with numeric causing confusion to library scanning
Last modified: 2009-09-08 09:31:03 UTC
I found a SlimServer anomaly in organizing Albums in the Music Folder. And came up with a workaround. I organized my FLAC files this way: /Lossless/Artistes/Album/{Album content} {Album content} consists of a .cue file, a FLAC file, and cover.jpg belonging to that album. Consider this... /Lossless/Jimmy Abb/28 All Time Favorites Piano Disc 1/ /Lossless/Jimmy Abb/28 All Time Favorites Piano Disc 2/ For some unknown reasons, the library scanning would always end up with 3 albums - ...Disc 1 & ...Disc 2 (correct), and a 3rd empty album called "Jimmy Abb" (incorrect). This is particularly annoying. After some fiddling around I found out that SlimServer does not seem to like album directory names beginning with numeric characters. Therefore I added an underscore preceding the album name as below and it started to work correctly. After the rename, SlimServer recognizes there are two albums, not three. /Lossless/Jimmy Abb/_28 All Time Favorites Piano Disc 1/ /Lossless/Jimmy Abb/_28 All Time Favorites Piano Disc 2/ Could this be a bug?
I'm not seeing this myself, and I've got a few directories starting with a number. have you tried the latest 6.2 or 6.1.2 nightlies to see if this has already been fixed since 6.1.1?
Created attachment 758 [details] Screen capture. Screen capture shows that an empty album with the name of "Jimmy Chan" is created if directory name starts with numberic - "28 All...."
Created attachment 759 [details] Screen capture. Screen capture shows the album list when the numeric chars are removed from directory name - "All...."
Yes. I realized this does not happen to all directory names beginning with numeric. I have attached an example where the problem can be reproduced 100%.
Created attachment 760 [details] cuesheet for disc 1
Created attachment 761 [details] cue sheet for disc 2
Do you have any d_info logs during the scans of these directories? Are your files fully tagged with artist/album/track info? If not, this could be guessTags grabbing the number as a track number, instead of a title. you can also try erasing all of the guesstags formats under server settings->formatting. I know you have CUE sheets, but perhaps those arent' being picked up properly by the scan.
You are absolutely right. It is the doing of the guessTag. I removed all entries in Server Settings -> Formatting -> Guess Tags Formats, did a rescan and everything's a'ok now. I am closing this bug. Thanks very much.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.