Bugzilla – Bug 6227
Set all, clear all for random play in CLI
Last modified: 2008-12-15 13:08:05 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.
Will look at this post-7.0.
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.
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.
docs updated
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
Barry - is this still an issue?
No longer an issue. It is now working properly using the new commands in 7.2.1. production release
Thanks Barry!
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.