json?? Why new Lineup??

Forum rules
Get Help using the Schedules Direct service. NOTE: application issues are probably better resolved via the application's support methods. If you post here, at least include your application name!
Post Reply
DruidStone
Posts: 3
Joined: Mon Jan 24, 2022 9:34 am

json?? Why new Lineup??

Post by DruidStone »

This is Linux/Debian. I have Schedules Direct, Kodi and tvheadend. The EPG isn't populating with data. I paid for the Schedules Direct service in January and am still unable to make use of it in tvheadend. Kodi shows the EPG properly. Thanks for any help.

lamp@exercises:~/hdhomerun$ tv_grab_na_dd --configure
using config filename /home/mark/.xmltv/tv_grab_na_dd.conf

Time OFFSET Selection (note: not a timeZONE)
It is better to specify +0000 and let the final application
deal with a local conversion (helps with DST issues), but you
can specify a Time Offset if desired.
+0000 UTC
-0400 Eastern Daylight
-0500 Eastern Standard or Central Daylight
-0600 Central Standard or Mountain Daylight
-0700 Mountain Standard or Pacific Daylight
-0800 Pacific Standard
Timezone offset (+/-####) (+0000)

Schedules Direct registration required in advance.
Sign up at http://www.schedulesdirect.org
(don't forget to add a lineup!) (why? the top news is the switch to json??)


Username (): lamp

WARNING: Storing the password in the config file is not secure
If password is blank, it will be prompted as needed(more secure)
Unsecured password ('x':delete,default:<keep>,):
Fetching from Schedules Direct Fetched 0 k/bytes in 1 seconds
loading data:
WARNING: error parsing DD xml:
syntax error at line 1, column 49, byte 49 at /usr/lib/x86_64-linux-gnu/perl5/5.32/XML/Parser.pm line 187.
at /usr/bin/tv_grab_na_dd line 914.


What needs doing to resolve this, please?
rmeden
SD Board Member
Posts: 1651
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX
Contact:

Re: json?? Why new Lineup??

Post by rmeden »

FYI.. you're not using a JSON grabber (those are tv_grab_zz_sdjson, and tv_grab_zz_sdjson_sqlite)

try

tv_grab_na_dd --configure --dd-xml dd.xml

When you get the error, see what's in dd.xml. Maybe a useful error.

For tv_grab_na_dd, you need to add a lineup from the schedulesdirect web page first. Did you do that?

Robert
DruidStone
Posts: 3
Joined: Mon Jan 24, 2022 9:34 am

Re: json?? Why new Lineup??

Post by DruidStone »

Thank you for your reply.

I tried the code you gave. It returned:

Code: Select all

lamp@xxxxxxx:~$ tv_grab_na_dd --configure --dd-xml dd.xml
Unknown option: dd-xml
/usr/bin/tv_grab_na_dd: get listings via Schedules Direct (http://schedulesdirect.org)
in XMLTV format
I cannot find an up-to-date instruction manual, or guide on the use of Schedules Direct. I found a document saying that a channel lineup at the schedulesidrect.org website is no longer needed. So, I'm guessing that is incorrect or out-of-date.

Rather than try to solve this problem of mine piecemeal, can you give me a URL or Wiki that has a basic guide to use? I believe it will save much time. Again, thank you for your time in helping me.
rmeden
SD Board Member
Posts: 1651
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX
Contact:

Re: json?? Why new Lineup??

Post by rmeden »

sorry, the switch is --dd-data

SD has two data services, SD-JSON and the older SD-DD (stands for DataDirect, the Tribune provided service we replaced)

Did you add a lineup on the SD website? Email me at admin@sd with your username, I can check your lineups.

Usually instructions are provided by the app you want to use.

To use the SD-DD service, on our website add a lineup.
then tv_grab_na_dd --configure # answer questions
then tv_grab_na_dd --days 7 --output tv.xml # to output 7 days to tv.xml

If you want to make sure SD_DD is working, you can view https://schedulesdirect.org/getdata to view "what's on now" in XML

It really is pretty easy... If you want to use the SD-JSON service and XMLTV.exe
tv_grab_zz_sdjson_sqlite --configure # ( I think, follow what it says to do)
tv_grab_zz_sdjson_sqlite --days 7 --output tv.xml # to output 7 days to tv.xml
Post Reply