2005-01-04, 21:54
i don't know what exactly goes on in xbmc when a file is playing, but i suspect that it'd be possible to trap remote keypresses & overlay something on top of the video.
i don't think mplayer (which xbmc uses to play files) monitors for key presses - all it probably does is do what xbmc tells it to do - so as far as i know, xbmc traps & interprets the keypresses itself, then relays commands to the player.
one thing which could possibly upset all of this is the stream corruption when you change channels. i've tried playing the ringbuffer in mplayer on my windows pc while the mythfrontend runs on my linux box - changing channels broke the stream so much that mplayer had to be restarted. maybe you'd have to stop playing the ringbuffer before issuing the command to change channels, then wait for a while before restarting playback of the live stream. i suspect that's what the mythfrontend does. i've not looked at the source for the frontend yet, but it looks like that's what happens.
(drivel undeleted)
>>> dives into the xbmc code for a while....
i don't think mplayer (which xbmc uses to play files) monitors for key presses - all it probably does is do what xbmc tells it to do - so as far as i know, xbmc traps & interprets the keypresses itself, then relays commands to the player.
one thing which could possibly upset all of this is the stream corruption when you change channels. i've tried playing the ringbuffer in mplayer on my windows pc while the mythfrontend runs on my linux box - changing channels broke the stream so much that mplayer had to be restarted. maybe you'd have to stop playing the ringbuffer before issuing the command to change channels, then wait for a while before restarting playback of the live stream. i suspect that's what the mythfrontend does. i've not looked at the source for the frontend yet, but it looks like that's what happens.
(drivel undeleted)
>>> dives into the xbmc code for a while....