[mythtv-users] "Data is already present" when it isn't?

Niklas Brunlid prefect47 at gmail.com
Fri Sep 21 09:12:11 UTC 2007


Hi,

I'm having problems using tv_grab_combiner. As seen in the logs below,
mythfilldatabase thinks that channel 6 (Denmark DR1) already has data for
dates >6 days into the future, even though the grabber only gives 6 days of
data. However, looking at the "program" table directly shows it to be empty
for those dates (28 and 29 September).

Is there somewhere in the mythconverg database where I can see how many days
MythTV thinks it has for specific channels?

If I run mythfilldatabase normally (e.g. automatically from MythTV itself)
the tv_grab_dk grabber causes some errors:

2007-09-21 07:05:00.612 ----------------- Start of XMLTV output
-----------------
tv2.dk only provide information for today and the next 6 days. at
/usr/bin/tv_grab_dk line 206.
/usr/bin/tv_grab_dk exited with an error-code.
/usr/bin/tv_grab_dk returned invalid data. Ignoring.
2007-09-21 07:05:03.300 ------------------ End of XMLTV output
------------------
2007-09-21 07:05:03.311 FAILED:  xmltv returned error code 256.
2007-09-21 07:05:03.441 Updating icons for sourceid: 7
Updated programs: 437  Unchanged programs: 0
2007-09-21 07:05:08.702 Failed to fetch some program info
2007-09-21 07:05:09.674 mythfilldatabase: Failed to fetch some program info

...but the other grabbers new data (day 14) is fetched properly, and if I
clear the "program" table before running, all 6 days are properly fetched
for tv_grab_dk, and all 14 days for tv_grab_swedb...

/ Niklas


SQL:

mysql> select * from program where chanid=6 and starttime like
"%2007-09-28%";
Empty set (0.00 sec)

mysql> select * from program where chanid=6 and starttime like
"%2007-09-29%";
Empty set (0.00 sec)

mysql>


mythfilldatabase:

[root at mybox /]# mythfilldatabase --max-days 9
2007-09-21 10:58:00.679 Using runtime prefix = /usr
2007-09-21 10:58:00.691 New DB connection, total: 1
2007-09-21 10:58:00.697 Connected to database 'mythconverg' at host:
localhost
2007-09-21 10:58:00.705 New DB connection, total: 2
2007-09-21 10:58:00.705 Connected to database 'mythconverg' at host:
localhost
2007-09-21 10:58:00.707 mythfilldatabase: Listings Download Started
2007-09-21 10:58:00.786 Updating source #7 (ComHem) with grabber
tv_grab_combiner
2007-09-21 10:58:00.788 Found 15 channels for source 7 which use grabber
2007-09-21 10:58:00.796 Grabber has capabilities: baseline manualconfig
2007-09-21 10:58:00.796
2007-09-21 10:58:00.796 Checking day @ offset 0, date: Fri Sep 21 2007
2007-09-21 10:58:00.817 Data is already present for Fri Sep 21 2007,
skipping
2007-09-21 10:58:00.817
2007-09-21 10:58:00.817 Checking day @ offset 1, date: Sat Sep 22 2007
2007-09-21 10:58:00.817 Data Refresh always needed for tomorrow
2007-09-21 10:58:00.817 Refreshing data for Sat Sep 22 2007
2007-09-21 10:58:00.818 New DB connection, total: 3
2007-09-21 10:58:00.819 Connected to database 'mythconverg' at host:
localhost
2007-09-21 10:58:00.821 Grabber Command: nice tv_grab_combiner --config-file
'/root/.mythtv/ComHem.xmltv' --output /tmp/mythr7KUVL --days 1 --offset 1
2007-09-21 10:58:00.821 ----------------- Start of XMLTV output
-----------------
Running /usr/bin/tv_grab_se_swedb
downloading listings: 100%
[================================================================================================================================]Running
/usr/bin/tv_grab_dk
fetching data: ##################################################
2007-09-21 10:58:05.026 ------------------ End of XMLTV output
------------------
2007-09-21 10:58:05.087 New DB connection, total: 4
2007-09-21 10:58:05.088 Connected to database 'mythconverg' at host:
localhost
Ignoring empty timestamp.
Ignoring empty timestamp.
2007-09-21 10:58:05.166 New DB connection, total: 5
2007-09-21 10:58:05.167 Connected to database 'mythconverg' at host:
localhost
2007-09-21 10:58:05.186 Updating icons for sourceid: 7
Updated programs: 0  Unchanged programs: 454
2007-09-21 10:58:06.123
2007-09-21 10:58:06.125 Checking day @ offset 2, date: Sun Sep 23 2007
2007-09-21 10:58:06.146 Data is already present for Sun Sep 23 2007,
skipping
2007-09-21 10:58:06.146
2007-09-21 10:58:06.147 Checking day @ offset 3, date: Mon Sep 24 2007
2007-09-21 10:58:06.166 Data is already present for Mon Sep 24 2007,
skipping
2007-09-21 10:58:06.167
2007-09-21 10:58:06.167 Checking day @ offset 4, date: Tue Sep 25 2007
2007-09-21 10:58:06.187 Data is already present for Tue Sep 25 2007,
skipping
2007-09-21 10:58:06.187
2007-09-21 10:58:06.187 Checking day @ offset 5, date: Wed Sep 26 2007
2007-09-21 10:58:06.207 Data is already present for Wed Sep 26 2007,
skipping
2007-09-21 10:58:06.207
2007-09-21 10:58:06.207 Checking day @ offset 6, date: Thu Sep 27 2007
2007-09-21 10:58:06.227 Data is already present for Thu Sep 27 2007,
skipping
2007-09-21 10:58:06.227
2007-09-21 10:58:06.227 Checking day @ offset 7, date: Fri Sep 28 2007
2007-09-21 10:58:06.246 Data is already present for Fri Sep 28 2007,
skipping
2007-09-21 10:58:06.247
2007-09-21 10:58:06.247 Checking day @ offset 8, date: Sat Sep 29 2007
2007-09-21 10:58:06.267 Data is already present for Sat Sep 29 2007,
skipping
2007-09-21 10:58:06.380 Data fetching complete.
2007-09-21 10:58:06.380 Adjusting program database end times.
2007-09-21 10:58:06.491     0 replacements made
2007-09-21 10:58:06.494 mythfilldatabase: Listings Download Finished
2007-09-21 10:58:06.494 Marking generic episodes.
2007-09-21 10:58:06.581     Found 0
2007-09-21 10:58:06.581 Marking repeats.
2007-09-21 10:58:06.660     Found 0
2007-09-21 10:58:06.660 Unmarking new episode rebroadcast repeats.
2007-09-21 10:58:06.739     Found 0
2007-09-21 10:58:06.951 Marking episode first showings.
2007-09-21 10:58:09.596     Found 3207
2007-09-21 10:58:09.596 Marking episode last showings.
2007-09-21 10:58:12.277     Found 3207
2007-09-21 10:58:12.313
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2007-09-21 10:58:12.316 Connecting to backend server: 192.168.47.1:6543 (try
1 of 5)
2007-09-21 10:58:12.318 Using protocol version 31
2007-09-21 10:58:12.603 mythfilldatabase run complete.
2007-09-21 10:58:12.605 DataDirect: Deleting temporary files
[root at mybox /]#


/ Niklas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070921/bda727f8/attachment.htm 


More information about the mythtv-users mailing list