2004-04-22, 16:26
(mcfennek @ april 21 2004,08:40 Wrote:have you started something with livetv yet?i have been able to watch live tv through xbmc. the way i did this was to create a symbolic link to /dev/video0 in the myth recorded show directory (the dir that is shared over samba to xbmc). then i launched the xbmc player on that link. the drawbacks with this are:
- the player steals all input events while it is active
- as a result channel switching had to be done through a pc
- no on screen display to show channel number, show info, etc. like the myth front end
if someone added a python callback to the xbmc player, it might be possible to build channel switching into live tv. i was thinking of a calback where a return value of 0 indicates that the event was consumed by the python script and a value of 1 indicates that the player should process the event as normal. this would allow the python script to trap certain input events and pass other events on to the player. (comments darkie?)
in order to do custom osd, maybe an api to the player's subtitles capabilities could be used. i don't know enough of the internals of the player to know if this would work or not...
streamed playback would be the best approach for doing this so that the myth protocol could be used but is a magnitude more difficult to implement (if i was guessing). not to mention it would be very specific to myth so i don't think it would be something that would be high on the xbmc developers' list.