2005-02-15, 03:45
(madtw @ feb. 14 2005,05:15 Wrote:update to the latest cvs... i made some fixes this weekend (e.g. trailling slash, hostname expansion, etc). i also added in a new setting so that you can specify the mininum ring buffer size before the xbmc video player is launched. that way you can play around with the xbmc cache settings and the ring buffer minimum size until you reach a happy medium with caching of video versus time it takes to start playing live tv.
as for the wrong ring buffer filename problem you mentioned, i haven't had the problem with my setup. the script gets the name of the ringbuffer file from the myth backend so i'm a bit surprised that it gets this wrong. on my setup, the ring buffer filename is ringbuf7.nuv so we haven't hard coded the name of the ring buffer in the scripts. i'm not saying that the logic is correct in the script... but it isn't as simple as fixing a hard coded value. if you launch the mythtvlivetv.py script manually (i.e. not from mythtvmain.py). it will slow it down a lot but the screen will log all the myth protocol stuff to help in debugging.
the .conf stuff is xbmc behavior... i'm guessing you can specify configuration options for each video file if you like. so xbmc checks to see if such a file exists whenever it launches any video file.
ok..loaded up the latest cvs and ran live tv. it still plays for like maybe 2 seconds before dropping back to the tv listings. here is what i am getting in my backend log during the event:
2005-02-14 19:39:51.788 adding: xbox as a client (events: 0)
2005-02-14 19:40:37.440 changing from none to watchinglivetv
waited too long for recorder to pause
changing to 7
[1] 24580
2005-02-14 19:40:39.571 ret_pid(24579) child(24579) status(0x0)
2005-02-14 19:40:39.573 external tuning program exited with no error
2005-02-14 19:40:45.537 changing from watchinglivetv to none
2005-02-14 19:40:46.180 unknown socket
2005-02-14 19:40:48.755 mainserver::handleannounce playback
2005-02-14 19:40:48.756 adding: xbox as a client (events: 0)
2005-02-14 19:40:48.780 changing from none to watchinglivetv
waited too long for recorder to pause
changing to 7
[1] 24590
2005-02-14 19:40:50.919 ret_pid(24589) child(24589) status(0x0)
2005-02-14 19:40:50.920 external tuning program exited with no error
2005-02-14 19:40:55.669 changing from watchinglivetv to none
2005-02-14 19:40:56.530 mainserver::handleannounce playback
2005-02-14 19:40:56.531 adding: xbox as a client (events: 0)
2005-02-14 19:40:56.553 changing from none to watchinglivetv
waited too long for recorder to pause
when i run mythtvlivetv.py from the scripts folder, it crashes xbmc with:
14-02-2005 19:41:09 warning emergency recovery console starting...
14-02-2005 19:41:09 fatal xbmc fatal error:
14-02-2005 19:41:09 fatal exception_access_violation (0xc0000005)
14-02-2005 19:41:09 fatal at 0x002125b7
yikes....
h
any ideas on how to keep it from dropping out?