Jursi wrote:
> Hello,
>
>
> I would like to add a physical favorite button for my setup but I am not
> exactly sure how to access and edit the sbpd_commands.cfg file. If I'm
> correct, I should add the following cli command to the config file.
>
> >
Code:
--------------------
> > FAV1 = ["favorites", "playlist", "play item_id:1.1"]
--------------------
> >
>
> Could someone point me out how to access the file or where is it
> located. If I need to create it myself, how do I do that and where
> should I put it?
>
> Thank you!
There are a least a few ways to skin this cat, but this is what I do...
1) Copy the sbpd command config file to the home directory:
cd ~
cp /usr/local/share/sbpd/sbpd_commands.cfg .
2) Append the line for your command to the bottom of the file (escaping
the quote chars), and then do a backup:
echo "FAV1 = ["favorites",\ "playlist", "play item_id:1.1"]" >>
sbpd_commands.cfg
pcb bu
3) Add the location to the sbpd command on the tweaks page
sbpd -d -f /home/tc/sbpd_commands.cfg -<rest of your button command
string>-
------------------------------------------------------------------------
meq123's Profile: http://forums.slimdevices.com/member.php?userid=69108
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy