[mythtv-commits] Ticket #10726: Start recording and keep watching LiveTV broken

MythTV noreply at mythtv.org
Tue Jun 5 14:30:10 UTC 2012


#10726: Start recording and keep watching LiveTV broken
----------------------------------+----------------------------
 Reporter:  lomion@…              |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  0.25.1
Component:  MythTV - General      |        Version:  0.25-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by Steven Adeff <adeffs.mythtv@…>):

 I'm noticing this too.

 to expand on what is happening.

 when a scheduled recording starts while the tuner is being used for
 livetv, that recording is placed in the LiveTV group and not the group
 the recording schedule specifies, be it default or another.

 This causes the recording to not show in the Watch Recordings screen,
 and to expire.

 In the logs it also looks like, in this case, when the user exits live
 tv the recording does indeed stop.

 below is the log output from a recording that initiated during a
 LiveTV session on tuner 5:

 Jun  3 18:37:35 MythCenter mythbackend[17345]: I ProcessRequest
 tv_rec.cpp:2763 (StopLiveTV) TVRec(5): StopLiveTV(void) curRec:
 0x7e305e28 pseudoRec: 0xffffffff8ffb3c58
 Jun  3 18:37:35 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:1014 (HandleStateChange) TVRec(5): Changing from
 WatchingLiveTV to None
 Jun  3 18:37:35 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:4158 (ClearFlags) TVRec(5):
 ClearFlags(FrontendReady,CancelNextRecording,) ->
 RunMainLoop,RecorderRunning,RingBufferReady,
 Jun  3 18:37:35 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:3370 (HandleTuning) TVRec(5): HandleTuning Request:
 Program(NULL) channel() input() flags(KillRec,KillRingBuffer,)
 Jun  3 18:37:35 MythCenter mythbackend[17345]: I TVRecEvent
 mpegrecorder.cpp:1332 (StopEncoding) MPEGRec(/dev/hdpvr1):
 StopEncoding
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 mpegrecorder.cpp:1348 (StopEncoding) MPEGRec(/dev/hdpvr1): Encoding
 stopped
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 DeviceReadBuffer.cpp:171(Stop) DevRdB(/dev/hdpvr1): Stop() -- begin
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 DeviceReadBuffer.cpp:180(Stop) DevRdB(/dev/hdpvr1): Stop() -- end
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I RecThread
 mpegrecorder.cpp:1113 (run) MPEGRec(/dev/hdpvr1): run finishing up
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I RecThread
 mpegrecorder.cpp:1332 (StopEncoding) MPEGRec(/dev/hdpvr1):
 StopEncoding
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I RecThread
 mythdbcon.cpp:395 (PurgeIdleConnections) New DB connection, total: 18
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:4158 (ClearFlags) TVRec(5): ClearFlags(RecorderRunning,) ->
 RunMainLoop,RingBufferReady,
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 mpegrecorder.cpp:1332 (StopEncoding) MPEGRec(/dev/hdpvr1):
 StopEncoding
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 recorderbase.cpp:89 (SetRecording) RecBase(5:/dev/hdpvr1):
 SetRecording(0x0)
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:812 (FinishedRecording) TVRec(5):
 FinishedRecording(1478_2012-06-03T17:00:01) damaged
 recq:<RecordingQuality overall_score="0"
 key="1478_2012-06-03T17:00:01" countinuity_error_count="0"
 packet_count="39117301">#012    <Gap start="2012-06-03T18:37:31"
 end="2012-06-03T19:00:00" duration="1349"/>#012</RecordingQuality>
 Jun  3 18:37:37 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:862 (FinishedRecording) TVRec(5):
 FinishedRecording(1478_2012-06-03T17:00:01)#012#011#011#011title: 12
 Angry Men#012#011#011#011in recgroup: LiveTV status: Recorder
 Failed:Recorder Failed not_dummy finished_now
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I TVRecEvent
 livetvchain.cpp:130 (FinishedRecording) Chain: Updated endtime for
 '1478_20120603170001' to 20120603183737
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I TVRecEvent
 programinfo.cpp:3806 (SaveVideoProperties) SaveVideoProperties(0x38,
 0x30)
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:4158 (ClearFlags) TVRec(5): ClearFlags(RecorderRunning,) ->
 RunMainLoop,RingBufferReady,
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:3548 (TuningShutdowns) TVRec(5): Tearing down RingBuffer
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I TVRecEvent
 tv_rec.cpp:4158 (ClearFlags) TVRec(5): ClearFlags(PENDINGACTIONS,) ->
 RunMainLoop,RingBufferReady,
 Jun  3 18:37:38 MythCenter mythbackend[17345]: I ProcessRequest
 tv_rec.cpp:4149 (SetFlags) TVRec(5): SetFlags(FrontendReady,) ->
 FrontendReady,RunMainLoop,RingBufferReady,


 so, even though the recording is scheduled, when the user leaves
 LiveTV it still stops the recording!

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10726#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list