2005-01-04, 18:45
(euphorical @ dec. 30 2004,00:41 Wrote:i had a play for a couple of hours to try and get livetv working...(almost)great work figuring atleast that much out. but if i remember correctly the issue was that once you started playing the live buffer there was no way for python to capture the input and/or display some kind of osd...
1. i added setup and config for a livetv samba folder to point to the myth livetv buffer folder
2. added a extra menu item
3. i figured out the commands to start a live recording..steps are:
"get_next_free_recorder"
"query_recorder 1[]:[]setup_ring_buffer"
"query_recorder 1[]:[]spawn_livetv"
4. display the stream:
file = 'smb://10.0.0.120/livetv/ringbuf1.nuv'
xbmc.player().play(file)
which works fine...very smooth etc
the myth protocol is pretty simple to understand, just a case of tracing the c source.
so, bascially i've got stuck at xbmc stuff...how would you capture a button press to display a osd with guide data and then allow the changing of the channel...
if anyone wants to see my random hacks, i've uploaded them to:
http://www.comp.lancs.ac.uk/computi....tch.zip
but its just proof-of-concept, not even close to a proper livetv option...
please someone correct me if i am wrong...
cp