Bugzilla – Bug 10186
Add a "set preset" option to the favorites CLI
Last modified: 2009-07-31 10:32:53 UTC
From an installer: "Through the CLI interface using the “favorites add” I can add items to the favorites, but I cannot link an item to a preset button. How can I do that?"
Triode: would you be the right person to add this?
Yes - as long as there is no major overhaul of favorites which I don't know about..
added in change 24454 Note - favorites needs more work to merge the SN and Opml code, but not touching this for 7.3.x
I could use a hand verifying this. I see the 'favorites exists' but don't see anything documented for presets. I'm not asking you to change documentation Triode; just let me know here the new command. Thanks!
See favorites documentation in the cli html file: favorites add <taggedParameters> The "favorites add" command adds a favorite. Accepted tagged parameters: Tag Description item_id The id of a favorite to be inserted. The id represents the hierarchical structure of the file using a dotted syntax similar to the one used in SNMP, like eg. 2.0.9.3. Room is made to accommodate the new favorite. If no item_id is provided, the favorite is added at position 0. title Favorite title (mandatory) url Favorite url (mandatory) hotkey Optional hotkey to associate with the Favorite Returned tagged parameters: Tag Description count Returned with value 1 if adding the favorite was successful. Example: favorites add title:<Title> url:<Url> hotkey:<number from 0-9> so if you set a favorite url to 1-6 then on boom it should play that url when you press the appropriate button.
Fixed - Closed Message (SC) This bug has been fixed in the 7.3.3 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Correction: SqueezeCenter version is 7.3.2
Reduce number of active targets for SC