Re: [Mvpmc-devel] Streaming Live MythTV
Status: Alpha
Brought to you by:
gettler
From: Mike T. <det...@gm...> - 2007-05-31 21:53:22
|
On Thursday 31 May 2007 03:51:41 pm Mark Paulus wrote: > Mike Teehan wrote: > > Normally I would try to search the archives before asking a blatantly > > obvious question like this, but sf.net isn't cooperating, so here we go: > > > > Does anyone know what must be done to get streaming live TV working > > again? I understand that MythTV has changed their protocol recently, a= nd > > I'd like to update mvpmc to take advantage of those improvements(?). > > > > I'm running 0.20 of MythTV and the latest daily build of mvpmc. I have > > the source to both and am ready to spend some time hacking, but I'd kin= da > > like to know where to start before I really get into it. Anyone who > > knows anything, please let me know. > > > > I will be posting this question to the MythTV mailing list as well. > > > > --- eMpTy > > Apply this patch: > > diff --git a/src/mythtv_livetv.c b/src/mythtv_livetv.c > index 549af4d..e395c19 100644 > --- a/src/mythtv_livetv.c > +++ b/src/mythtv_livetv.c > @@ -271,6 +271,7 @@ mythtv_new_livetv_start(cmyth_recorder_t > CHANGE_GLOBAL_REF(current_prog, loc_prog); > cmyth_release(loc_prog); > > + CHANGE_GLOBAL_REF(mythtv_recorder, rec); > /* > mvpw_show(mythtv_browser); > mvpw_focus(mythtv_browser); > @@ -296,7 +297,6 @@ mythtv_new_livetv_start(cmyth_recorder_t > mvpw_hide(mythtv_browser); > */ > > - CHANGE_GLOBAL_REF(mythtv_recorder, rec); > #if 0 > cmyth_release(ctrl); > cmyth_release(rec); > @@ -485,6 +485,7 @@ mythtv_livetv_start(int *tuner) > CHANGE_GLOBAL_REF(current_prog, loc_prog); > cmyth_release(loc_prog); > > + CHANGE_GLOBAL_REF(mythtv_recorder, rec); > // This appears to be redundant and takes a bunch of time > slowing down > // the launch of live TV. > get_livetv_programs(); > @@ -504,7 +505,6 @@ mythtv_livetv_start(int *tuner) > osd_settings.program, NULL); > mvpw_hide(mythtv_description); > > - CHANGE_GLOBAL_REF(mythtv_recorder, rec); > #if 0 > cmyth_release(ctrl); > cmyth_release(rec); > > > You may have to apply by hand, as I had problems applying it via > patch for some reason. > > Check out the thread: > "LiveTV restarting the mvpmc application" for the rationale behind > the patch. Any idea when this patch will make it into the daily firmware builds? If I= =20 can avoid setting up the cross-compiler to get the LiveTV working again, it= 'd=20 be great. If I have to, I guess I will, but I'd rather not. =2D-- eMpTy |