2005-01-16, 23:42
(dooze @ jan. 16 2005,20:56 Wrote:i've been playing with the new live tv interface, which is pretty darn cool, but i've noticed a few problems with it.
the other catch is that the scripts assume the stream is coming from tuner 1, my backend is set up to use "tuner 13", hence the scripts can't find the right .nuv ringbuffer. maybe the tuner number comes back in the response from the server or something, i dunno, but it might be worth looking into for completeness (i haven't had a chance to look myself yet).
dooze
Quote:firstly, i'm running a backend recording dvb-t streams, and xbmc doesn't like streaming from a nuv with one of these mpeg-2 streams unless there's about 5 seconds of data available already. i've hacked in a dialog between the request to the backend and the call to play in the scripts so i can wait a few seconds before proceeding, but it's not really ideal. if i get in too quickly the resulting stream often crashes xbmc. i've reduced the smb cache sizes right down which helps a little, but it doesn't fix the problem.yeah this is a problem for me too. there's a varible at the top of the mythtv.py file min_ringbuffer_size you can set to help remedy this. it defaults to 512 * 1024, but try and make it larger. the connection.liverequest() function will block until this amount of data has been written on the backend(or the change_channel_timeout has been reached). i guess this should be a setting in the user interface. i still have a bit of corruption (pvr250, mpeg2) at the beginning of the stream when i change channels, but it dosent seem to affect xbmc.
Quote:the other catch is that the scripts assume the stream is coming from tuner 1, my backend is set up to use "tuner 13", hence the scripts can't find the right .nuv ringbuffer. maybe the tuner number comes back in the response from the server or something, i dunno, but it might be worth looking into for completeness (i haven't had a chance to look myself yet).
this is a known issue that's really easy to fix. the connection.liverequest() returns the mythtv://host/path/to/ringbufferxx.nuv as a return value. all we have to do is slice off the "ringbufferxx.nuv" part and use that as the filename (this still ony assumes you have one host).
i just haven't done it because i only have one card =]. ill look at it soon though(or feel free to fix it yourself if i'm too slow)