Bug 10186 - Add a "set preset" option to the favorites CLI
: Add a "set preset" option to the favorites CLI
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.3.0
: PC Other
: -- normal (vote)
: 7.x
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-01 11:16 UTC by Michael Herger
Modified: 2009-07-31 10:32 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-12-01 11:16:20 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?"
Comment 1 James Richardson 2008-12-02 07:38:26 UTC
Triode: would you be the right person to add this?
Comment 2 Adrian Smith 2008-12-02 10:52:09 UTC
Yes - as long as there is no major overhaul of favorites which I don't know about..
Comment 3 Adrian Smith 2008-12-31 07:07:03 UTC
added in change 24454

Note - favorites needs more work to merge the SN and Opml code, but not touching this for 7.3.x
Comment 4 Ross Levine 2009-01-14 16:17:39 UTC
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!
Comment 5 Adrian Smith 2009-01-15 13:32:24 UTC
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.

Comment 6 James Richardson 2009-01-22 09:58:32 UTC
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.
Comment 7 James Richardson 2009-01-22 13:53:52 UTC
Correction: SqueezeCenter version is 7.3.2
Comment 8 Chris Owens 2009-07-31 10:32:53 UTC
Reduce number of active targets for SC