Project

General

Profile

Error parsing dd xmltv

Added by John Peel over 7 years ago

I've gone through multiple guides to get Schedules Direct set up but come up with a parsing error every time. My setup is a Vero 4K running the latest OSMC
When I run the grabber in TVheadend I get the following error:

2017-03-13 18:12:50.171 /usr/bin/tv_grab_na_dd: grab /usr/bin/tv_grab_na_dd
2017-03-13 18:12:50.181 spawn: Executing "/usr/bin/tv_grab_na_dd"
2017-03-13 18:12:51.299 spawn: using config filename /home/osmc/.xmltv/tv_grab_na_dd.conf
2017-03-13 18:12:51.577 spawn: Password for jlpeel: Use of uninitialized value $r in chomp at /usr/share/perl5/XMLTV/Ask/Term.pm line 66.
2017-03-13 18:12:52.364 spawn: Fetching from Schedules Direct Use of uninitialized value $local_pass in string at /usr/bin/tv_grab_na_dd line 719.
2017-03-13 18:12:52.555 spawn: Fetched 0 k/bytes in 0 seconds
2017-03-13 18:12:52.601 spawn: loading data
2017-03-13 18:12:52.604 spawn: WARNING: error parsing DD xml:
2017-03-13 18:12:52.604 spawn: syntax error at line 1, column 49, byte 49 at /usr/lib/arm-linux-gnueabihf/perl5/5.20/XML/Parser.pm line 187.
2017-03-13 18:12:52.604 spawn: at /usr/bin/tv_grab_na_dd line 928.
2017-03-13 18:12:52.606 spawn: ERROR: Bad XML from DD, cannot continue. Consider using --dropbadchar or Capture xml with --dd-data
2017-03-13 18:12:52.633 /usr/bin/tv_grab_na_dd: no output detected
2017-03-13 18:12:52.633 /usr/bin/tv_grab_na_dd: grab returned no data

Any help would be appreciated

Thanks


Replies (5)

RE: Error parsing dd xmltv - Added by John Peel over 7 years ago

Solved it myself. My config file was not storing my password. I edited the file, adding it after my user name, and all is good

RE: Error parsing dd xmltv - Added by Robert Cameron over 7 years ago

Just a bit of unsolicited advice:

You may want to consider moving from Schedules Direct's DataDirect API (tv_grab_na_dd) to their JSON API (tv_grab_sd_json, now tv_grab_zz_sdjson). I've noticed better and more complete information in the guide, including Season/Episode metadata and 3 weeks of data instead of 2 weeks since migrating my EPG grabber.

Another benefit is the caching of previous grabs, which means much more efficient and fast grabs ... my system usually only takes 2 minutes to update the guide now, instead of 10-15 minutes.

RE: Error parsing dd xmltv - Added by John Peel over 7 years ago

Thanks for the input. I'll look into that... I read that it is included in the latest m
Xmltv build but I can't find it on my system.

RE: Error parsing dd xmltv - Added by John Peel over 7 years ago

Downloaded and configured. Working well. Json does import much more info!
Thanks
I used to have a WMC machine running all the time as a dvr. This is much more efficient as the Vero is on all the time anyway. Streams to other devices on the network without issue and a good way to brush up on terminal to boot.

RE: Error parsing dd xmltv - Added by Robert Cameron over 7 years ago

Glad it worked out.

Something people may not realize about the JSON API: you can get sports updates for MLB, NBA, NFL and NHL. If a game is being broadcast, the data returned for in progress and completed events will include the score. Also, cast lists and actor thumbs are available for many program listings. Tvheadend just doesn't support these features, and the tv_grab_zz_sdjson grabber does not, either.

    (1-5/5)