Bugzilla – Bug 209
cli commands like "playlist play" returns when not yet ready
Last modified: 2008-09-15 14:37:04 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
Use the "listen 1" command to watch events and then look for "playlist load_done" when the playlist load completes.
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
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.
Sorry, I misinterpreted your sollution... This seems to work! I'll build it into my project. cheers, Bas.
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.