how to use audiotoggledigital in script?
#1
hi
can anyone point me in the right direction to be able to add
"audiotoggledigital"
to a script so that i can toggle it directly from the homescreen?
my idea is to be able to quickly switch from hdmi audio to analog audio so that i can use my wireless speakers for music and whatnot. is there a way to add "audiotoggledigital" to a script so that i can easily switch from 1 source to the other

i am not sure how to add it to a python script, everything i have tried does not seem to work and i do not have a remote or a keyboard that would work, only a laser pointer mouse that i am unable to customize

thanks
Reply
#2
so no way to do this? thanks in advance
Reply
#3
Add the following to your favourites.xml (wiki):
Code:
<favourite name="Toggle audio output or whatever label you desire">audiotoggledigital</favourite>

If your skin supports custom menu buttons, you can create one that invokes this favourite. Otherwise, just select your Favourites menu from your home page and then select this favourite.
Reply
#4
artrafael!
thank you for this, when i get home i will try it out...this is just what i was looking for Big Grin
Reply
#5
ok that is perfect, works great...
is there a way to add some sort of notification that states something like "audio stream switched" ?
Reply

Logout Mark Read Team Forum Stats Members Help
how to use audiotoggledigital in script?0