Cool that you got it working even with the 5-second delay. I don't know
LUA either but if you change the:

Code:
--------------------
    os.execute("amixer -q sset Headphone 92%")
  os.execute("amixer -q sset Endpoint Headphone")
  Sample:setEffectAttenuation(Sample.MAXVOLUME / 4)
--------------------


to


Code:
--------------------
    os.execute("/root/toggleJack.sh")
--------------------


you might have a working prototype?


------------------------------------------------------------------------
jj_0's Profile: http://forums.slimdevices.com/member.php?userid=65516
View this thread: http://forums.slimdevices.com/showthread.php?t=115626

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to