PDA

View Full Version : Max. titles per album - is there a limit?



carp
2007-12-07, 10:22
A compilation I recently copied to Slimserver consists of 500 songs (all in FLAC format) which all belong to one album. I used foobar2000 to set the ALBUM tag of all songs to the same album name. Once foobar2000 was done, I initiated a rescan of the music library, choosing "Clear library and rescan everything" to be on the safe side. After the rescan, Slimserver displayed two new albums - one with the album name and 499 songs, another one with the directory name and 1 song.

Slimserver's song info of this one song is also not correct ("Title" contains the file name without the extension, "Artist" is the main directory name, "Album" is the name of the directory which contains all 500 songs), while foobar2000 (and "The Godfather", too) shows the correct tags.

Is there a limit on how many songs can be within one album?

Version info:

SlimServer Version: 6.5.4 - 12568 - Debian - EN - iso-8859-1
Server IP address: 192.168.1.x
Perl Version: 5.8.7 i486-linux-gnu-thread-multi
MySQL Version: 4.1.15-Debian_1ubuntu5

kdf
2007-12-07, 10:52
Quoting carp <carp.318ero1197048302 (AT) no-mx (DOT) forums.slimdevices.com>:


> Is there a limit on how many songs can be within one album?

There is no limit that I'm aware of. What you describe sounds like
the "guess Tags" feature. This is triggered if SlimServer thinks
there is no "title" metadata. There are two things I would consider
first off:

1) Redo the tags for that one song. Make sure you have a good title
tag, erase and retype just to be safe. There is only one song, so
it's not a long process.

2) try the scanner manually with the d_info option and check the log
for what's going on when slimserver gets to that file.

slimserver-scanner --d_info --logfile=/tmp/ss_test.log
--prefsfile=/etc/slimserver/slimserver.pref --wipe /path/to/music

just replace that last bit with the real path to your music. After the
scan, /tmp/ss_test.log will have all of the info that SS gets from the
tracks. Find the problem track and see what it says. If you have
trouble with it, you can post that section here.

-kdf

carp
2007-12-07, 12:53
I changed title and artist of that single track, saved the file and achieved the command line you wrote. This is the result (only the part that applies to the single track mentioned above):

2007-12-07 19:39:27.3385 flc file type for file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 19:39:27.3405
2007-12-07 19:39:27.3418 newTrack(): New Track: [file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac]
2007-12-07 19:39:27.3430 newTrack(): readTags is 1
2007-12-07 19:39:27.3460 flc file type for /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac
2007-12-07 19:39:27.3751 mp3 file type for file:///BOGUS/PATH/DUMMY
2007-12-07 19:39:27.3793 ERROR: Slim::Formats::readTags: While trying to ->getTag(/mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac) : Can't use an undefined value as a HASH reference at /usr/share/perl5/Slim/Formats/FLAC.pm line 848.


2007-12-07 19:39:27.3817 Backtrace:

frame 0: Slim::Formats::readTags (/usr/share/perl5/Slim/Schema.pm line 787)
frame 1: Slim::Schema::newTrack (/usr/share/perl5/Slim/Utils/Scanner.pm line 322)
frame 2: Slim::Utils::Scanner::scanDirectory (/usr/share/perl5/Slim/Utils/Scanner.pm line 90)
frame 3: Slim::Utils::Scanner::scanPathOrURL (/usr/sbin/slimserver-scanner line 171)
frame 4: (eval) (/usr/sbin/slimserver-scanner line 171)
frame 5: main::main (/usr/sbin/slimserver-scanner line 314)

