TV viewing is not working

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

TV viewing is not working

Post by gcook12 » Sun Nov 20, 2016 7:05 pm

I am not able to get TV viewing to work. SchedulesDirect Scheduling information also will not populate. When I leave backend set up I get an error that says Card 4(type MPEG2TS) is set to start on channel 0, which does not exist. Any ideas what I am doing wrong?

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Sun Nov 20, 2016 10:18 pm

I played with it for a while and the TV is working very well now but the program guide is not populating. Apparently the issue was I was starting the channels from number 0 which did not exist. Any ideas on how to get the program guide to populate?

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Sun Nov 20, 2016 10:28 pm

whats the output of

Code: Select all

mythfilldatabase

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Mon Nov 21, 2016 1:09 am

How do I locate and print out mythfilldata

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Mon Nov 21, 2016 1:09 am

Sorry I meant how do I find and print out mythfilldatabase

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Mon Nov 21, 2016 1:18 am

run it in a terminal

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Mon Nov 21, 2016 1:31 am

2016-11-20 19:30:19.707423 I From 2016-12-04T00:00:00Z to 2016-12-05T00:00:00Z (UTC)
2016-11-20 19:30:19.707457 I DataDirect: Grabbing listing data
2016-11-20 19:30:19.707559 I Downloading DataDirect feed
2016-11-20 19:30:20.110608 I Downloaded 6070 bytes
2016-11-20 19:30:20.110639 I Uncompressing DataDirect feed
2016-11-20 19:30:20.111426 I Uncompressed to 36786 bytes
2016-11-20 19:30:20.111445 I Writing to temporary file: [/tmp/mythtv_ddp_RvK9ih/mythtv_ddp_DmnDYk]
2016-11-20 19:30:20.138456 I DataDirect: Your subscription expires on Mon Sep 11 2017 10:45 PM
2016-11-20 19:30:20.469324 I Grab complete. Actual data from 2016-12-04T00:00:00Z to 2016-12-05T00:00:00Z (UTC)
2016-11-20 19:30:20.471907 I Main temp tables populated.
2016-11-20 19:30:20.477607 I Did not find any new program data.
2016-11-20 19:30:20.480693 I Source 2 configured with no grabber. Nothing to do.
2016-11-20 19:30:20.488373 E Failed to fetch some program info
2016-11-20 19:30:20.488444 I Adjusting program database end times.
2016-11-20 19:30:20.489214 I 0 replacements made
2016-11-20 19:30:20.489229 I Marking generic episodes.
2016-11-20 19:30:20.490170 I Found 0
2016-11-20 19:30:20.490186 I Extending non-unique programids with multiple parts.
2016-11-20 19:30:20.491869 I Found 0
2016-11-20 19:30:20.491884 I Fixing missing original airdates.
2016-11-20 19:30:20.493671 I Found 0 with programids
2016-11-20 19:30:20.495633 I Found 0 without programids
2016-11-20 19:30:20.495647 I Marking repeats.
2016-11-20 19:30:20.499672 I Found 0
2016-11-20 19:30:20.499690 I Unmarking new episode rebroadcast repeats.
2016-11-20 19:30:20.501004 I Found 0
2016-11-20 19:30:20.501681 I Marking episode first showings.
2016-11-20 19:30:20.505247 I Found 0
2016-11-20 19:30:20.505262 I Marking episode last showings.
2016-11-20 19:30:20.509284 I Found 0
2016-11-20 19:30:20.515286 I DataDirect: Grabbing next suggested grabbing time
2016-11-20 19:30:20.918510 I Suggested Time data: 613 bytes
2016-11-20 19:30:20.921133 I DataDirect: BlockedTime is: 2016-11-21T02:30:20Z
2016-11-20 19:30:20.921599 I DataDirect: nextSuggestedTime is: 2016-11-21T16:42:20Z
2016-11-20 19:30:20.925817 I
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2016-11-20 19:30:20.931892 N mythfilldatabase run complete.
2016-11-20 19:30:20.932266 I Waiting for threads to exit.

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Mon Nov 21, 2016 4:11 am

in backend setup, check that your video source is configured correctly, then make sure your video source is assigned to your tuner(s) in input connections, and run a channel scan. for instructions check here https://docs.google.com/document/d/19kn ... nyshowwo62

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Mon Nov 21, 2016 1:07 pm

