[mythtv-users] LiveTV and Recordings not working

Greg gregl at nycap.rr.com
Sat Mar 4 04:53:36 UTC 2017


On 03/03/2017 10:37 PM, Garth Kirkwood wrote:
>
> I am in Australia and am using two (2) HDHomeRuns with my MythTV and I 
> was having an issue with recordings failing with 0 byte files, but 
> LiveTV was working. My google foo suggested I delete all the channels 
> and tuners and start again which I did. After I did this I went to 
> readd my tuners I found that one of my HDHomeRun's was missing. The 
> power supply had died. I replaced the power supply and went through 
> the set up process and scanned for channels etc and all good.
>
>
> Or so I thought, now I can't watch LiveTV either, which really upsets 
> me! Here is a sample of the log when trying to watch LiveTV:
> *
> Log extract:*
> 2017-03-04T13:16:41.815850+10:00 mythbackend[6777]: E 
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:421 (TunerSet) 
> HDHRSH(11102780-0): Set request failed#012#011#011#011eno: Resource 
> temporarily unavailable (11)
> 2017-03-04T13:16:42.216622+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:3686 (TuningFrequency) TVRec[13]: TuningFrequency
> 2017-03-04T13:16:42.617424+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/hdhrstreamhandler.cpp:382 (TunerGet) HDHRSH(11102780-0): Get 
> request failed#012#011#011#011eno: Resource temporarily unavailable (11)
> 2017-03-04T13:16:43.018439+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/hdhrstreamhandler.cpp:421 (TunerSet) HDHRSH(11102780-0): Set 
> request failed#012#011#011#011eno: Resource temporarily unavailable (11)
> 2017-03-04T13:16:43.018759+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/dtvchannel.cpp:310 (SetChannelByString) 
> DTVChan[13](11102780-0): SetChannelByString(24): Tuning to frequency.
> 2017-03-04T13:16:43.018981+10:00 mythbackend[6777]: E TVRecEvent 
> dtvmultiplex.cpp:246 (ParseDVB_S_and_C) DTVMux: Invalid symbol rate 
> parameter '0', aborting.
> 2017-03-04T13:16:43.019166+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/dtvchannel.cpp:299 (SetChannelByString) 
> DTVChan[13](11102780-0): SetChannelByString(24): Failed to initialize 
> multiplex options
> 2017-03-04T13:16:43.019340+10:00 mythbackend[6777]: E TVRecEvent 
> tv_rec.cpp:3764 (TuningFrequency) TVRec[13]: Failed to set channel to 
> 24. Reverting to kState_None
> 2017-03-04T13:17:33.387706+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:17:33.388093+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5dab409c0) as a client (events: 0)
> 2017-03-04T13:17:35.491430+10:00 mythbackend[6777]: I 
> MythSocketThread(26) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5dab409c0) 'vmmythtv' disconnected
> 2017-03-04T13:20:44.548683+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2264 (HandleReschedule) Reschedule requested for MATCH 0 
> 1 1 2017-03-04T03:43:35Z EITScanner
> 2017-03-04T13:20:44.749128+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:3686 (TuningFrequency) TVRec[3]: TuningFrequency
> 2017-03-04T13:20:44.749247+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2377 (HandleReschedule) Scheduled 38 items in 0.2 = 0.04 
> match + 0.00 check + 0.11 place
> 2017-03-04T13:21:27.206611+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2264 (HandleReschedule) Reschedule requested for MATCH 0 
> 1 5 2017-03-11T23:30:00Z EITScanner
> 2017-03-04T13:21:27.407187+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:3686 (TuningFrequency) TVRec[1]: TuningFrequency
> 2017-03-04T13:21:27.507429+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2377 (HandleReschedule) Scheduled 38 items in 0.3 = 0.16 
> match + 0.00 check + 0.10 place
> 2017-03-04T13:22:33.999442+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:22:33.999543+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5dab409c0) as a client (events: 0)
> 2017-03-04T13:22:35.902561+10:00 mythbackend[6777]: I 
> MythSocketThread(71) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5dab409c0) 'vmmythtv' disconnected
> 2017-03-04T13:23:15.458084+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:23:15.458201+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5daa928a0) as a client (events: 0)
> 2017-03-04T13:23:15.458288+10:00 mythbackend[6777]: I 
> MythSocketThread(82) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5daa928a0) 'vmmythtv' disconnected
> 2017-03-04T13:23:19.163374+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:23:19.163487+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5daaa9080) as a client (events: 0)
> 2017-03-04T13:23:19.363925+10:00 mythbackend[6777]: I 
> MythSocketThread(71) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5daaa9080) 'vmmythtv' disconnected
> 2017-03-04T13:24:23.251704+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:24:23.251816+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5dab5b7e0) as a client (events: 0)
> 2017-03-04T13:24:23.251900+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2264 (HandleReschedule) Reschedule requested for MATCH 0 
> 0 0 - HandleRescheduleRecordings
> 2017-03-04T13:24:23.251977+10:00 mythbackend[6777]: I 
> MythSocketThread(71) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5dab5b7e0) 'vmmythtv' disconnected
> 2017-03-04T13:24:23.352357+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:24:23.352469+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5daa928a0) as a client (events: 2)
> 2017-03-04T13:24:23.853307+10:00 mythbackend[6777]: I Scheduler 
> scheduler.cpp:2377 (HandleReschedule) Scheduled 38 items in 0.5 = 0.41 
> match + 0.02 check + 0.10 place
> 2017-03-04T13:24:23.853443+10:00 mythbackend[6777]: I 
> MythSocketThread(71) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5daa928a0) 'vmmythtv' disconnected
> 2017-03-04T13:25:44.865062+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:3686 (TuningFrequency) TVRec[3]: TuningFrequency
> 2017-03-04T13:25:47.869478+10:00 mythbackend[6777]: E TVRecEvent 
> tv_rec.cpp:3952 (TuningSignalCheck) TVRec[3]: TuningSignalCheck: 
> SignalMonitor timed out
> 2017-03-04T13:25:55.580281+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:25:55.580378+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5daac86c0) as a client (events: 0)
> 2017-03-04T13:25:55.780855+10:00 mythbackend[6777]: I 
> MythSocketThread(26) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5daac86c0) 'vmmythtv' disconnected
> 2017-03-04T13:25:58.084548+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:25:58.084667+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5dab5b7e0) as a client (events: 0)
> 2017-03-04T13:25:58.084753+10:00 mythbackend[6777]: I 
> MythSocketThread(71) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5dab5b7e0) 'vmmythtv' disconnected
> 2017-03-04T13:26:00.988892+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Monitor
> 2017-03-04T13:26:00.989000+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5dab2c1b0) as a client (events: 0)
> 2017-03-04T13:26:01.089386+10:00 mythbackend[6777]: I 
> MythSocketThread(26) mainserver.cpp:7656 (connectionClosed) Monitor 
> sock(55f5dab2c1b0) 'vmmythtv' disconnected
> 2017-03-04T13:26:16.311004+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1730 (HandleAnnounce) MainServer: MainServer::ANN Playback
> 2017-03-04T13:26:16.311179+10:00 mythbackend[6777]: I ProcessRequest 
> mainserver.cpp:1735 (HandleAnnounce) MainServer: adding: 
> vmmythtv(55f5daac2ad0) as a client (events: 0)
> 2017-03-04T13:26:16.311415+10:00 mythbackend[6777]: E ProcessRequest 
> mythdb.cpp:183 (DBError) DB Error 
> (ShouldSwitchToAnotherInput):#012Query was:#012SELECT channel.channum, 
> channel.callsign FROM channel WHERE channel.chanid = ?#012Bindings 
> were:#012:CHANID="2011"#012No error type from QSqlError?  Strange...
> 2017-03-04T13:26:16.311574+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:1074 (HandleStateChange) TVRec[15]: Changing from None to 
> WatchingLiveTV
> 2017-03-04T13:26:16.311707+10:00 mythbackend[6777]: E TVRecEvent 
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because 
> it could not#012#011#011#011find channel number '2011' in DB for 
> source '1'.
> 2017-03-04T13:26:16.311839+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/channelbase.cpp:179 (IsTunable) ChannelBase[15]: 
> IsTunable(2011) Failed to find channel in DB on input '15'
> 2017-03-04T13:26:16.311968+10:00 mythbackend[6777]: E TVRecEvent 
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because 
> it could not#012#011#011#011find channel number '2011' in DB for 
> source '1'.
> 2017-03-04T13:26:16.312096+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/channelbase.cpp:179 (IsTunable) ChannelBase[15]: 
> IsTunable(2011) Failed to find channel in DB on input '15'
> 2017-03-04T13:26:16.312261+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/channelbase.cpp:134 (Init) ChannelBase[15]: Setting start 
> channel '2011' failed, #012#011#011#011and we failed to find any 
> suitible channels on any input.
> 2017-03-04T13:26:16.412561+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:3686 (TuningFrequency) TVRec[15]: TuningFrequency
> 2017-03-04T13:26:16.412666+10:00 mythbackend[6777]: E TVRecEvent 
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because 
> it could not#012#011#011#011find channel number '2011' in DB for 
> source '1'.
> 2017-03-04T13:26:16.412746+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/dtvchannel.cpp:219 (SetChannelByString) 
> DTVChan[15](11102780-1): SetChannelByString(2011): Unable to find 
> channel in database.
> 2017-03-04T13:26:16.412821+10:00 mythbackend[6777]: E TVRecEvent 
> channelutil.cpp:1889 (GetChannelData) GetChannelData() failed because 
> it could not#012#011#011#011find channel number '2011' in DB for 
> source '1'.
> 2017-03-04T13:26:16.412895+10:00 mythbackend[6777]: E TVRecEvent 
> recorders/dtvchannel.cpp:219 (SetChannelByString) 
> DTVChan[15](11102780-1): SetChannelByString(2011): Unable to find 
> channel in database.
> 2017-03-04T13:26:16.412966+10:00 mythbackend[6777]: E TVRecEvent 
> tv_rec.cpp:3764 (TuningFrequency) TVRec[15]: Failed to set channel to 
> 2011. Reverting to kState_None
> 2017-03-04T13:26:16.413039+10:00 mythbackend[6777]: I TVRecEvent 
> tv_rec.cpp:1074 (HandleStateChange) TVRec[15]: Changing from 
> WatchingLiveTV to None
> 2017-03-04T13:26:16.413113+10:00 mythbackend[6777]: I 
> MythSocketThread(66) mainserver.cpp:7656 (connectionClosed) Playback 
> sock(55f5daac2ad0) 'vmmythtv' disconnected
>
>
> I have checked the Database and my channel numbers are in the 1000 
> range. I have ran mythutil --resched and guide data is coming back, I 
> use EIT and I have checked using the HDHomeRun software and the tuners 
> are working fine. I suspect the issue is database related but could 
> not guess as to where.
>
> Help me please :(
>
>
> Thanks
>
>
> Girkers
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

A good place to start is to check the health of your database.. Run 
optimize_mythdb.pl ,you may have a crashed table..

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170303/092f9162/attachment-0001.html>


More information about the mythtv-users mailing list