2007-12-07 19:39:27.3830 Slim::Formats::readTags: No tags found for /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac
2007-12-07 19:39:27.3842 Info: no title found, using plain title for file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 19:39:27.3854 Guessing tags for: file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 19:39:27.3872 Using format "(ARTIST - ALBUM) TRACKNUM - TITLE" = /\(([^\/]+) - ([^\/]+)\) (\d+) - ([^\/]+)/...
2007-12-07 19:39:27.3890 Using format "/ARTIST/ALBUM/TRACKNUM - TITLE" = //([^\/]+)/([^\/]+)/(\d+) - ([^\/]+)/...
2007-12-07 19:39:27.3905 Format string /ARTIST/ALBUM/TRACKNUM - TITLE matched /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966)
2007-12-07 19:39:27.3922 ARTIST => Rolling Stone Top 500
2007-12-07 19:39:27.3937 ALBUM => Songs
2007-12-07 19:39:27.3949 TRACKNUM => 175
2007-12-07 19:39:27.3962 TITLE => The Bobby Fuller Four - I Fought The Law (1966)
2007-12-07 19:39:27.5547 newTrack(): Created track 'The Bobby Fuller Four - I Fought The Law (1966)' (id: [175])
2007-12-07 19:39:27.5571 -- Track is a local track
2007-12-07 19:39:27.5912 -- Created NO GENRE (id: [15])
2007-12-07 19:39:27.5942 -- Track has no genre
2007-12-07 19:39:27.6225 -- Track has contributor 'Rolling Stone Top 500' of role 'ARTIST'
2007-12-07 19:39:27.6244 -- Track has 1 contributor(s)
2007-12-07 19:39:27.6264 -- Track primary contributor is 'Rolling Stone Top 500' (id: [207])
2007-12-07 19:39:27.6280 -- Checking for discs
2007-12-07 19:39:27.6507 -- Searching for an album with:
2007-12-07 19:39:27.6535 --- tracks.url : {
like => "file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs%",
}
2007-12-07 19:39:27.6553 --- me.disc : undef
2007-12-07 19:39:27.6576 --- me.title : "Songs"
2007-12-07 19:39:27.6590 --- me.discc : undef
2007-12-07 19:39:27.6667 -- Created album 'Songs' (id: [2])
2007-12-07 19:39:27.6780 -- Updating album 'Songs' (id: [2]) with columns:
2007-12-07 19:39:27.6794 --- titlesort : SONGS
2007-12-07 19:39:27.6806 --- titlesearch : SONGS
2007-12-07 19:39:27.6819 --- year : 0
2007-12-07 19:39:27.6830 --- contributor : 207
2007-12-07 19:39:27.6869 -- Track has album 'Songs' (id: [2])
2007-12-07 19:39:27.7043 -- Contributor 'Rolling Stone Top 500' (id: [207]) linked to album 'Songs' (id: [2]) with role: 'ARTIST'

To me it seems as if an 'undefined value' exists in one of the tags of the file. Any chance to find and fix this?

kdf
2007-12-07, 13:32
Quoting carp <carp.318lpn1197057301 (AT) no-mx (DOT) forums.slimdevices.com>:


> To me it seems as if an 'undefined value' exists in one of the tags of
> the file. Any chance to find and fix this?

This seems to show that the tag data block isn't being returned.
the d_parse option will show more detail around that specific error.

Are you using a CUEsheet in this folder? Embedded CUE in the file maybe?

-kdf

carp
2007-12-07, 13:53
This seems to show that the tag data block isn't being returned.
the d_parse option will show more detail around that specific error.

Do I just have to add "--d_parse" to the command line?


Are you using a CUEsheet in this folder? Embedded CUE in the file maybe?

No CUEsheet, but the file seems to have an embedded CUE, in opposite to the other files. As I do not know what purpose an embedded CUE serves, how do I remove it? foobar2000 lets me edit it, but I found no option to remove it.

kdf
2007-12-07, 14:03
On 7-Dec-07, at 12:53 PM, carp wrote:

>
> kdf;247577 Wrote:
>> This seems to show that the tag data block isn't being returned.
>> the d_parse option will show more detail around that specific error.
>
> Do I just have to add "--d_parse" to the command line?

yes, that's correct. it will go into more detail of extracting each
tag.

>
> kdf;247577 Wrote:
>> Are you using a CUEsheet in this folder? Embedded CUE in the file
>> maybe?
>
> No CUEsheet, but the file seems to have an embedded CUE, in
> opposite to
> the other files. As I do not know what purpose an embedded CUE serves,
> how do I remove it? foobar2000 lets me edit it, but I found no option
> to remove it.
>
I'm not sure. I never use them myself. Perhaps there is an option
to remove all vorbis tag data?
or try to erase all the data in there when you edit. That might
automatically remove the empty block.

Before you do that, however, it would be nice to get a snap of the
log with d_parse. We can file that
as a bug report and make sure cases like it won't cause the scanner
to crash. If the file isn't too large, we could use a
copy of the file with the embedded cue as is for later reference.

