Need Help: Stop Button Listener
#1
Hi,

i want to make a little plugin for watching TV with DVB-T Smile. But i need to kill a process when the stop button of the xbmc video player is pushed. Otherwise xbmc hangs up. Therefore i need a kind of listener for this button. In addition i am very new to python scripting.
Can you help me.
Thank you,

ATrattnig
Reply
#2
you can listen to the broadcasts from the http api for instance
Reply
#3
ok, i think this is possible. With

http://xbox/xbmcCmds/xbmcHttp?command=SetBroadcast(2)


i think i can get the Button "OnAction" events. But i cant find a good example for this. Maybe do you have one?

greetings
Reply
#4
look at xbmc lyrics script for an example of the onPlayBackStopped() method.

very bottom of the script the player is subclassed
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Need Help: Stop Button Listener0