Author |
Message |
mdworschak
|
Posted: Sat Jan 21, 2006 4:54 am |
|
Joined: Thu Jan 06, 2005 4:50 am
Posts: 5
|
Hello
seems that I can't load any program information anylonger  This was working fine for months but it seems that it stopped working a view days ago. Does anybody know if there was a change on TV Today? I am using tv_grab_de_tvtoday.in,v 1.28. When running the script manually I get the following:
root@video:/etc/cron.daily# ./mythtv-backend
2006-01-21 11:39:42.214 New DB connection, total: 1
2006-01-21 11:39:42.238 New DB connection, total: 2
2006-01-21 11:39:42.244 New DB connection, total: 3
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
2006-01-21 11:39:46.337 New DB connection, total: 4
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
2006-01-21 11:39:54.303 New DB connection, total: 5
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
Died at /usr/bin/tv_grab_de_tvtoday line 678.
Error in 4:201: unexpected end of file
Failed to fetch some program info
2006-01-21 11:40:18.471 mythfilldatabase: Failed to fetch some program info
Any help or info is greatly appreciated.
Thanks
Martin
|
|
Top |
|
 |
joerg
|
Posted: Sat Jan 21, 2006 5:28 pm |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
There has been something changed on tvtoday.de so the script can't work properly. As far I#ve seen there exists a new version which should have been fixed, but I cannot get it work under R5A22...
Just look at the mailing list of xmltv, which you can find here:
http://membled.com/work/apps/xmltv/
|
|
Top |
|
 |
joerg
|
Posted: Sun Jan 22, 2006 4:55 am |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
Finally i got it to work again. I put the fixed script on my webspace as soon as possible.
[Update]
HERE http://www.cta-info.de/linux/tv_grab_de_tvtoday you can get the fixed script. Maybe you should take a look in the script for $SHARE_DIR and configure it (if you don't have done it before you don't need to do it now).
|
|
Top |
|
 |
mdworschak
|
Posted: Tue Jan 24, 2006 2:46 pm |
|
Joined: Thu Jan 06, 2005 4:50 am
Posts: 5
|
Great - thanks. This has also fixed the issue for me 
|
|
Top |
|
 |
beamland
|
Posted: Wed Jan 25, 2006 3:14 am |
|
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location:
Switzerland
|
This also fixed it for me, THANKS!
However, just in case others want to know a bit more about it:
1. The script to be updated resides in /usr/bin
2. Configure the $SHARE_DIR variable in the script (line 260)... should look like this: Code: my $SHARE_DIR = '/usr/share/xmltv';
|
|
Top |
|
 |
