Author Topic: Problems setting up mythtv and tvcapture card  (Read 667 times)

tux-box1

  • Veteran
  • ***
  • Posts: 80
    • View Profile
Problems setting up mythtv and tvcapture card
« on: March 01, 2012, 12:15:25 am »
Ok first I did read the following web sites.
http://wiki.linuxmce.org/index.php/Setting_up_MythTV
http://wiki.linuxmce.org/index.php/Control_a_TV_or_cable/satellite_box
http://wiki.linuxmce.org/index.php/Capture_Cards
http://wiki.linuxmce.org/index.php/Hauppauge_WinTV-HVR-2250

To start the first problem I have is when I open up the MythTV setup under computing, the bottom X, keyboard and power icon cover up the configuration interface for MythTV making it difficult to see if I'm hitting back or what ever. If some one can point out how I can fix this that would help with the rest of the problems.

Next problem, I have no channels, Ive done the schedules direct thing, even mythfilldatabase as:
Regular user using sudo
Code: [Select]

Linux dcerouter 2.6.27-17-generic #1 SMP Fri Mar 12 03:09:00 UTC 2010 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Wed Feb 29 07:07:28 2012 from 192.168.3.50
---@dcerouter:~$ mythfilldatabase
2012-02-29 07:27:34.539 Using runtime prefix = /usr
2012-02-29 07:27:34.539 Using configuration directory = /home/bourne/.mythtv
2012-02-29 07:27:34.539 Unable to read configuration file mysql.txt
2012-02-29 07:27:34.539 Empty LocalHostName.
2012-02-29 07:27:34.539 Using localhost value of dcerouter
2012-02-29 07:27:34.544 New DB connection, total: 1
2012-02-29 07:27:34.547 Unable to connect to database!
2012-02-29 07:27:34.547 Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)


2012-02-29 07:27:35.610 UPnPautoconf() - Found one UPnP backend
2012-02-29 07:27:35.858 Closing DB connection named 'DBManager0'
2012-02-29 07:27:35.859 Connected to database 'mythconverg' at host: localhost
2012-02-29 07:27:35.860 Closing DB connection named 'DBManager0'
2012-02-29 07:27:35.860 Deleting UPnP client...
2012-02-29 07:27:38.236 Connected to database 'mythconverg' at host: localhost
2012-02-29 07:27:38.241 Current MythTV Schema Version (DBSchemaVer): 1254
2012-02-29 07:27:38.244 New DB connection, total: 2
2012-02-29 07:27:38.246 Connected to database 'mythconverg' at host: localhost
2012-02-29 07:27:38.247 Updating source #1 (Provider 1) with grabber schedulesdi                                                              rect1
2012-02-29 07:27:38.257 No channels are configured to use grabber.
2012-02-29 07:27:38.257
2012-02-29 07:27:38.257 Checking day @ offset 0, date: Wed Feb 29 2012
2012-02-29 07:27:38.260 Data refresh needed because no data exists for day @ off                                                              set 0 from 8PM - midnight.
2012-02-29 07:27:38.260 Refreshing data for Wed Feb 29 2012
2012-02-29 07:27:38.260 New DB DataDirect connection
2012-02-29 07:27:38.263 Connected to database 'mythconverg' at host: localhost
2012-02-29 07:27:38.264 Retrieving datadirect data.
2012-02-29 07:27:38.264 Grabbing data for Wed Feb 29 2012 offset 0
2012-02-29 07:27:38.265 From Wed Feb 29 06:00:00 2012 to Thu Mar 1 06:00:00 2012                                                               (UTC)
2012-02-29 07:27:38.265 Grabbing listing data
--2012-02-29 07:27:38--  http://webservices.schedulesdirect.tmsdatadirect.com/sc                                                              hedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80..                                                              . connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80..                                                              . connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [   <=>                                 ] 32,536      13.0K/s              2012-02-29 07:27:41.234 New DB connection, total: 3
2012-02-29 07:27:41.235 Connected to database 'mythconverg' at host: localhost
2012-02-29 07:27:41.238 DataDirect: Your subscription expires on Tue 5 March (2013) 15:48
2012-02-29 07:27:41.469 sourceid 1 has lineup type: Cable
    [                     <=>                                                                             ] 622,615     31.9K/s   in 19s

