Bugzilla – Bug 3806
Various Artists: Incorrect album, song, artist counts
Last modified: 2008-09-15 14:39:24 UTC
My library total (if correct) shown on the home page is '928 albums with 11022 songs by 452 artists'. When I go into Browse Albums I see '928 albums with 11022 songs by 419' artists. Shouldn't the artists count be the same? Also see incorrect counts when browsing by genre. It doesn't look like any artists or albums are missing, just that the counts on the initial artist list page are off. I have one VA album under the genre 'Acoustic'. When I enter I see 'Various Artists' listed, but '0 albums with 0 songs by 0 artists' is shown. Under another genre I have one (non-VA) album by three artists. Entering that genre I see the three individual artists listed, but '2 albums with 28 songs by 3 artists. Should be 1, 15, 3. This album happens to be tagged with two genres. Under 'Comedy' I should have 4 albums, one a VA album. All 4 artists are listed, but the counts only count the albums, tracks and artists of the 3 non-VA albums. In another instance I have 9 albums by 5 artists by the count shows 11 by 4. I get the feeling that the incorrect counts have to do with albums that are tagged with more than one genre.
What kind of files are these, Jim? mp3? Flac?
All flac.
Created attachment 1384 [details] zip file containing multigenre mp3 and flac files Could you upload one of the affected files? I couldn't seem to repro the problem with the test files I made.
I think the forum thread below, particularly '(b)' in post #6, touches on the issue. http://forums.slimdevices.com/showthread.php?t=25605 I'll see if I can create a test album of very short tracks with the same tagging as one of the albums where the problem is evident.
This forum thread ends up pointing to bug 3866, now. Jim, it looks like maybe you ended up with this bug being fixed (looking at http://forums.slimdevices.com/showpost.php?p=126598&postcount=34). Is that true?
Yes and no. The album counts when browsing genres are mostly worked out now. I still have one VA 'Acoustic' album and it still shows a count of 0-0-0 when entering that genre, but most everything else is now correct. Browe Albums is still showing the wrong artist count, but maybe it's related to whatever is causing bug 3255? I have no idea how these counts are arrived at. On the home page of the web UI and in all other browse modes I have: 979 albums with 11569 songs by 469 artists In browse Albums I have: 979 albums with 11569 songs by 729 artists
Dan do you have any ideas what I could do to help figure this one out?
The incorrect browse Albums arist count maybe be related to VA albums not being grouped together, as I just recently discovered and commented on in bug 3350. On the top level pages of browse Albums, shouldn't you simply be running the same counting queries as run on the home page, so that overall library totals are always displayed? The counts should never differ from those shown on the home page.
Another data point: In the genre where I had one VA album and a count of 0-0-0 shown, I've added 4 albums, 42 tracks, by 1 artist. The total is now 4-42-1. So it appears that VA albums aren't being counted under browse Genres. Again, maybe related to the issues broken compilation album grouping.
I know what's happening, and I don't have a way to fix it at this point in time. You'll just need to deal with the VA counts being off. Probably won't make 6.5 unless I have have an epiphany
I've got:- Artists 1634 albums with 25142 songs by 699 artists. Albums 1634 albums with 25142 songs by 2668 artists. So my assumption is that the Artists, artists count is correctly discounting VA artists (so it's just a count of artists with their own albums), whilst Albums, artists count is counting every single artist.
Checking the MySQL db tables shows 'contributors' has 2669 records (is the count off by 1 because the records start at 0?) 'albums' agrees at 1634 HTH
Dan Sully has indicated tnat this bug is the one relevant to my problem so I thought it best to document it. I have a genre (Chamber Music) that only contains one album. This album is by various artists, each track tagged as Chamber Music. It is impossible to play this album via the remote (using browse by genre) and it is listed oddly in the web interface too (0 albums with 0 songs by 0 artists), although it can be played. MC
Simon - the player part is another bug. I do have a fix for it though, which I'll get in shortly.
I just took a look at the counts presented under Browse Genres. Examining a small genre, with NO compilation albums, SlimServer gives counts of: 20-307-10, whereas the actual counts are 11-198-10. So there are counting problems that go beyond those involving just various artists.
Oh just turn the damn counts off.
You're welcome. Glad I could help.
aha, the pressure of a new product release deadline. I hope you are getting some sleep Dan. Good luck.
svn 6.5 10272 Artists Artists 2048 albums with 29849 songs by 900 artists. Albums Gallery Sort By Artist, Year, Album Albums 2048 albums with 29849 songs by 3319 artists Looks like Albums/Songs count is consistent for me between Artists and Albums Web UI views - Artist count is much larger in Album view, presumably because it's not ignoring VA artists. Is there a bug filed for VA albums included under Browse Artists (in both Player & Web UI) - even when they are set to be ignored? If not, I'd like to raise one!