Bug 2271 - Can't play any various artist songs
: Can't play any various artist songs
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.2.0
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-07 12:27 UTC by Philip Meyer
Modified: 2008-09-15 14:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2005-10-07 12:27:23 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.
Comment 1 KDF 2005-10-07 12:36:24 UTC
Phil, you know better by now...other skins?
Comment 2 Philip Meyer 2005-10-07 12:40:28 UTC
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.
Comment 3 KDF 2005-10-07 12:44:56 UTC
also d_command, d_source logs perhaps.

yes, I can reproduce (several skins, btw), but why should I have all the fun ;)
Comment 4 KDF 2005-10-07 12:58:44 UTC
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.

Comment 5 KDF 2005-10-07 13:24:34 UTC
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).
Comment 6 KDF 2005-10-07 13:36:35 UTC
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' 
Comment 7 Dan Sully 2005-10-11 22:49:05 UTC
Commited as subversion change 4592