Bugzilla – Bug 2271
Can't play any various artist songs
Last modified: 2008-09-15 14:36:01 UTC
Using the Web UI, Fishbone skin, if I navigate to Browse Artists -> Various Artists, I cannot Next, Play or Add any albums or indivual songs. I can play the songs fine if I browse via Browse Albums, and I can play other (non-various artist) music from Browse Artists.
Phil, you know better by now...other skins?
Yes, sorry I wasn't clear. I did try it in Default skin too - same problem with Play. I only mentioned Fishbone skin, because of the additional "Play Next" button, which also doesn't work.
also d_command, d_source logs perhaps. yes, I can reproduce (several skins, btw), but why should I have all the fun ;)
ick. the comand line looks just horrid. $p2 seems totally unparsed: $VAR1 = 'content=&path=status.html&player=f0:5a:f4:24:93:98&url_query=command=playlist &subcommand=loadtracks&album.compilation=1&artist=76&album=40 &player=f0%3A5a%3Af4%3A24%3A93%3A98&host=lo calhost:9000&artist=76&album=40 &subcommand=loadtracks&album.compilation=1&webroot=/&command=playlist'; parseSearchTerms is returning no results. Strangely, $p2 also looks just as messy as the above with single-artist albums, but does return results.
ok, an example from mine: albumid is 40, artist is 76, album.compilation is 1 artist 76 is "various artists", but album 40 has contributor value of 50. in the albums table. browsing down into the album in teh web, lists all of the tracks, which are from artist 49 AND 50. So, is the value of 50 correct in teh album table, or should the album table refer to 'various artists'? If parsing for various artists, should it just match album id? (even I can fix it if this is the solution).
adding this line just before the find (Control/Command.pm line 1544) seems to do the trick: if (exists $find{'album.compilation'}) {delete $find{'artist'}} It doesn't require any change to what is in the tables, so I'm nto sure if this covers all cases of the use of 'various artist'
Commited as subversion change 4592