[mythtv-commits] Ticket #13121: Sat>IP client support

MythTV noreply at mythtv.org
Sat Jan 2 10:18:32 UTC 2021


#13121: Sat>IP client support
--------------------------------+-------------------------------
 Reporter:  cg@…                |          Owner:  Klaas de Waal
     Type:  Patch - Feature     |         Status:  assigned
 Priority:  minor               |      Milestone:  32.0
Component:  MythTV - Recording  |        Version:  Master Head
 Severity:  low                 |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+-------------------------------

Comment (by jksj461):

 mythbackend version: (HEAD detached at 7de9c58ad4)
 [v32-Pre-1753-g7de9c58ad4] www.mythtv.org

 Had faultless recordings for the last 4 weeks until last night. I think
 that attempting to record more than one program on the same mux causes
 tuning problems where only a single channel is allowed.
 The above condition is unlikely to occur within my configuration so the
 above failure may be the only occurrence within the period.
 The issue arises probably due to me over constraining the configuration to
 get deterministic behaviour. I allow two simultaneous recording off the
 first mux and constrain the rest to one. This normally works fine as
 BBC1/2 HD are the lowest channel numbers and are normally allocated to
 this first mux. In the case in question the first mux was already
 allocated.
 Do you recommend me setting Schedule as Group for all tuners or setting
 max recordings to 2 for all tuners (which do you use).

 {{{
 Dec 31 22:24:30  I TVRecEvent tv_rec.cpp:1620 (HandlePendingRecordings)
 TVRec[2]: ASK_RECORDING 2 29 0 0
 Dec 31 22:25:00  I TVRecEvent tv_rec.cpp:1061 (HandleStateChange)
 TVRec[2]: Changing from None to RecordingOnly
 Dec 31 22:25:00  I TVRecEvent mythdbcon.cpp:419 (PurgeIdleConnections) New
 DB connection, total: 11
 Dec 31 22:25:00  I TVRecEvent tv_rec.cpp:3661 (TuningFrequency) TVRec[2]:
 TuningFrequency
 Dec 31 22:25:00  I TVRecEvent recorders/satipstreamhandler.cpp:216 (Tune)
 SatIPSH[2]: Tune 10847000
 Dec 31 22:25:00  I Scheduler scheduler.cpp:2889
 (HandleRecordingStatusChange) Tuning recording: "The Graham Norton New
 Year's Eve Show": channel 65792 on cardid [2], sourceid 1
 Dec 31 22:25:00  C CoreContext programinfo.cpp:252 (ProgramInfo)
 ProgramInfo(): Failed to find recorded entry for 0.
 Dec 31 22:25:01  I CoreContext scheduler.cpp:713 (UpdateRecStatus)
 Updating status for "The Graham Norton New Year's Eve Show" on cardid [2]
 (Tuning => Recording)
 Dec 31 22:25:01  I TVRecEvent tv_rec.cpp:4208 (TuningNewRecorder)
 TVRec[2]: rec->GetPathname(): '/media/library/TV/65792_20201231222500.ts'
 Dec 31 22:25:01  I TVRecEvent tv_rec.cpp:4241 (TuningNewRecorder)
 TVRec[2]: TuningNewRecorder - CreateRecorder()
 Dec 31 22:25:01  E TVRecEvent recorders/recorderbase.cpp:216
 (SetStrOption) RecBase[2](uuid:3eec0475-c365-44e7-bf7c-
 6d53b0daf8e4:DVBS2:2): SetStrOption(...recordingtype): Option not in
 profile.

 Dec 31 22:44:31  I TVRecEvent tv_rec.cpp:1620 (HandlePendingRecordings)
 TVRec[3]: ASK_RECORDING 3 29 0 0
 Dec 31 22:45:00  I TVRecEvent tv_rec.cpp:1061 (HandleStateChange)
 TVRec[3]: Changing from None to RecordingOnly
 Dec 31 22:45:00  I TVRecEvent mythdbcon.cpp:419 (PurgeIdleConnections) New
 DB connection, total: 14
 Dec 31 22:45:00  I TVRecEvent tv_rec.cpp:3661 (TuningFrequency) TVRec[3]:
 TuningFrequency
 Dec 31 22:45:00  I TVRecEvent recorders/satipstreamhandler.cpp:216 (Tune)
 SatIPSH[3]: Tune 10847000
 Dec 31 22:45:00  I Scheduler scheduler.cpp:2889
 (HandleRecordingStatusChange) Tuning recording: "Mock the Week": channel
 65791 on cardid [3], sourceid 1
 Dec 31 22:45:00  N Scheduler scheduler.cpp:3246 (HandleIdleShutdown)
 Blocking shutdown because of an active encoder
 Dec 31 22:45:00  N Scheduler scheduler.cpp:3257 (HandleIdleShutdown)
 Blocking shutdown because of delay request from external application
 Dec 31 22:45:00  C CoreContext programinfo.cpp:252 (ProgramInfo)
 ProgramInfo(): Failed to find recorded entry for 0.
 Dec 31 22:45:01  I CoreContext scheduler.cpp:713 (UpdateRecStatus)
 Updating status for "Mock the Week" on cardid [3] (Tuning => Recording)
 Dec 31 22:45:01  I TVRecEvent tv_rec.cpp:4208 (TuningNewRecorder)
 TVRec[3]: rec->GetPathname(): '/media/library/TV/65791_20201231224500.ts'
 Dec 31 22:45:01  I TVRecEvent tv_rec.cpp:4241 (TuningNewRecorder)
 TVRec[3]: TuningNewRecorder - CreateRecorder()
 Dec 31 22:45:01  E TVRecEvent recorders/recorderbase.cpp:216
 (SetStrOption) RecBase[3](uuid:3eec0475-c365-44e7-bf7c-
 6d53b0daf8e4:DVBS2:3): SetStrOption(...recordingtype): Option not in
 profile.

 Dec 31 23:20:00  I TVRecEvent tv_rec.cpp:1061 (HandleStateChange)
 TVRec[3]: Changing from RecordingOnly to None
 Dec 31 23:20:01  N RecThread recorders/recorderbase.cpp:491
 (FinishRecording) Finished Recording: Container: MPEG2-TS Video Codec:
 h264 (1920x1088 A/R: 3 25fps) Audio Codec: ac3
 Dec 31 23:20:01  I TVRecEvent tv_rec.cpp:825 (FinishedRecording) TVRec[3]:
 FinishedRecording(65791_2020-12-31T22:45:00Z) damaged
 recq:<RecordingQuality overall_score="0.8"
 key="65791_2020-12-31T22:45:00Z" continuity_error_count="25014"
 packet_count="10025590" />
 Dec 31 23:20:02  I CoreContext scheduler.cpp:713 (UpdateRecStatus)
 Updating status for "Mock the Week" on cardid [3] (Recording => Recorder
 Failed)
 Dec 31 23:20:02  I Scheduler scheduler.cpp:2321 (HandleReschedule)
 Reschedule requested for CHECK -9 7289 0 UpdateRecStatus2 | Mock the Week
 |  | Dara O Briain and Hugh Dennis are joined by an array of guests in a
 special edition of the show. Contains some strong language. |
 fp.bbc.co.uk/m/ek0u
 Dec 31 23:20:02  I Scheduler scheduler.cpp:2438 (HandleReschedule)
 Scheduled 79 items in 0.1 = 0.00 match + 0.01 check + 0.11 place
 Dec 31 23:20:02  I ProcessRequest mainserver.cpp:1801 (HandleAnnounce)
 MainServer: MainServer::ANN Playback
 Dec 31 23:20:02  I ProcessRequest mainserver.cpp:1803 (HandleAnnounce)
 MainServer: adding: tv(55ed2f0fec60) as a client (events: 0)
 Dec 31 23:20:03  I ProcessRequest mainserver.cpp:1801 (HandleAnnounce)
 MainServer: MainServer::ANN Monitor
 Dec 31 23:20:03  I ProcessRequest mainserver.cpp:1803 (HandleAnnounce)
 MainServer: adding: tv(55ed2ec63030) as a client (events: 1)
 Dec 31 23:20:16  I MythSocketThread(75) mainserver.cpp:7845
 (connectionClosed) Playback sock(55ed2f0fec60) 'tv' disconnected
 Dec 31 23:20:16  I MythSocketThread(88) mainserver.cpp:7845
 (connectionClosed) Monitor sock(55ed2ec63030) 'tv' disconnected
 Dec 31 23:21:02  N Expire autoexpire.cpp:241 (CalcParams) AutoExpire:
 CalcParams(): Max required Free Space: 12.0 GB w/freq: 7 min
 Dec 31 23:23:20  N HttpServer70 services/myth.cpp:950 (DelayShutdown)
 Shutdown delayed 5 minutes for external application.
 Dec 31 23:27:20  N HttpServer70 services/myth.cpp:950 (DelayShutdown)
 Shutdown delayed 5 minutes for external application.
 Dec 31 23:28:02  N Expire autoexpire.cpp:241 (CalcParams) AutoExpire:
 CalcParams(): Max required Free Space: 12.0 GB w/freq: 7 min
 Dec 31 23:30:00  N Scheduler scheduler.cpp:3246 (HandleIdleShutdown)
 Blocking shutdown because of an active encoder
 Dec 31 23:30:00  N Scheduler scheduler.cpp:3253 (HandleIdleShutdown)
 Blocking shutdown because of active jobs
 Dec 31 23:30:00  N Scheduler scheduler.cpp:3257 (HandleIdleShutdown)
 Blocking shutdown because of delay request from external application
 Dec 31 23:30:08  I Metadata_20880 jobqueue.cpp:2196
 (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "The
 Graham Norton New Year's Eve Show" recorded from channel 65792 at
 2020-12-31T22:25:00Z
 Dec 31 23:30:11  I ProcessRequest mainserver.cpp:1801 (HandleAnnounce)
 MainServer: MainServer::ANN Playback
 Dec 31 23:30:11  I ProcessRequest mainserver.cpp:1803 (HandleAnnounce)
 MainServer: adding: tv(55ed2ec65a50) as a client (events: 0)
 Dec 31 23:30:11  I ProcessRequest mainserver.cpp:1801 (HandleAnnounce)
 MainServer: MainServer::ANN Monitor
 Dec 31 23:30:11  I ProcessRequest mainserver.cpp:1803 (HandleAnnounce)
 MainServer: adding: tv(55ed2fc75f70) as a client (events: 1)
 Dec 31 23:30:15  I MythSocketThread(70) mainserver.cpp:7845
 (connectionClosed) Playback sock(55ed2ec65a50) 'tv' disconnected
 Dec 31 23:30:15  I MythSocketThread(86) mainserver.cpp:7845
 (connectionClosed) Monitor sock(55ed2fc75f70) 'tv' disconnected
 Dec 31 23:30:35  I Scheduler scheduler.cpp:2321 (HandleReschedule)
 Reschedule requested for MATCH 0 1 0 2021-01-01T00:00:00Z EITScanner
 Dec 31 23:30:35  I Scheduler scheduler.cpp:2438 (HandleReschedule)
 Scheduled 79 items in 0.2 = 0.07 match + 0.04 check + 0.11 place
 Dec 31 23:31:20  N HttpServer59 services/myth.cpp:950 (DelayShutdown)
 Shutdown delayed 5 minutes for external application.
 Dec 31 23:35:00  I TVRecEvent tv_rec.cpp:1061 (HandleStateChange)
 TVRec[2]: Changing from RecordingOnly to None
 Dec 31 23:35:00  I RecThread mythdbcon.cpp:419 (PurgeIdleConnections) New
 DB connection, total: 13
 Dec 31 23:35:00  N RecThread recorders/recorderbase.cpp:491
 (FinishRecording) Finished Recording: Container: MPEG2-TS Video Codec:
 h264 (1920x1088 A/R: 3 25fps) Audio Codec: ac3
 Dec 31 23:35:00  I TVRecEvent tv_rec.cpp:825 (FinishedRecording) TVRec[2]:
 FinishedRecording(65792_2020-12-31T22:25:00Z) damaged
 recq:<RecordingQuality overall_score="0.8"
 key="65792_2020-12-31T22:25:00Z" continuity_error_count="26445"
 packet_count="22679561" />
 Dec 31 23:35:00  I CoreContext scheduler.cpp:713 (UpdateRecStatus)
 Updating status for "The Graham Norton New Year's Eve Show" on cardid [2]
 (Recording => Recorder Failed)
 Dec 31 23:35:00  I Scheduler scheduler.cpp:2321 (HandleReschedule)
 Reschedule requested for CHECK -9 6760 0 UpdateRecStatus2 | The Graham
 Norton New Year's Eve Show |  | With Tom Hanks, Emily Blunt, Jamie Dornan,
 Hugh Fearnley-Whittingstall, Nish Kumar and Jessica Chastain. Sophie
 Ellis-Bextor performs Crying at the Discotheque. | fp.bbc.co.uk/m/eixn
 Dec 31 23:35:00  I Scheduler scheduler.cpp:2438 (HandleReschedule)
 Scheduled 78 items in 0.1 = 0.00 match + 0.00 check + 0.10 place

 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13121#comment:50>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list