2012-02-29 07:27:59 (31.9 KB/s) - `-' saved [622615]

2012-02-29 07:28:03.669 Grab complete.  Actual data from Wed Feb 29 06:00:00 2012 to Thu Mar 1 06:00:00 2012 (UTC)
2012-02-29 07:28:03.669 Main temp tables populated.
2012-02-29 07:28:03.669 Updating myth channels.
2012-02-29 07:28:03.683 SourceUtil::IsProperlyConnected(): Source ID 1 appears to be connected
                        to 0 analog tuners,and 0 digital tuners.
                        Can't mix analog and digital tuning information.
2012-02-29 07:28:03.683 SourceUtil::IsProperlyConnected(): Source ID 1 appears to be connected
                        to 1 encoder, and 1 non-encoder. This is probably a bad idea.
2012-02-29 07:28:03.684 IconData: Updating icons for sourceid: 1
2012-02-29 07:28:03.693 Channels updated.
2012-02-29 07:28:03.700 Did not find any new program data.
2012-02-29 07:28:03.700
2012-02-29 07:28:03.700 Checking day @ offset 1, date: Thu Mar 1 2012
2012-02-29 07:28:03.700 Data Refresh always needed for tomorrow
2012-02-29 07:28:03.700 Refreshing data for Thu Mar 1 2012
2012-02-29 07:28:03.701 Retrieving datadirect data.
2012-02-29 07:28:03.701 Grabbing data for Wed Feb 29 2012 offset 1
2012-02-29 07:28:03.701 From Thu Mar 1 06:00:00 2012 to Fri Mar 2 06:00:00 2012 (UTC)
2012-02-29 07:28:03.701 Grabbing listing data
--2012-02-29 07:28:03--  http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [    <=>                                                                                              ] 32,518      11.2K/s              2012-02-29 07:28:07.067 DataDirect: Your subscription expires on Tue 5 March (2013) 15:48
    [                        <=>                                                                          ] 618,394     36.2K/s   in 17s

2012-02-29 07:28:20 (36.2 KB/s) - `-' saved [618394]
~~~~~~ cut text to end of file ~~~~~~

2012-02-29 07:33:36.284 Grab complete.  Actual data from Tue Mar 13 06:00:00 2012 to Wed Mar 14 06:00:00 2012 (UTC)
2012-02-29 07:33:36.285 Main temp tables populated.
2012-02-29 07:33:36.294 Did not find any new program data.
2012-02-29 07:33:36.295 Source 2 configured with no grabber. Nothing to do.
2012-02-29 07:33:36.295 Failed to fetch some program info
2012-02-29 07:33:36.296 Adjusting program database end times.
2012-02-29 07:33:36.296     0 replacements made
2012-02-29 07:33:36.296 Marking generic episodes.
2012-02-29 07:33:36.297     Found 0
2012-02-29 07:33:36.297 Fudging non-unique programids with multiple parts.
2012-02-29 07:33:36.297     Found 0
2012-02-29 07:33:36.297 Marking repeats.
2012-02-29 07:33:36.299     Found 0
2012-02-29 07:33:36.299 Unmarking new episode rebroadcast repeats.
2012-02-29 07:33:36.299     Found 0
2012-02-29 07:33:36.299 Marking episode first showings.
2012-02-29 07:33:36.300     Found 0
2012-02-29 07:33:36.300 Marking episode last showings.
2012-02-29 07:33:36.301     Found 0
2012-02-29 07:33:36.303 Grabbing next suggested grabbing time
2012-02-29 07:33:36.697 DataDirect: BlockedTime is: 2012-02-29T07:33:36
2012-02-29 07:33:36.698 DataDirect: NextSuggestedTime is: 2012-02-29T23:59:07
2012-02-29 07:33:36.702
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2012-02-29 07:33:36.709 MythContext: Connecting to backend server: 192.168.80.1:6543 (try 1 of 1)
2012-02-29 07:33:36.710 Using protocol version 56
2012-02-29 07:33:37.942 Received a remote 'Clear Cache' request
2012-02-29 07:33:38.944 mythfilldatabase run complete.
2012-02-29 07:33:38.944 DataDirect: Deleting temporary files


root
Code: [Select]
2012-02-29 08:22:47 (18.6 KB/s) - `-' saved [545566]

2012-02-29 08:22:52.053 Grab complete.  Actual data from Mon Mar 12 06:00:00 2012 to Tue Mar 13 06:00:00 2012 (UTC)
2012-02-29 08:22:52.054 Main temp tables populated.
2012-02-29 08:22:52.059 Did not find any new program data.
2012-02-29 08:22:52.059
2012-02-29 08:22:52.059 Checking day @ offset 13, date: Tue Mar 13 2012
2012-02-29 08:22:52.061 Data refresh needed because no data exists for day @ offset 13 from 8PM - midnight.
2012-02-29 08:22:52.061 Refreshing data for Tue Mar 13 2012
2012-02-29 08:22:52.062 Retrieving datadirect data.
2012-02-29 08:22:52.062 Grabbing data for Wed Feb 29 2012 offset 13
2012-02-29 08:22:52.062 From Tue Mar 13 06:00:00 2012 to Wed Mar 14 06:00:00 2012 (UTC)
2012-02-29 08:22:52.062 Grabbing listing data
--2012-02-29 08:22:52--  http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

    [            <=>                                                                                                                          ] 30,198       512B/s              2012-02-29 08:23:03.521 DataDirect: Your subscription expires on Tue 5 March (2013) 15:48
    [                                <=>                                                                                                      ] 536,698     29.4K/s   in 27s

2012-02-29 08:23:19 (19.6 KB/s) - `-' saved [536698]