-kdf

carp
2007-12-07, 14:16
Okay, here is the result of the command line, extended with the "--d_parse" option:

2007-12-07 22:08:31.8760 flc file type for file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 22:08:31.8780
2007-12-07 22:08:31.8792 newTrack(): New Track: [file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac]
2007-12-07 22:08:31.8803 newTrack(): readTags is 1
2007-12-07 22:08:31.8831 flc file type for /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac
2007-12-07 22:08:31.9039 parseCUE: baseDir: [/mnt/hda_1/flac/R/Rolling Stone Top 500/Songs]
2007-12-07 22:08:31.9086 parseCUE: baseDir: [/BOGUS/PATH/]
2007-12-07 22:08:31.9146 URL: file:///BOGUS/PATH/DUMMY#0-138.28
2007-12-07 22:08:31.9164 mp3 file type for file:///BOGUS/PATH/DUMMY
2007-12-07 22:08:31.9176 TRACKNUM: 1
2007-12-07 22:08:31.9189 TITLE: I Fought The Law
2007-12-07 22:08:31.9201 REPLAYGAIN_TRACK_PEAK: 0.988647
2007-12-07 22:08:31.9211 REPLAYGAIN_TRACK_GAIN: -8.35
2007-12-07 22:08:31.9223 ARTIST: The Bobby Fuller Four
2007-12-07 22:08:31.9235 ALBUM: Rolling Stone Magazine's 500 Greatest Songs Of All Time
2007-12-07 22:08:31.9245 YEAR: 1966
2007-12-07 22:08:31.9254 GENRE: Rock
2007-12-07 22:08:31.9266 REPLAYGAIN_ALBUM_GAIN: -7.91
2007-12-07 22:08:31.9277 REPLAYGAIN_ALBUM_PEAK: 1.000000
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Slim/Formats/FLAC.pm line 740.
2007-12-07 22:08:31.9292 No metadata found for track
2007-12-07 22:08:31.9309 ALLMUSICURL: http://www.allmusic.com/cg/amg.dll?p=amg&sql=33:hxfuxx8aldke
2007-12-07 22:08:31.9322 COMPOSER: Sonny Curtis, Bobby Fuller
2007-12-07 22:08:31.9334 LABEL: Mustang
2007-12-07 22:08:31.9346 LYRICSURL: http://www.metrolyrics.com/lyrics/81148/Bobby_Fuller_Four/I_Fought_The_Law
2007-12-07 22:08:31.9358 ORIGALBUM: I Fought The Law
2007-12-07 22:08:31.9370 ORIGYEAR: 1966
2007-12-07 22:08:31.9380 PRODUCER: Bob Keane
2007-12-07 22:08:31.9393 REMASTERED: No
2007-12-07 22:08:31.9404 SOURCEALBUM: Revolution Rock: A Clash Jukebox
2007-12-07 22:08:31.9417 SOURCEALBUMURL: http://www.amazon.com/Revolution-Rock-Jukebox-Various-Artists/dp/B0002XMF6W/ref=pd_bbs_sr_1/103-2056682-3409420?ie=UTF8&s=music&qid=1174072926&sr=1-1
2007-12-07 22:08:31.9429 TOTALTRACKS: 500
2007-12-07 22:08:31.9441 ALBUM: Rolling Stone Magazine's 500 Greatest Songs Of All Time
2007-12-07 22:08:31.9452 ARTIST: The Bobby Fuller Four (cp)
2007-12-07 22:08:31.9463 COMMENT: http://www.rollingstone.com/news/story/6596020/i_fought_the_law
2007-12-07 22:08:31.9475 GENRE: Rock
2007-12-07 22:08:31.9487 TITLE: I Fought The Law (cp)
2007-12-07 22:08:31.9499 TRACKNUMBER: 175
2007-12-07 22:08:31.9511 DATE: 1966
2007-12-07 22:08:31.9527 ERROR: Slim::Formats::readTags: While trying to ->getTag(/mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac) : Can't use an undefined value as a HASH reference at /usr/share/perl5/Slim/Formats/FLAC.pm line 848.


2007-12-07 22:08:31.9549 Backtrace:

