Bug 6227 - Set all, clear all for random play in CLI
: Set all, clear all for random play in CLI
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.0
: PC Windows XP
: P2 enhancement (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks: 5835
  Show dependency treegraph
 
Reported: 2007-11-25 13:12 UTC by Barry Gordon
Modified: 2008-12-15 13:08 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 Barry Gordon 2007-11-25 13:12:24 UTC
Currently there is no simple mechanism for "Set All" or "Clear All" using the CLI interface to random play.  I use the HTTP interface but that is a bit messy.  Could two additional modifiers be added to the CLI command randomplaychoosegenre which currently accepts a genre name plus either a 1 or a 0, to accept the actions of set and clear.  for example "randomplaychoosegenre all set" would set all genres and "randomplaychoosegenre all clear" would clear all genres.  I guess that would assume that there is no genre named all, but that is probably a reasonable assumption.
Comment 1 Blackketter Dean 2007-12-27 13:47:53 UTC
Will look at this post-7.0.
Comment 2 Barry Gordon 2008-02-07 16:03:48 UTC
It appears that the latest nightliues seem to have broken the ability to clear or select all of the genres for a filtering of a random mix .  I used to be able to send an http Get with a string of the form &genre_1=0&genre_2=0&genre3=0... to clear all of the genre filters and like wise substitute all 11 after the equal signs to clear set them all.  That no longer seems to work and I do not see a mechanism to do that operation on the Jive controller either.

Is this a bug or a design goal?

I would really like to see a simple CLI command to set and clear all of the filters.
Comment 3 Ben Klaas 2008-02-29 08:49:58 UTC
change 17764 fixes this...

cli command for selecting all genres in randomplay is

<playerid> randomplaygenreselectall <0|1>

I will update the CLI docs today as well.
Comment 4 Ben Klaas 2008-02-29 09:27:53 UTC
docs updated
Comment 5 Barry Gordon 2008-03-17 14:00:06 UTC
Sorry guys, This does not seem to work.  I submit the command and the appropriate response comes back, however when I check on the web interface, the filters have not change.  Neither case appears to work, select all or clear all 
Comment 6 Michael Herger 2008-11-04 03:50:59 UTC
Barry - is this still an issue?
Comment 7 Barry Gordon 2008-11-06 16:31:21 UTC
No longer an issue.  It is now working properly using the new commands in 7.2.1. production release
Comment 8 Michael Herger 2008-11-07 00:03:39 UTC
Thanks Barry!
Comment 9 James Richardson 2008-12-15 13:08:05 UTC
This bug appears to have been fixed in the latest release!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.

Make sure to include the version number of the software you are seeing the error with.