beamland
|
Posted: Wed Jan 25, 2006 5:13 am |
|
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location:
Switzerland
|
Well, the fixed script grabs again epg data from tvtoday.de. This is good... but now I have a new problem: a lot of unwanted asterisks (*) in the program description! Didn't see this before I updated the script.
e.g. on RTL2, 25.01.2006, 20:15 - 22:05 the program title is "Stargate" and the description looks like "S * c * i * - * F * i * - * S * e * r * i * e * - * M * o * e * b * i * u * s"
I'm still on KnoppMyth R5A20 and very happy with it! My version of xmltv / tv_grab_de_tvtoday is:
Code: # perl /usr/bin/tv_grab_de_tvtoday --version XMLTV module version 0.5.40 This is tv_grab_de_tvtoday.in version 1.29, 2006/01/08 10:55:02
Didn't find a solution to this behaviour. Does anybody else see this as well? The program titles are ok. BTW: I also see some messages when running mythfilldatabase telling me something like: Code: desc element: stripping trailing whitespace from value 'S * p * o * r * t * m * a * g * a * z * i * n * - * W ....." ' for desc at /usr/local/share/perl/5.8.4/XMLTV.pm line 1730. bad data inside programme element, not writing
or also (don't think this one is related to the asterisks problem and probably can be ignored... but anyway, here it goes): Code: unknown show feature: Dolby Surround at /usr/bin/tv_grab_de_tvtoday line 755.
Thanks to anyone helping to solve this one!
|
|
Top |
|
 |
joerg
|
Posted: Wed Jan 25, 2006 1:58 pm |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
beamland wrote: This also fixed it for me, THANKS! However, just in case others want to know a bit more about it: 1. The script to be updated resides in /usr/bin 2. Configure the $SHARE_DIR variable in the script (line 260)... should look like this: Code: my $SHARE_DIR = '/usr/share/xmltv'; Normaly there should no changes to be done. Except you are encountering problems with the grab script. Only if you get an error message like "channel_ids not found you should change the "$SHARE_DIR" path. beamland wrote: e.g. on RTL2, 25.01.2006, 20:15 - 22:05 the program title is "Stargate" and the description looks like "S * c * i * - * F * i * - * S * e * r * i * e * - * M * o * e * b * i * u * s" I am also encountering the "asterisk problem". Maybe i can find a solution with the help of the mailing list. beamland wrote: BTW: I also see some messages when running mythfilldatabase telling me something like: Code: desc element: stripping trailing whitespace from value 'S * p * o * r * t * m * a * g * a * z * i * n * - * W ....." ' for desc at /usr/local/share/perl/5.8.4/XMLTV.pm line 1730. bad data inside programme element, not writing
Well, the pages of tvtoday.de have been changed. Maybe this this error shows why the asterisk problem occurs. beamland wrote: or also (don't think this one is related to the asterisks problem and probably can be ignored... but anyway, here it goes): Code: unknown show feature: Dolby Surround at /usr/bin/tv_grab_de_tvtoday line 755.
*g* The script doesn't know Dolby Surround as a show feature. The pages of tvtoday.de are being parsed by the script looking for show features and Dolby Surround is not listed in the script. So it is recognized, but does not have any effect.
|
|
Top |
|
 |
joerg
|
Posted: Wed Jan 25, 2006 5:16 pm |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
OK, I found the reason. The asterisk is used for avoiding errors. Everytime the Description field is filled with Episode Name etc. it is inserted automatically.
For Example:
Code: Beschreibung: D 2004 * Bei der Eröffnung des Swingerclubs "Safari" stolpert Olga, Geliebte von Landrat Heilmeyer (Francis Fulton-Smith), über eine Leiche. Heilmeyers Ehefrau war auch im Club. Ist sie in den Mord verwickelt? Berghammer (Ottfried Fischer) und Kollegin Lorenz hören sich bei den Moralaposteln um... Fischer agiert träge inmitten einer überkonstruierten Geschichte und überforderten Mitspielern.
Also an asterisk, but to seperate the description and country of production.
Quote: Beschreibung: A * r * z * t * s * e * r * i * e * - * M * a * n * y * a * M * a * b * i * k * a * - * F * r * e * e * - * T * V * - * P * r * e * m * i * e * r * e * "Manya Mabika" wurde als Kind bei einem Beschneidungsritual verstümmelt. Die Schönheitschirurgen Christian und Sean (Dylan Walsh, l.) helfen ihr. Zu Hause ist Sean nicht so erfolgreich. Seine Frau fühlt sich unbefriedigt. So suchen sie Lebensberaterin Ava (Famke Janssen, M.) auf.
A lot more information which seems not to be sorted the right way.
|
|
Top |
|
 |
beamland
|
Posted: Thu Jan 26, 2006 1:38 am |
|
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location:
Switzerland
|
joerg wrote: Normaly there should no changes to be done. Except you are encountering problems with the grab script. Only if you get an error message like "channel_ids not found you should change the "$SHARE_DIR" path.
Yes, I had the "channel_ids not found" error. Because of that, I looked at the "old" tv_grab_de_tvtoday script ( version 1.28 ) on my other KnoppMyth frontend box for reference. There the $SHARE_DIR is set to "/usr/share/xmltv". That's why I changed it in version 1.29.
In the meantime I run the grabber with option "--nosqueezeout". This seems preventing the insertion of all these asterisks. But of course I would be very happy with a script of tv_grab_de_tvtoday adopted to the recent page changes on tvtoday.de.
|
|
Top |
|
 |
joerg
|
Posted: Thu Jan 26, 2006 2:35 pm |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
beamland wrote: or also (don't think this one is related to the asterisks problem and probably can be ignored... but anyway, here it goes): Code: unknown show feature: Dolby Surround at /usr/bin/tv_grab_de_tvtoday line 755. Thanks to anyone helping to solve this one!
I managed to eliminate this "error". This feature is now shown as a "stereo" feature on each show, which contains normally "Dolby Surround".
You can get this "fixed" script at the URL I postet above.
|
|
Top |
|
 |
joerg
|
Posted: Mon Jan 30, 2006 5:39 pm |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
It seems i found a workaround for the "asterisk problem"... just edit the tvtoday script at the line which says:
Code: my $opt_nosqueeze = 0; change it to Code: my $opt_nosqueeze = 1;
So everytime mythfilldatabase is started, the script will run automatically with the --nosqueezeout option. Beamland wrote that this option worked for him. This is just a workaround for mythfilldatabase which you can run as a cron job and do not encounter the "asterisk" problem.
If you are encountering any problems just write them here in this thread, i will be notified by mail.
Nevertheless you can download the "fixed" script under the URL i posted above.
|
|
Top |
|
 |
beamland
|
Posted: Tue Jan 31, 2006 11:51 am |
|
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location:
Switzerland
|
joerg wrote: So everytime mythfilldatabase is started, the script will run automatically with the --nosqueezeout option. Beamland wrote that this option worked for him. This is just a workaround
Yes, I wrote that... but I have to say it's not a 100% working workaround. Sometimes I still get asterisks in the beginning of the program description field. However, it's much better than without this --nosqueezeout option. Didn't find out when exactly the asterisks appear and when not. Well, I must admit, I didn't spend a lot of time with it until now.
|
|
Top |
|
 |
joerg
|
Posted: Wed Feb 01, 2006 9:31 am |
|
Joined: Sat Jan 21, 2006 5:20 pm
Posts: 11
|
If is does appear again, please post an example so that i can see where it comes from... as far as i can say, the "asterisk" problem is solved at my mythbox but i will keep an open eye on it 
|
|
Top |
|
 |
beamland
|
Posted: Sun Feb 05, 2006 7:06 am |
|
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location:
Switzerland
|
Ok, I re-checked it and now know what happend.
I first started mythfilldatabase manually with the --nosqueezeout option and this eliminated the asterisk problem. In mythtv general setup I then put in the mythfilldatabase command options:
Code: --graboptions "--nosqueezeout"
... thought mythfilldatase would automatically take care of it from now on. This post http://mysettopbox.tv/phpBB2/viewtopic.php?t=8199 told me that I was wrong. After fixing it all is fine again.
So yes, the --nosqueezeout option works. No more asterisks in the program descriptions.
|
|
Top |
|
 |