frame 0: Slim::Formats::readTags (/usr/share/perl5/Slim/Schema.pm line 787)
frame 1: Slim::Schema::newTrack (/usr/share/perl5/Slim/Utils/Scanner.pm line 322)
frame 2: Slim::Utils::Scanner::scanDirectory (/usr/share/perl5/Slim/Utils/Scanner.pm line 90)
frame 3: Slim::Utils::Scanner::scanPathOrURL (/usr/sbin/slimserver-scanner line 171)
frame 4: (eval) (/usr/sbin/slimserver-scanner line 171)
frame 5: main::main (/usr/sbin/slimserver-scanner line 314)

2007-12-07 22:08:31.9562 Slim::Formats::readTags: No tags found for /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966).flac
2007-12-07 22:08:31.9573 Info: no title found, using plain title for file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 22:08:31.9585 Guessing tags for: file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs/175%20-%20The%20Bobby%20Fuller%20Four%20-%20I%20Fought%20The%20Law%20(1966).flac
2007-12-07 22:08:31.9604 Using format "(ARTIST - ALBUM) TRACKNUM - TITLE" = /\(([^\/]+) - ([^\/]+)\) (\d+) - ([^\/]+)/...
2007-12-07 22:08:31.9620 Using format "/ARTIST/ALBUM/TRACKNUM - TITLE" = //([^\/]+)/([^\/]+)/(\d+) - ([^\/]+)/...
2007-12-07 22:08:31.9634 Format string /ARTIST/ALBUM/TRACKNUM - TITLE matched /mnt/hda_1/flac/R/Rolling Stone Top 500/Songs/175 - The Bobby Fuller Four - I Fought The Law (1966)
2007-12-07 22:08:31.9650 ARTIST => Rolling Stone Top 500
2007-12-07 22:08:31.9664 ALBUM => Songs
2007-12-07 22:08:31.9675 TRACKNUM => 175
2007-12-07 22:08:31.9689 TITLE => The Bobby Fuller Four - I Fought The Law (1966)
2007-12-07 22:08:32.0827 newTrack(): Created track 'The Bobby Fuller Four - I Fought The Law (1966)' (id: [175])
2007-12-07 22:08:32.0853 -- Track is a local track
2007-12-07 22:08:32.1184 -- Created NO GENRE (id: [15])
2007-12-07 22:08:32.1197 -- Track has no genre
2007-12-07 22:08:32.1487 -- Track has contributor 'Rolling Stone Top 500' of role 'ARTIST'
2007-12-07 22:08:32.1504 -- Track has 1 contributor(s)
2007-12-07 22:08:32.1523 -- Track primary contributor is 'Rolling Stone Top 500' (id: [207])
2007-12-07 22:08:32.1538 -- Checking for discs
2007-12-07 22:08:32.1757 -- Searching for an album with:
2007-12-07 22:08:32.1782 --- tracks.url : {
like => "file:///mnt/hda_1/flac/R/Rolling%20Stone%20Top%20500/Songs%",
}
2007-12-07 22:08:32.1799 --- me.disc : undef
2007-12-07 22:08:32.1821 --- me.title : "Songs"
2007-12-07 22:08:32.1835 --- me.discc : undef
2007-12-07 22:08:32.1922 -- Created album 'Songs' (id: [2])
2007-12-07 22:08:32.2051 -- Updating album 'Songs' (id: [2]) with columns:
2007-12-07 22:08:32.2066 --- titlesort : SONGS
2007-12-07 22:08:32.2077 --- titlesearch : SONGS
2007-12-07 22:08:32.2089 --- year : 0
2007-12-07 22:08:32.2100 --- contributor : 207
2007-12-07 22:08:32.2138 -- Track has album 'Songs' (id: [2])
2007-12-07 22:08:32.2309 -- Contributor 'Rolling Stone Top 500' (id: [207]) linked to album 'Songs' (id: [2]) with role: 'ARTIST'

I will try to remove all tags from the song and re-enter them manually.

Edit: As the removal of all tags did not remove the embedded CUE, I converted the file to WAV, then back to FLAC and entered all tags by hand. Currently a rescan is running.

Edit II: The rescan completed. Now everything looks like it should!

Thank you very much for your help, kdf!

gharris999
2007-12-07, 21:20
Perhaps there is an option to remove all vorbis tag data?
metaflac.exe --remove-all yourflacfile.flac

..from a windows command line, of course.