2012-02-29 08:23:23.216 Grab complete.  Actual data from Tue Mar 13 06:00:00 2012 to Wed Mar 14 06:00:00 2012 (UTC)
2012-02-29 08:23:23.217 Main temp tables populated.
2012-02-29 08:23:23.224 Did not find any new program data.
2012-02-29 08:23:23.225 Source 2 configured with no grabber. Nothing to do.
2012-02-29 08:23:23.226 Failed to fetch some program info
2012-02-29 08:23:23.226 Adjusting program database end times.
2012-02-29 08:23:23.227     0 replacements made
2012-02-29 08:23:23.227 Marking generic episodes.
2012-02-29 08:23:23.227     Found 0
2012-02-29 08:23:23.227 Fudging non-unique programids with multiple parts.
2012-02-29 08:23:23.228     Found 0
2012-02-29 08:23:23.228 Marking repeats.
2012-02-29 08:23:23.229     Found 0
2012-02-29 08:23:23.229 Unmarking new episode rebroadcast repeats.
2012-02-29 08:23:23.230     Found 0
2012-02-29 08:23:23.230 Marking episode first showings.
2012-02-29 08:23:23.231     Found 0
2012-02-29 08:23:23.231 Marking episode last showings.
2012-02-29 08:23:23.232     Found 0
2012-02-29 08:23:23.233 Grabbing next suggested grabbing time
2012-02-29 08:23:23.632 DataDirect: BlockedTime is: 2012-02-29T08:23:23
2012-02-29 08:23:23.633 DataDirect: NextSuggestedTime is: 2012-02-29T19:19:52
2012-02-29 08:23:23.636
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2012-02-29 08:23:23.642 MythContext: Connecting to backend server: 192.168.80.1:6543 (try 1 of 1)
2012-02-29 08:23:23.644 Using protocol version 56
2012-02-29 08:23:23.673 Received a remote 'Clear Cache' request
2012-02-29 08:23:24.676 mythfilldatabase run complete.
2012-02-29 08:23:24.676 DataDirect: Deleting temporary files
dcerouter_1026584:~#

mythtv
Code: [Select]
---@dcerouter:~$ sudo su - mythtv
mythtv@dcerouter:~$ mythfilldatabase
2012-02-29 13:12:15.525 Using runtime prefix = /usr
2012-02-29 13:12:15.525 Using configuration directory = /var/lib/mythtv/.mythtv
2012-02-29 13:12:15.525 Empty LocalHostName.
2012-02-29 13:12:15.525 Using localhost value of dcerouter
2012-02-29 13:12:15.529 New DB connection, total: 1
2012-02-29 13:12:15.534 Connected to database 'mythconverg' at host: localhost
2012-02-29 13:12:15.534 Closing DB connection named 'DBManager0'
2012-02-29 13:12:15.534 Connected to database 'mythconverg' at host: localhost
2012-02-29 13:12:15.536 Current MythTV Schema Version (DBSchemaVer): 1254
2012-02-29 13:12:15.537 New DB connection, total: 2
2012-02-29 13:12:15.538 Connected to database 'mythconverg' at host: localhost
2012-02-29 13:12:15.539 Updating source #1 (Provider 1) with grabber schedulesdirect1
2012-02-29 13:12:15.540 No channels are configured to use grabber.
2012-02-29 13:12:15.540
2012-02-29 13:12:15.540 Checking day @ offset 0, date: Wed Feb 29 2012
2012-02-29 13:12:15.542 Data refresh needed because no data exists for day @ offset 0 from 8PM - midnight.
2012-02-29 13:12:15.542 Refreshing data for Wed Feb 29 2012
2012-02-29 13:12:15.543 This DataDirect listings source is shared by 2 MythTV lineups
2012-02-29 13:12:15.543 We should keep data around after this one
2012-02-29 13:12:15.543 New DB DataDirect connection
2012-02-29 13:12:15.543 Connected to database 'mythconverg' at host: localhost
2012-02-29 13:12:15.544 Retrieving datadirect data.
2012-02-29 13:12:15.544 Grabbing data for Wed Feb 29 2012 offset 0
2012-02-29 13:12:15.544 From Wed Feb 29 06:00:00 2012 to Thu Mar 1 06:00:00 2012 (UTC)
2012-02-29 13:12:15.544 Grabbing listing data
2012-02-29 13:12:15.548 DataDirect: Saving listings to DD cache
--2012-02-29 13:12:15--  http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService
Resolving webservices.schedulesdirect.tmsdatadirect.com... 144.142.232.53
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to webservices.schedulesdirect.tmsdatadirect.com|144.142.232.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'

