Bug 209 - cli commands like "playlist play" returns when not yet ready
: cli commands like "playlist play" returns when not yet ready
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: unspecified
: PC RedHat Linux
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-08 12:33 UTC by Bas de Bree
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bas de Bree 2004-03-08 12:33:09 UTC
Commands like [playlist play ...] respond with an acknowledge even when they 
are not fully processed.
This results in the next command (playlist tracks ?) to respond with:
[playlist tracks 0] even when the playlist it's playing (the command is still 
not completely processed) contains more than zero songs.
Is it possible to fix this in a next release?
I would be very happy when the server's response waits untill the commad is 
processed and executed, so it would work as acknowledgement that it is ready 
to process the next command.
Thanks in advance,

Bas
Comment 1 Blackketter Dean 2004-03-18 16:54:52 UTC
Use the "listen 1" command to watch events and then look for "playlist load_done" when the playlist 
load completes.

Comment 2 Bas de Bree 2004-03-21 13:25:54 UTC
I've tried the "listen 1" command, this command returns just itselves "listen 
1" and not the internal status :(
I've tried these versions:
slimserver-2004_03_19-1.noarch.rpm
slimserver-2004_03_20-1.noarch.rpm

Bas
Comment 3 Blackketter Dean 2004-03-21 14:47:55 UTC
This feature has been around for long time. Issue the "listen 1" command, then issue some other 
commands to the player, you should see the new events pass by.  Nothing besides the "listen 1" 
confirmation is returned immediately, you need to have other events happen before any additional 
information is sent.
Comment 4 Bas de Bree 2004-03-21 15:36:44 UTC
Sorry,
I misinterpreted your sollution...
This seems to work! I'll build it into my project.

cheers,
Bas.
Comment 5 Chris Owens 2006-06-16 14:40:13 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.