OK. But TV viewing is working fine. It would seem that the tuners are set properly. Do I misunderstand what you are suggesting?

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Mon Nov 21, 2016 9:21 pm

video sources provide guide data. then input connections assigns guide data to channels found on your tuner(s). what i was suggesting is to go back over those sections to make sure it's configured correctly and guide data is assigned to the tuners. channel scan may or may not be needed.
Mythfilldatabase lists 2 video sources, do you have separate tuners for cable and ota? if you have multiple tuners but they all connect to the same source(ie cable or ota) you only need one video source to provide the guide data.

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Tue Nov 22, 2016 3:31 am

I did what you said and it populated the listings on the second attempt. I think I may know what is causing it. When I start Mythfrontend there is a large error message that says that it cannot communicate with mythbackend. I then have to open a terminal and start mythbackend to make the error message go away. I have not been starting mythfilldatabase when I do this but I did it the second time and the listings were populated. Seems like I do not have both of these programs set to automatically start. Is there a setting I should set?

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Wed Nov 23, 2016 1:59 am

the backend should automatically start at boot, when it's configured correctly.
run this in a terminal

Code: Select all

sudo cat /var/log/mythtv/mythbackend.log | grep error
this will list any errors the backend is longing

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Wed Nov 23, 2016 8:04 pm

Nov 22 18:09:39 gcook12-Aspire-5253 mythbackend: mythbackend[2060]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 18:09:41 gcook12-Aspire-5253 mythbackend: mythbackend[2112]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 18:09:43 gcook12-Aspire-5253 mythbackend: mythbackend[2127]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 18:09:44 gcook12-Aspire-5253 mythbackend: mythbackend[2157]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:27 gcook12-Aspire-5253 mythbackend: mythbackend[1051]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:39 gcook12-Aspire-5253 mythbackend: mythbackend[1804]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:41 gcook12-Aspire-5253 mythbackend: mythbackend[1839]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:43 gcook12-Aspire-5253 mythbackend: mythbackend[1888]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:45 gcook12-Aspire-5253 mythbackend: mythbackend[1901]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:48 gcook12-Aspire-5253 mythbackend: mythbackend[1928]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:50 gcook12-Aspire-5253 mythbackend: mythbackend[1965]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:52 gcook12-Aspire-5253 mythbackend: mythbackend[2030]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:54 gcook12-Aspire-5253 mythbackend: mythbackend[2050]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Nov 22 23:31:56 gcook12-Aspire-5253 mythbackend: mythbackend[2087]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
gcook12@gcook12-Aspire-5253:~$

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: TV viewing is not working

Post by daraden » Thu Nov 24, 2016 12:20 am

there should be more to that if you scroll up. try running

Code: Select all

systemctl status mythtv-backend.service
it should have an error in the output. in backend setup>general check that the local backend ipv4 address and the master backend ip address match.

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: TV viewing is not working

Post by gcook12 » Thu Nov 24, 2016 1:41 am

This is the printout I will look in the setup general

gcook12@gcook12-Aspire-5253:~$ systemctl status mythtv-backend.service
● mythtv-backend.service - MythTV Backend
Loaded: loaded (/lib/systemd/system/mythtv-backend.service; enabled; vendor p
Active: inactive (dead) (Result: exit-code) since Tue 2016-11-22 23:31:57 CST
Docs: https://www.mythtv.org/wiki/Mythbackend
Process: 2087 ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITION
Main PID: 2087 (code=exited, status=138)

Nov 22 23:31:56 gcook12-Aspire-5253 systemd[1]: mythtv-backend.service: Main pro
Nov 22 23:31:56 gcook12-Aspire-5253 systemd[1]: mythtv-backend.service: Unit ent
Nov 22 23:31:56 gcook12-Aspire-5253 systemd[1]: mythtv-backend.service: Failed w
Nov 22 23:31:57 gcook12-Aspire-5253 systemd[1]: mythtv-backend.service: Service
Nov 22 23:31:57 gcook12-Aspire-5253 systemd[1]: Stopped MythTV Backend.
Nov 22 23:31:57 gcook12-Aspire-5253 systemd[1]: mythtv-backend.service: Start re
Nov 22 23:31:57 gcook12-Aspire-5253 systemd[1]: Failed to start MythTV Backend.
lines 1-14/14 (END)

Post Reply