Bugzilla – Bug 1604
Problems with "Guess Tags"
Last modified: 2009-09-08 09:18:04 UTC
"Guess Tags" is working poorly for me. At present, I have 1191 WAV files, 454 MP3 files, 70 FLAC files and 4 WMA files. Generally these are stored as ARTIST\ALBUM\TRACKNUM TITLE. The WAV files were tagged by EAC, and the FLAC files by FLAC Front End. My music library is \\servername\Music. I have a few untagged WAV files that are songs by some friends of mine, and I can't get SlimServer to get the names right. Those files are missing TRACKNUM, but a line in my Guess Tags format handles that (ARTIST\ALBUM\TITLE). The problem is that Slimserver is treating "servername" as the artist name and "Music" as the album name. This means that all tracks have the actual artist name for the title. (In fact, I have also found that stray MP3s that lack artist or album tags being treated the same way.) Shouldn't SlimServer look at the entire file name (e.g. \\servername\Music\Beatles\Help\Another Girl.wav) and start from the end and work backward? At any rate, it should ignore the music library path if it's at the beginning of the file name. I tried JJZolx' suggestion of prepending my "Guess Tags" formats with two placeholders (e.g. "CT\GENRE\") to trick SlimServer into thinking that "servername" should be interpreted as content type, and "Music" should be interpreted as Genre, but that screwed up my entire library; I had fewer than half the songs as before, and my friends' songs (via browse by Artist) showed up as "0 albums with 4 songs by 1 artist", which is the right number of songs, but they were inaccessible. Further investigation showed other artists with the right number of songs, but the wrong number of albums. Songs on missing albums were inaccessible. My guess is that the total number of songs reported was the sum of those on accessible albums. The big question is, why is SlimServer bothering with the Guess Tags formats for tagged music?
GuessTags is only used when tags are not found for a track. please include --d_info logs showing the relevant sections for the songs that are problematic for you.
Created attachment 522 [details] d_info log output Here is the d_info log output (wow, talk about bringing the server to its knees when that's enabled!). There are three sections: the WAV tracks that are being "tagged" incorrectly, a WAV track that's working properly, and an MP3 track with no title or artist tags that is being "tagged" incorrectly. By the way, I mistakenly indicated that most of my WAV files were tagged by EAC; in fact, only a handful of albums are (those that I tagged deliberately), and I was careless in making the assumption that EAC puts them there when ripping. This explains the missing tracks when I prepended the formats with CT\GENRE\ (though why the track counts by artist were correct remains a mystery).
Comment on attachment 522 [details] d_info log output ---- Section 1 - WAV files with incorrect tag guessing --------------------------------------------------------------------- 2005-05-24 17:16:22.2132 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry to \\Gateway400\MUSIC\Dancing With Henry 2005-05-24 17:16:22.2346 dir file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3189 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3197 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3203 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3218 Info: no title found, calculating title from url for file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3226 Plain title for: file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3241 is Dancing With Henry 2005-05-24 17:16:22.3579 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry : TITLE to Dancing With Henry 2005-05-24 17:16:22.3587 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry : TAG to 1 2005-05-24 17:16:22.3592 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry : CT to dir 2005-05-24 17:16:22.3595 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry : TITLESORT to DANCING WITH HENRY 2005-05-24 17:16:22.3775 cached an 1 item playlist for file:////Gateway400/MUSIC/Dancing%20With%20Henry 2005-05-24 17:16:22.3844 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts 2005-05-24 17:16:22.4082 dir file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:22.5369 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:22.5377 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:22.5382 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:22.5398 Info: no title found, calculating title from url for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:24.9604 Plain title for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:24.9621 is Tuna Melts 2005-05-24 17:16:24.9637 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts : TITLE to Tuna Melts 2005-05-24 17:16:24.9645 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts : TAG to 1 2005-05-24 17:16:24.9650 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts : CT to dir 2005-05-24 17:16:24.9653 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts : TITLESORT to TUNA MELTS 2005-05-24 17:16:25.9967 cached an 5 item playlist for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts 2005-05-24 17:16:25.9982 DBI: Periodic commit - 28 dirty items 2005-05-24 17:16:25.0005 forceCommit: syncing to the database. 2005-05-24 17:16:25.7874 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Don't Have to Worry (edited).wav 2005-05-24 17:16:25.7999 wav file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.8059 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.8066 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.8072 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.9555 Info: no title found, using plain title for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.9564 Guessing tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav 2005-05-24 17:16:25.9581 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:16:25.9590 Using format "ARTIST/ALBUM/TITLE" = /([^\/]+)/([^\/]+)/([^\/]+)/... 2005-05-24 17:16:25.9599 Format string ARTIST/ALBUM/TITLE matched //Gateway400/MUSIC/Dancing With Henry/Tuna Melts/Don't Have to Worry (edited) 2005-05-24 17:16:25.9605 ARTIST => Gateway400 2005-05-24 17:16:25.9609 ALBUM => MUSIC 2005-05-24 17:16:25.9612 TITLE => Dancing With Henry 2005-05-24 17:16:25.9857 isFile(\\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Don't Have to Worry (edited).wav) == 1 2005-05-24 17:16:25.9981 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : SIZE to 32840744 2005-05-24 17:16:26.9988 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : TAG to 1 2005-05-24 17:16:26.9993 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : FS to 32840862 2005-05-24 17:16:26.9997 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : OFFSET to 44 2005-05-24 17:16:26.0000 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : CHANNELS to 2 2005-05-24 17:16:26.0004 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : BLOCKALIGN to 4 2005-05-24 17:16:26.0007 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : TITLESORT to DANCING WITH HENRY 2005-05-24 17:16:26.0010 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : SECS to 186.17201814059 2005-05-24 17:16:26.0014 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : CT to wav 2005-05-24 17:16:26.0017 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : SAMPLESIZE to 16 2005-05-24 17:16:27.0333 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : ENDIAN to 0 2005-05-24 17:16:27.0340 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : TITLE to Dancing With Henry 2005-05-24 17:16:27.0343 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : AGE to 1037916088 2005-05-24 17:16:27.0348 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry%20(edited).wav : BITRATE to 1411200 2005-05-24 17:16:27.1724 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/cover.jpg to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\cover.jpg 2005-05-24 17:16:27.1861 jpg file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/cover.jpg 2005-05-24 17:16:27.4225 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Don't Have to Worry.wav 2005-05-24 17:16:27.4470 wav file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.4529 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.4536 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.4542 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.5541 Info: no title found, using plain title for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.5549 Guessing tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav 2005-05-24 17:16:27.5566 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:16:27.5578 Using format "ARTIST/ALBUM/TITLE" = /([^\/]+)/([^\/]+)/([^\/]+)/... 2005-05-24 17:16:27.5586 Format string ARTIST/ALBUM/TITLE matched //Gateway400/MUSIC/Dancing With Henry/Tuna Melts/Don't Have to Worry 2005-05-24 17:16:27.5592 ARTIST => Gateway400 2005-05-24 17:16:27.5596 ALBUM => MUSIC 2005-05-24 17:16:27.5599 TITLE => Dancing With Henry 2005-05-24 17:16:27.5820 isFile(\\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Don't Have to Worry.wav) == 1 2005-05-24 17:16:27.5946 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : SIZE to 36434056 2005-05-24 17:16:27.5954 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : TAG to 1 2005-05-24 17:16:27.5958 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : FS to 36434174 2005-05-24 17:16:27.5961 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : OFFSET to 44 2005-05-24 17:16:27.5965 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : CHANNELS to 2 2005-05-24 17:16:27.5968 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : BLOCKALIGN to 4 2005-05-24 17:16:27.5971 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : TITLESORT to DANCING WITH HENRY 2005-05-24 17:16:27.5975 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : SECS to 206.542267573696 2005-05-24 17:16:27.5979 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : CT to wav 2005-05-24 17:16:27.5982 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : SAMPLESIZE to 16 2005-05-24 17:16:27.5986 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : ENDIAN to 0 2005-05-24 17:16:29.2866 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : TITLE to Dancing With Henry 2005-05-24 17:16:29.2871 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : AGE to 1037910604 2005-05-24 17:16:29.2875 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Don%27t%20Have%20 to%20Worry.wav : BITRATE to 1411200 2005-05-24 17:16:29.3392 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Rest Of the World.wav 2005-05-24 17:16:29.3565 wav file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.3626 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.3634 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.3640 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.4805 Info: no title found, using plain title for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.4814 Guessing tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav 2005-05-24 17:16:29.4830 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:16:29.4841 Using format "ARTIST/ALBUM/TITLE" = /([^\/]+)/([^\/]+)/([^\/]+)/... 2005-05-24 17:16:29.4853 Format string ARTIST/ALBUM/TITLE matched //Gateway400/MUSIC/Dancing With Henry/Tuna Melts/Rest Of the World 2005-05-24 17:16:29.4859 ARTIST => Gateway400 2005-05-24 17:16:29.4862 ALBUM => MUSIC 2005-05-24 17:16:29.4867 TITLE => Dancing With Henry 2005-05-24 17:16:29.5117 isFile(\\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Rest Of the World.wav) == 1 2005-05-24 17:16:29.5256 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : SIZE to 30174236 2005-05-24 17:16:29.5264 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : TAG to 1 2005-05-24 17:16:29.5269 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : FS to 30174354 2005-05-24 17:16:29.5272 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : OFFSET to 44 2005-05-24 17:16:29.5277 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : CHANNELS to 2 2005-05-24 17:16:29.5283 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : BLOCKALIGN to 4 2005-05-24 17:16:29.5288 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : TITLESORT to DANCING WITH HENRY 2005-05-24 17:16:29.5291 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : SECS to 171.055759637188 2005-05-24 17:16:29.5295 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : CT to wav 2005-05-24 17:16:29.5299 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : SAMPLESIZE to 16 2005-05-24 17:16:29.5303 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : ENDIAN to 0 2005-05-24 17:16:29.5309 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : TITLE to Dancing With Henry 2005-05-24 17:16:29.5312 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : AGE to 1037913864 2005-05-24 17:16:29.5316 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Rest%20Of%20the%2 0World.wav : BITRATE to 1411200 2005-05-24 17:16:29.5846 Converting file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav to \\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Waiting On Monday.wav 2005-05-24 17:16:31.4998 wav file type for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.5058 New track for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.5068 readTag was 1 for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.5073 reading tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.6274 Info: no title found, using plain title for file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.6282 Guessing tags for: file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav 2005-05-24 17:16:31.6300 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:16:31.6311 Using format "ARTIST/ALBUM/TITLE" = /([^\/]+)/([^\/]+)/([^\/]+)/... 2005-05-24 17:16:31.6320 Format string ARTIST/ALBUM/TITLE matched //Gateway400/MUSIC/Dancing With Henry/Tuna Melts/Waiting On Monday 2005-05-24 17:16:31.6325 ARTIST => Gateway400 2005-05-24 17:16:31.6329 ALBUM => MUSIC 2005-05-24 17:16:31.6333 TITLE => Dancing With Henry 2005-05-24 17:16:31.6566 isFile(\\Gateway400\MUSIC\Dancing With Henry\Tuna Melts\Waiting On Monday.wav) == 1 2005-05-24 17:16:31.6702 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : SIZE to 37415520 2005-05-24 17:16:31.6711 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : TAG to 1 2005-05-24 17:16:31.6715 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : FS to 37415638 2005-05-24 17:16:31.6718 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : OFFSET to 44 2005-05-24 17:16:31.6721 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : CHANNELS to 2 2005-05-24 17:16:31.6724 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : BLOCKALIGN to 4 2005-05-24 17:16:31.6727 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : TITLESORT to DANCING WITH HENRY 2005-05-24 17:16:31.6731 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : SECS to 212.10612244898 2005-05-24 17:16:31.6734 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : CT to wav 2005-05-24 17:16:31.6737 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : SAMPLESIZE to 16 2005-05-24 17:16:31.6741 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : ENDIAN to 0 2005-05-24 17:16:31.6744 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : TITLE to Dancing With Henry 2005-05-24 17:16:31.6747 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : AGE to 1037914674 2005-05-24 17:16:31.6751 Adding file:////Gateway400/MUSIC/Dancing%20With%20Henry/Tuna%20Melts/Waiting%20On%20Mo nday.wav : BITRATE to 1411200 ---- Section 2 - WAV files with correct tag guessing --------------------------------------------------------------------- 2005-05-24 17:28:27.0770 Converting file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s to \\Gateway400\MUSIC\Fountains Of Wayne\Welcome Interstate Managers 2005-05-24 17:28:29.6023 dir file type for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9050 New track for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9057 readTag was 1 for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9062 reading tags for: file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9077 Info: no title found, calculating title from url for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9086 Plain title for: file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:29.9101 is Welcome Interstate Managers 2005-05-24 17:28:29.9116 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s : TITLE to Welcome Interstate Managers 2005-05-24 17:28:29.9124 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s : TAG to 1 2005-05-24 17:28:29.9128 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s : CT to dir 2005-05-24 17:28:29.9132 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s : TITLESORT to WELCOME INTERSTATE MANAGERS 2005-05-24 17:28:30.0445 cached an 17 item playlist for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s 2005-05-24 17:28:30.0512 Converting file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav to \\Gateway400\MUSIC\Fountains Of Wayne\Welcome Interstate Managers\01 Mexican Wine.wav 2005-05-24 17:28:30.0659 wav file type for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.0717 New track for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.0725 readTag was 1 for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.0730 reading tags for: file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.1932 Info: no title found, using plain title for file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.1940 Guessing tags for: file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav 2005-05-24 17:28:30.1958 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:28:30.1966 Format string ARTIST/ALBUM/TRACKNUM TITLE matched //Gateway400/MUSIC/Fountains Of Wayne/Welcome Interstate Managers/01 Mexican Wine 2005-05-24 17:28:30.1972 ARTIST => Fountains Of Wayne 2005-05-24 17:28:30.1975 ALBUM => Welcome Interstate Managers 2005-05-24 17:28:30.1979 TRACKNUM => 01 2005-05-24 17:28:30.1983 TITLE => Mexican Wine 2005-05-24 17:28:30.2227 isFile(\\Gateway400\MUSIC\Fountains Of Wayne\Welcome Interstate Managers\01 Mexican Wine.wav) == 1 2005-05-24 17:28:30.2365 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : SIZE to 35689248 2005-05-24 17:28:30.2372 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : TAG to 1 2005-05-24 17:28:30.2376 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : FS to 35689292 2005-05-24 17:28:30.2380 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : OFFSET to 44 2005-05-24 17:28:30.2383 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : CHANNELS to 2 2005-05-24 17:28:30.2386 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : BLOCKALIGN to 4 2005-05-24 17:28:32.9872 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : TITLESORT to MEXICAN WINE 2005-05-24 17:28:32.9879 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : SECS to 202.32 2005-05-24 17:28:32.9882 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : CT to wav 2005-05-24 17:28:32.9887 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : TRACKNUM to 1 2005-05-24 17:28:32.9891 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : SAMPLESIZE to 16 2005-05-24 17:28:32.9894 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : ENDIAN to 0 2005-05-24 17:28:32.9898 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : TITLE to Mexican Wine 2005-05-24 17:28:32.9901 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : AGE to 1108669250 2005-05-24 17:28:32.9904 Adding file:////Gateway400/MUSIC/Fountains%20Of%20Wayne/Welcome%20Interstate%20Manager s/01%20Mexican%20Wine.wav : BITRATE to 1411200 ---- Section 3 - MP3 files with incorrect tag guessing --------------------------------------------------------------------- 2005-05-24 17:52:21.7368 Converting file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 to \\Gateway400\MUSIC\Miscellaneous\Extreme - Hole Hearted.mp3 2005-05-24 17:52:21.7501 mp3 file type for file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:21.7559 New track for file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:21.7566 readTag was 1 for file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:21.7572 reading tags for: file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:26.2381 Info: no title found, using plain title for file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:26.2389 Guessing tags for: file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 2005-05-24 17:52:26.2406 Using format "ARTIST/ALBUM/TRACKNUM TITLE" = /([^\/]+)/([^\/]+)/(\d+) ([^\/]+)/... 2005-05-24 17:52:26.2417 Using format "ARTIST/ALBUM/TITLE" = /([^\/]+)/([^\/]+)/([^\/]+)/... 2005-05-24 17:52:26.2425 Format string ARTIST/ALBUM/TITLE matched //Gateway400/MUSIC/Miscellaneous/Extreme - Hole Hearted 2005-05-24 17:52:26.2431 ARTIST => Gateway400 2005-05-24 17:52:26.2435 ALBUM => MUSIC 2005-05-24 17:52:26.2438 TITLE => Miscellaneous 2005-05-24 17:52:26.2676 isFile(\\Gateway400\MUSIC\Miscellaneous\Extreme - Hole Hearted.mp3) == 1 2005-05-24 17:52:26.2839 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : TAG to 1 2005-05-24 17:52:26.2848 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : BLOCKALIGN to 1 2005-05-24 17:52:26.2852 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : TITLESORT to MISCELLANEOUS 2005-05-24 17:52:26.2855 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : TITLE to Miscellaneous 2005-05-24 17:52:26.2860 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : SIZE to 3511693 2005-05-24 17:52:26.2864 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : OFFSET to 256 2005-05-24 17:52:26.2868 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : YEAR to 2005-05-24 17:52:26.2871 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : FS to 3512495 2005-05-24 17:52:26.2874 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : SECS to 219.5069375 2005-05-24 17:52:26.2878 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : CT to mp3 2005-05-24 17:52:26.2882 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : TAGVERSION to ID3v1 / ID3v2.3.0 2005-05-24 17:52:26.2885 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : AGE to 1086457860 2005-05-24 17:52:26.2890 Adding file:////Gateway400/MUSIC/Miscellaneous/Extreme%20-%20Hole%20Hearted.mp3 : BITRATE to 128000
Created attachment 523 [details] d_info log output (corrected) Sorry about the last two posts. Saved the wrong session of Notepad (attachment 522 [details]), then believed Bugzilla when it implied that I could edit the attachment, hence the lengthy and unreadable comments in my last post. Here's the output I meant to attach.
*** Bug 1605 has been marked as a duplicate of this bug. ***
I see one mp3 file that the server reports as having no readable tags. might want to check that one with a tag editor to confirm the id3 tags are present or not. As for the WAV files, it looks like it may be due to unc paths. I think that guessTags might benefit from being forced to match with end of line instead of anywhere in the string. However, that may still be problematic for those who might have some strange tree structure that doesn't have useful info at the filename level. However, given the patterns that the server is trying to match, they are matching correctly for the paths given. in the case of: //Gateway400/MUSIC/Miscellaneous/Extreme - Hole Hearted this should work better if you have a pattern set for: GENRE/ARTIST - TITLE but as in your log, it will also match ARTIST/ALBUM/TITLE since it IS a valid regex match. it looks like guessTags will handle regex characters, so you could try adding ^ at the end of your guessTags formats so that they are forced to match from end of line, instead of the start. Also, make sure you have the format settings in the right order to get the more specific matches first. The server will take the first valid match, not the best of all matches.
As an experiment, I changed the name of the path that pertained to the album name for the problem WAV files to "3 Amigos", which matches the last section of my first Guess Tags format. After wiping, all of the tracks in that folder now had the album name as the track name, and the artist name as the album name. I don't see how there is any alternative to using the end of the name. The way it is now, the user can't predict how the formats will match without knowing which part of the filename will be used. Furthermore, using any part of the Music Folder path is flat-out wrong. That part of the file name should be ignored. If the "Guess Tags" instructions were complete, they would mention that if the pattern occurs _anywhere_ in the file name, including the music folder path, it is considered a match. Frankly, as someone who designs user interfaces for a living, I'd be embarrassed to have to include such a qualification. Surely, the odds are infinitesimal that anyone would be adversely affected by changing SlimServer to use the end of the name. It's hard to imagine a naming scheme in which the file name itself contains no useful information; that would imply that each track has its own folder. By the way, I only included the log for the MP3 file to show that it behaved similarly with incompletely tagged MP3s; the song is a stray file that I downloaded long ago and won't be part of my permanent library, which will eventually all be FLAC. Here's a question: Are tagged files inherently quicker to scan? I assume so, in which case it makes a good argument for making sure all files are tagged.
hard to believe, but entirely possible. I've seen a description of a file system early on that used some sort of datecode as a filename and the only descriptives were in the path. The idea of GuessTags is pattern matching. What you have is a match that isn't exactly right for you. They are also a GUESS and are never expected to be perfect, unless you have perfectly consistent naming that matches the right pattern perfectly. Tags are not inherently faster (save for avoiding the failure on tags followed by guessing). good tags, however, are more accurate sicne the server just takes the tags, and does not rely on pattern matching. Best bet for wav files is to come up with a consistent path/filename construction and create a specific pattern to fit. adding '.wav' to the end of the pattern may even be valid. i've never really tested. This is the downside of using regular expressions for matching. They are powerful, but while simple to some, they require extremely detailed descriptions for those who are not already familiar.
Actually the best way to deal with Wav files is to encode them to FLAC and use a proper tagging system.
If anyone is using such a peculiar naming convention, perhaps their Guess Tags formats should have a slash at the end, meaning the pattern isn't (necessarily) at the end of the name. Conversely, allow an "end of name" indicator (e.g. {end}) in the patterns to force SlimServer to use a fixed point of reference. (I tried adding .wav or .EXT to the end of the patterns, but that makes a hash of things; all tracks with no period in the name wind up under No Artist/No Album.) As I've said in the forum, this is a temporary situation; everything will eventually be in FLAC. I'm still ripping, and so I have a mix of formats, and when this cropped up I thought I'd bring it to your attention to prevent others from encountering the same confusion.
changing line 807 if Info.pm to this: $pat = qr/$pat$/; will force the match to work from end of line. At the end of they day, this is only 'GUESS tags', so it is never intended to be perfect or complete. It will always rely on having as much info embedded in the file/path name as possible.
We're not going to have time for this for 6.2
I was just using tag.exe, which comes with Flac Frontend, and this correctly interprets the names of the files that caused problems with SlimServer (that is, it appears to work backwards from the end of the file name). Since "Guess Tags" _does_not_ work if an artist (3 Doors Down) or album (99 Luftballons) has a number at the beginning of the name when the file names are TRACKNUM TITLE.wav, and since such a situation is far more likely than some (frankly, cockamamie) scheme in which the track names are not at the end, and since KDF's tweak in comment #11 is a one-liner, why not make the change? It may be only "Guess Tags" at the end of the day, but it's worth getting it right, no?
*** Bug 4489 has been marked as a duplicate of this bug. ***
think I'm going to make a leap and work this into 6.5.3 timeline as it really is a stupid slip and easily improved.
*** Bug 4568 has been marked as a duplicate of this bug. ***
proposed patch committed to trunk at change 12084 and to 6.5.3 at change 12085 Hopefully this can make guesstags do work more inline with what users are expecting. Chris, something for guesstags should probably work it's way into the spec/tests if they are not already. Please reopen if there are any continuing problems.
It seems like a prime candidate to add to our automated test suite, since I dare say most nightly or svn users don't use guessed tags.
See also bug 4710