Bug 3352 - Favorites don't play using remote, but do from the Favorites web page.
: Favorites don't play using remote, but do from the Favorites web page.
Status: RESOLVED DUPLICATE of bug 3384
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.5b1
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-30 22:14 UTC by Joe Bryan
Modified: 2006-05-05 10:21 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Edited Favorites/Plugin.pm file (10.46 KB, text/plain)
2006-04-30 22:17 UTC, Joe Bryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Bryan 2006-04-30 22:14:39 UTC
Favorites selected using the SB3 remote don't play unless you go to Now Playing and press Play. Selecting teh same favorite for play using the web interface works every time.

The code for the remote (lines 51-53 and 240-242 in 'Plugins/Favorites/Plugin.pl') uses three commands: 'playlist clear' 'playlist add $url' and 'play' to play the selected favorite, while the html page uses the single line command p1='playlist'&p2='play' to do the same thing.

Changing the Plugin.pl code to simply 'playlist play $url' fixes this problem. Here's the old and new code:

#	   $client->execute([ 'playlist', 'clear' ] );
#	   $client->execute([ 'playlist', 'add', $urls->[$listIndex]] );
#	   $client->execute([ 'play' ] );

	   $client->execute([ 'playlist', 'play', $urls->[$listIndex]] );
Comment 1 Joe Bryan 2006-04-30 22:17:42 UTC
Created attachment 1218 [details]
Edited Favorites/Plugin.pm file

Edited copy of Plugins/Favorites/Plugin.pm from 060430 v6.5b1 build
Comment 2 KDF 2006-05-05 10:21:46 UTC
merging this as a dupe of bug 3384, since they both appear to be a symptom of the same deeper problem.

*** This bug has been marked as a duplicate of 3384 ***