Live TV and recordings not starting [SOLVED]
Posted: Sat Jul 19, 2014 9:24 am
I have checked the logs and there appears to be a problem with the way I have configured it.
Here is the main log
2014-07-19 19:06:05.139388 E [304/3335] CoreContext livetvchain.cpp:289 (GetEntryAt) - It appears that your backend may be misconfigured. Check your backend logs to determine whether your capture cards, lineups, channels, or storage configuration are reporting errors. This issue is commonly caused by failing to complete all setup steps properly. You may wish to review the documentation for mythtv-setup.
2014-07-19 19:06:05.139413 E [304/3335] CoreContext livetvchain.cpp:306 (EntryToProgram) - EntryToProgram(0@1970-01-01T10:00:00) failed to get pginfo
2014-07-19 19:06:05.139420 E [304/3335] CoreContext tv_play.cpp:2282 (HandleStateChange) - TV: HandleStateChange(): LiveTV not successfully started
2014-07-19 19:06:05.139633 E [304/3335] CoreContext tv_play.cpp:2315 (HandleStateChange) - TV: LiveTV not successfully started
2014-07-19 19:06:05.140054 I [304/3335] CoreContext tv_play.cpp:2550 (HandleStateChange) - TV: Main UI disabled.
2014-07-19 19:06:05.140075 E [304/3335] CoreContext tv_play.cpp:8621 (DoEditSchedule) - TV: doEditSchedule(): no active ctx playingInfo.
2014-07-19 19:06:05.140088 I [304/3335] CoreContext tv_play.cpp:411 (StartTV) - TV: Entering main playback loop.
And from the backend
2014-07-19 19:07:44.869594 E [204/12035] EIT mythdb.cpp:183 (DBError) - DB Error (programrating insert):
Query was:
INSERT INTO programrating ( chanid, starttime, system, rating) VALUES (?, ?, ?, ?)
Bindings were:
:CHANID=1007, :RATING="G", :START=2014-07-25T07:30:00Z, :SYS=""
Driver error was [2/1062]:
QMYSQL3: Unable to execute statement
Database error was:
Duplicate entry '1007-2014-07-25 07:30:00--G' for key 'chanid'
2014-07-19 19:07:47.638620 E [204/11051] TVRecEvent dtvmultiplex.cpp:327 (ParseTuningParams) - DTVMux: ParseTuningParams -- Unknown tuner type = 0xffffffff80000000
2014-07-19 19:07:47.638649 E [204/11051] TVRecEvent recorders/dtvchannel.cpp:319 (SetChannelByString) - DTVChan[1](12102BE8-0): SetChannelByString(3): Failed to initialize multiplex options
2014-07-19 19:07:47.638657 E [204/11051] TVRecEvent tv_rec.cpp:3792 (TuningFrequency) - TVRec[1]: Failed to set channel to 3. Reverting to kState_None
2014-07-19 19:12:36.196754 I [204/12547] Scheduler scheduler.cpp:2099 (HandleReschedule) - Reschedule requested for MATCH 0 1 1 2014-07-26T21:00:00Z EITScanner
2014-07-19 19:12:36.224649 I [204/12547] Scheduler scheduler.cpp:2212 (HandleReschedule) - Scheduled 0 items in 0.0 = 0.00 match + 0.00 check + 0.00 place
Restart the backend
Listening on TCP [fe80::6a5b:35ff:fe89:a44d%en0]:6544
2014-07-19 19:16:48.128661 I [444/1287] CoreContext main_helpers.cpp:668 (run_backend) - Main::Registering HttpStatus Extension
2014-07-19 19:16:48.130825 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP 127.0.0.1:6543
2014-07-19 19:16:48.130896 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP 192.168.0.225:6543
2014-07-19 19:16:48.131014 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [::1]:6543
2014-07-19 19:16:48.131125 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [fe80::1%lo0]:6543
2014-07-19 19:16:48.131249 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [fe80::6a5b:35ff:fe89:a44d%en0]:6543
2014-07-19 19:16:48.138563 N [444/1287] CoreContext autoexpire.cpp:264 (CalcParams) - AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2014-07-19 19:16:49.016341 I [444/1287] CoreContext bonjourregister.cpp:115 (BonjourCallback) - Bonjour: Service registration complete: name 'Mythbackend on media.local' type '_mythbackend._tcp.' domain: 'local.'
2014-07-19 19:16:49.902338 I [444/12547] Scheduler scheduler.cpp:2099 (HandleReschedule) - Reschedule requested for MATCH 0 0 0 - SchedulerInit
2014-07-19 19:16:50.508608 I [444/12547] Scheduler scheduler.cpp:2212 (HandleReschedule) - Scheduled 0 items in 0.0 = 0.00 match + 0.00 check + 0.01 place
2014-07-19 19:16:50.509568 I [444/12547] Scheduler scheduler.cpp:2279 (HandleRunSchedulerStartup) - Scheduler: Seem to be woken up by USER
2014-07-19 19:18:06.216690 N [444/12803] Expire autoexpire.cpp:264 (CalcParams) - AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Everything works.
Any ideas????
Here is the main log
2014-07-19 19:06:05.139388 E [304/3335] CoreContext livetvchain.cpp:289 (GetEntryAt) - It appears that your backend may be misconfigured. Check your backend logs to determine whether your capture cards, lineups, channels, or storage configuration are reporting errors. This issue is commonly caused by failing to complete all setup steps properly. You may wish to review the documentation for mythtv-setup.
2014-07-19 19:06:05.139413 E [304/3335] CoreContext livetvchain.cpp:306 (EntryToProgram) - EntryToProgram(0@1970-01-01T10:00:00) failed to get pginfo
2014-07-19 19:06:05.139420 E [304/3335] CoreContext tv_play.cpp:2282 (HandleStateChange) - TV: HandleStateChange(): LiveTV not successfully started
2014-07-19 19:06:05.139633 E [304/3335] CoreContext tv_play.cpp:2315 (HandleStateChange) - TV: LiveTV not successfully started
2014-07-19 19:06:05.140054 I [304/3335] CoreContext tv_play.cpp:2550 (HandleStateChange) - TV: Main UI disabled.
2014-07-19 19:06:05.140075 E [304/3335] CoreContext tv_play.cpp:8621 (DoEditSchedule) - TV: doEditSchedule(): no active ctx playingInfo.
2014-07-19 19:06:05.140088 I [304/3335] CoreContext tv_play.cpp:411 (StartTV) - TV: Entering main playback loop.
And from the backend
2014-07-19 19:07:44.869594 E [204/12035] EIT mythdb.cpp:183 (DBError) - DB Error (programrating insert):
Query was:
INSERT INTO programrating ( chanid, starttime, system, rating) VALUES (?, ?, ?, ?)
Bindings were:
:CHANID=1007, :RATING="G", :START=2014-07-25T07:30:00Z, :SYS=""
Driver error was [2/1062]:
QMYSQL3: Unable to execute statement
Database error was:
Duplicate entry '1007-2014-07-25 07:30:00--G' for key 'chanid'
2014-07-19 19:07:47.638620 E [204/11051] TVRecEvent dtvmultiplex.cpp:327 (ParseTuningParams) - DTVMux: ParseTuningParams -- Unknown tuner type = 0xffffffff80000000
2014-07-19 19:07:47.638649 E [204/11051] TVRecEvent recorders/dtvchannel.cpp:319 (SetChannelByString) - DTVChan[1](12102BE8-0): SetChannelByString(3): Failed to initialize multiplex options
2014-07-19 19:07:47.638657 E [204/11051] TVRecEvent tv_rec.cpp:3792 (TuningFrequency) - TVRec[1]: Failed to set channel to 3. Reverting to kState_None
2014-07-19 19:12:36.196754 I [204/12547] Scheduler scheduler.cpp:2099 (HandleReschedule) - Reschedule requested for MATCH 0 1 1 2014-07-26T21:00:00Z EITScanner
2014-07-19 19:12:36.224649 I [204/12547] Scheduler scheduler.cpp:2212 (HandleReschedule) - Scheduled 0 items in 0.0 = 0.00 match + 0.00 check + 0.00 place
Restart the backend
Listening on TCP [fe80::6a5b:35ff:fe89:a44d%en0]:6544
2014-07-19 19:16:48.128661 I [444/1287] CoreContext main_helpers.cpp:668 (run_backend) - Main::Registering HttpStatus Extension
2014-07-19 19:16:48.130825 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP 127.0.0.1:6543
2014-07-19 19:16:48.130896 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP 192.168.0.225:6543
2014-07-19 19:16:48.131014 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [::1]:6543
2014-07-19 19:16:48.131125 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [fe80::1%lo0]:6543
2014-07-19 19:16:48.131249 I [444/1287] CoreContext serverpool.cpp:399 (listen) - Listening on TCP [fe80::6a5b:35ff:fe89:a44d%en0]:6543
2014-07-19 19:16:48.138563 N [444/1287] CoreContext autoexpire.cpp:264 (CalcParams) - AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2014-07-19 19:16:49.016341 I [444/1287] CoreContext bonjourregister.cpp:115 (BonjourCallback) - Bonjour: Service registration complete: name 'Mythbackend on media.local' type '_mythbackend._tcp.' domain: 'local.'
2014-07-19 19:16:49.902338 I [444/12547] Scheduler scheduler.cpp:2099 (HandleReschedule) - Reschedule requested for MATCH 0 0 0 - SchedulerInit
2014-07-19 19:16:50.508608 I [444/12547] Scheduler scheduler.cpp:2212 (HandleReschedule) - Scheduled 0 items in 0.0 = 0.00 match + 0.00 check + 0.01 place
2014-07-19 19:16:50.509568 I [444/12547] Scheduler scheduler.cpp:2279 (HandleRunSchedulerStartup) - Scheduler: Seem to be woken up by USER
2014-07-19 19:18:06.216690 N [444/12803] Expire autoexpire.cpp:264 (CalcParams) - AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Everything works.
Any ideas????