paul- wrote:
> You can do short press / long press.
Yes I thought about that but this is not what I want. It should be
working with just one single press so that this playlist is always
startet in shuffle mode.
But I actually found a way how to do it. I dont know if it is intended
to work like that but it works.
I just double assigned the button like this
Code:
--------------------
sbpd -f /home/tc/sbpd_commands.cfg b,4,SHUF,2,0 b,4,PRE1,2,0
--------------------
and in the sbpd_commands.cfg i defined the SHUF command:
Code:
--------------------
SHUF=["playlist","shuffle","1"]
--------------------
I also thought it might be possible to do it with the SCRIPT Attribute
but I don't know how to use it.
Another thing I want to do is to control a GPIO depending on the play
state. Is there a easy way to do it?
------------------------------------------------------------------------
luigi2000's Profile: http://forums.slimdevices.com/member.php?userid=68910
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy