[mythtv] bug - LiveTV to Recording transition, breaks backend
avalanche at beyondmonkey.com
avalanche at beyondmonkey.com
Sat Jul 5 04:42:54 EDT 2003
> Mind testing something?
>
> Go into tv_rec.cpp, and modify TVRec::RemoveRecording() (line 241 or so) to
> be:
>
> TVState TVRec::RemoveRecording(TVState state)
> {
> if (StateIsRecording(state))
> {
> if (state == kState_RecordingOnly)
> return kState_None;
> return kState_WatchingLiveTV;
> }
> return kState_Error;
> }
>
> changing that kState_WatchingPreRecorded to kState_WatchingLiveTV, is all.
Now, when the second recording should start, it goes back to LiveTV and remains
there, not recording the second show. No errors shown in console.
av
----- Original Message -----
From: "Isaac Richards" <ijr at po.cwru.edu>
To: "Development of mythtv" <mythtv-dev at snowman.net>
Sent: Saturday, July 05, 2003 12:52 AM
Subject: Re: [mythtv] bug - LiveTV to Recording transition, breaks backend
> On Friday 04 July 2003 06:11 pm, avalanche at beyondmonkey.com wrote:
> > Hi,
> >
> > I have tried this one twice and it seems to be reproducible.
> > I'm using cvs from 2003.06.19.
> >
> > The setup:
> > Select two shows to record that are back to back same channel
> > Watch LiveTV, not the channel you want to record.
> > MythTV will tell you it wants to record etc, do nothing let it change
> > the channel and start recording.
> > When it tries to start recording the second show it'll choke and
> > not record it or any other scheduled stuff after that.
> > At this point back/frontend are still alive and well, no seg but the
> > backend has to be restarted to get recording working again.
> >
> > console:
> > Changing from WatchingLiveTV to WatchingRecording
> > Changing from WatchingRecording to WatchingPreRecorded
> > Fri Jul 4 21:45:02 2003: wanted to record:
> > Alles Atze 1001 Fri Jul 4 21:45:00 2003
> > But current state is: 2
> > Unknown state transition: WatchingPreRecorded to None
> >
> > The backend will display the 'state 2' error for all future recording
> > attempts.
> >
> > I have my 'record past end of show' set to 600, don't know if
> > that's related. The Problem seems to be the two shows that are
> > back to back, it works with only one show to record.
>
> Mind testing something?
>
> Go into tv_rec.cpp, and modify TVRec::RemoveRecording() (line 241 or so) to
> be:
>
> TVState TVRec::RemoveRecording(TVState state)
> {
> if (StateIsRecording(state))
> {
> if (state == kState_RecordingOnly)
> return kState_None;
> return kState_WatchingLiveTV;
> }
> return kState_Error;
> }
>
> changing that kState_WatchingPreRecorded to kState_WatchingLiveTV, is all.
>
> See if that helps at all?
>
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev
>
More information about the mythtv-dev
mailing list