Bug 3801 - Playing a song from a saved playlist will play the whole list
: Playing a song from a saved playlist will play the whole list
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.5b1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-22 06:51 UTC by Michael Herger
Modified: 2008-09-15 14:39 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
one possible solution (1.03 KB, patch)
2006-07-22 15:59 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2006-07-22 06:51:39 UTC
Browsing a stored playlist in the web interface. After I hit the play button, the whole list will be played, starting with the first song in the list, not the chosen one. Same thing goes for the add button. Tested in Default, Handheld, Fishbone.
Comment 1 KDF 2006-07-22 15:59:02 UTC
Created attachment 1363 [details]
one possible solution

map playlisttrack.id the same way we do for track.id, and only load the entire playlist if the only find param is playlist.id
Comment 2 Michael Herger 2006-07-23 01:25:27 UTC
Does work for me. Thanks.
Comment 3 KDF 2006-07-23 12:40:28 UTC
dan, is this a resonable patch, or would you prefer a cleaner way?
Comment 4 Dan Sully 2006-07-23 12:55:25 UTC
Seems reasonable.. what's the last chunk for - deleting playlist.id ? 

Would we ever get into that state?
Comment 5 KDF 2006-07-23 13:02:31 UTC
yup.  earlier when we check for playlist.id, we only do the playlist load if !me.id, If me.id exists, then we want a track.  However, the find at this point wil not have the right context to allow playlist.id
Comment 6 Dan Sully 2006-07-23 13:04:13 UTC
Subject: Re:  Playing a song from a saved playlist will play the whole list

Ok. Go ahead and commit it then.

Comment 7 KDF 2006-07-23 15:02:04 UTC
fixed change 8586