2012-02-29 13:38:55.747 Checking day @ offset 13, date: Tue Mar 13 2012
2012-02-29 13:38:55.749 Data refresh needed because no data exists for day @ offset 13 from 8PM - midnight.
2012-02-29 13:38:55.749 Refreshing data for Tue Mar 13 2012
2012-02-29 13:38:55.749 This DataDirect listings source is shared by 2 MythTV lineups
2012-02-29 13:38:55.749 We should use cached data for this one
2012-02-29 13:38:55.749 Retrieving datadirect data.
2012-02-29 13:38:55.749 Grabbing data for Wed Feb 29 2012 offset 13
2012-02-29 13:38:55.749 From Tue Mar 13 06:00:00 2012 to Wed Mar 14 06:00:00 2012 (UTC)
2012-02-29 13:38:55.749 Grabbing listing data
2012-02-29 13:38:55.749 DataDirect: Copying from DD cache
2012-02-29 13:38:55.760 DataDirect: Your subscription expires on Tue Mar 5 (2013) 3:48 PM
2012-02-29 13:39:11.201 Grab complete.  Actual data from Tue Mar 13 06:00:00 2012 to Wed Mar 14 06:00:00 2012 (UTC)
2012-02-29 13:39:11.201 Main temp tables populated.
2012-02-29 13:39:11.207 Did not find any new program data.
2012-02-29 13:39:11.208 Failed to fetch some program info
2012-02-29 13:39:11.209 Adjusting program database end times.
2012-02-29 13:39:11.209     0 replacements made
2012-02-29 13:39:11.209 Marking generic episodes.
2012-02-29 13:39:11.210     Found 0
2012-02-29 13:39:11.210 Fudging non-unique programids with multiple parts.
2012-02-29 13:39:11.211     Found 0
2012-02-29 13:39:11.211 Marking repeats.
2012-02-29 13:39:11.213     Found 0
2012-02-29 13:39:11.213 Unmarking new episode rebroadcast repeats.
2012-02-29 13:39:11.214     Found 0
2012-02-29 13:39:11.214 Marking episode first showings.
2012-02-29 13:39:11.216     Found 0
2012-02-29 13:39:11.216 Marking episode last showings.
2012-02-29 13:39:11.217     Found 0
2012-02-29 13:39:11.220 Grabbing next suggested grabbing time
2012-02-29 13:39:11.653 DataDirect: BlockedTime is: 2012-02-29T13:39:11
2012-02-29 13:39:11.654 DataDirect: NextSuggestedTime is: 2012-03-01T11:58:29
2012-02-29 13:39:11.658
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2012-02-29 13:39:11.664 MythContext: Connecting to backend server: 192.168.80.1:6543 (try 1 of 1)
2012-02-29 13:39:11.665 Connection to master server timed out.
                        Either the server is down or the master server settings
                        in mythtv-settings does not contain the proper IP address

2012-02-29 13:39:11.665 Error rescheduling id -1 in ScheduledRecording::signalChange
2012-02-29 13:39:11.665 MythContext: Connecting to backend server: 192.168.80.1:6543 (try 1 of 1)
2012-02-29 13:39:11.665 Connection to master server timed out.
                        Either the server is down or the master server settings
                        in mythtv-settings does not contain the proper IP address

2012-02-29 13:39:11.666 MythContext: Connecting to backend server: 192.168.80.1:6543 (try 1 of 1)
2012-02-29 13:39:11.666 Connection to master server timed out.
                        Either the server is down or the master server settings
                        in mythtv-settings does not contain the proper IP address

2012-02-29 13:39:12.667 mythfilldatabase run complete.
2012-02-29 13:39:12.670 DataDirect: Deleting temporary files
mythtv@dcerouter:~$

When I use the web interface "mythtv status" at the bottom is
Code: [Select]
Last mythfilldatabase run started on 2012-02-29 13:38 and ended on 2012-02-29 13:39.
Suggested next mythfilldatabase run: 2012-03-01 11:58.
There's no guide data available! Have you run mythfilldatabase?
DataDirect Status: Your subscription expires on Tue Mar 5 (2013) 3:48 PM

Can any one point me in the right direction?

tux-box1

  • Veteran
  • ***
  • Posts: 80
    • View Profile
Re: Problems setting up mythtv and tvcapture card
« Reply #1 on: March 01, 2012, 08:03:39 pm »
Ok so I do have mythtv setup and can view a few channels.
I still have no guide data, I don't understand why. I followed the directions for setting up mythtv, ran mythfilldatabase as mythtv.
Another problem I have is some channels crash mythtv and I can't view any thing using mythtv until I reload the core.
Any thoughts?
Thanks