LinHES Forums

JSON grabber instad of the Data Direct grabber?
Page 1 of 1

Author:  mattbatt [ Mon Jun 10, 2019 6:00 pm ]
Post subject:  JSON grabber instad of the Data Direct grabber?

I saw in another thread that brfransen was saying we will be changing thew way we get our lineup.
brfransen wrote:
If you are using the "North American ( (Internal)" grabber press the right arrow and enter the user id an password there. But that grabber is going to be removed for mythtv v31 so it is recommended to use one of the xmltv SD JSON grabbers. See ... rect_Setup

So doing some digging in the setup page I can't figure out how to configure this from the GUI. Is it possible or is the only option in the command line?
If someone more knowledgeable about this than I am could make a step by step guide (preferably with lots of colorful pictures) on how all of us Schedules Direct users will need to get our lineup in the near(ish) future that would be awesome.


Author:  brfransen [ Wed Jun 12, 2019 6:42 am ]
Post subject:  Re: JSON grabber instad of the Data Direct grabber?

The MythTV Wiki I linked is the most complete guide I have seen. I think all of the XMLTV grabbers are configured via CLI.

Author:  mattbatt [ Fri Jun 14, 2019 10:33 pm ]
Post subject:  Re: JSON grabber instad of the Data Direct grabber?

Yikes! That is less user friendly than Data Direct.

Author:  welner [ Tue Aug 13, 2019 3:43 pm ]
Post subject:  Re: JSON grabber instad of the Data Direct grabber?

As I live in the north east, I was patiently waiting for phase 2 of the repack to complete before attempting this change.

This gave me some time to read and reread the instructions.

the instructions are accurate, but only become clearer once you perform the steps.

the one thing that slowed me down was a few mystery nonexistent channels that appeared after switching grabbers, and were not added during the channel rescan i did for the repack a couple weeks ago (they also did not exist before the repack). these channels were not listed in SchedulesDirect. using the channel editor in mythweb, i would delete them. unfortunately, those channels reappeared after running mythfilldatabase.

this part of the instructions helped me get rid of those bogus channels:

Run these:

tv_grab_zz_sdjson_sqlite --days 0 --config-file $HOME/.mythtv/SD.xmltv
tv_grab_zz_sdjson_sqlite --manage-lineups --config-file $HOME/.mythtv/SD.xmltv
If you get all channels in the lineup, then select the options that will make current and future channels selected.
If you only get a few of the channels you will need to select the appropriate channels. Select a default for existing and future channels, then use option 5 to select which channels you need. This goes though all channels one at a time. You have to complete this for every channel in the list. You cannot stop partway through.
If you need to do the channel selection again because of errors or channel changes, your previous values are remembered and used as defaults.

i performed the second "if" clause in the instructions and was able to delete the bogus channels. in my case, i had too many channels, not too few. so, it was not intuitive that i needed to perform option 5. after rerunning mythfilldatabase, the channels did not reappear.

in the nit-picking department, one of the new features of this grabber is that you get channel icons displayed in the listing on mythweb and in the program guide in myth. unfortunately, some of the icons are black, and as a result are not visible on the black or dark blue backgrounds. here is one example icon that is not visible:

Author:  mattbatt [ Fri Aug 30, 2019 11:15 pm ]
Post subject:  Re: JSON grabber instad of the Data Direct grabber?

OK the DataDirect mode stopped working recently and apparently ran out of data TODAY!!!
I'm not sure what broke but it no longer liked my username and password.
SO I was forced to update to the new JSON mode and boy did I suck at it 2 hours later and it's finally working. Try this first then move on to command line.
1) I hate the new setup GUI. They made it so hard to enter answers.
2) the order of the guide is way out of wack, at least I think. I ended up doing most of the steps 3 times because it didn't work.
3) when you go into Video Source setup and you select the source you want to edit (or create) the "Listings Grabber" you want is at the end of the list called "Schedules Direct JSON API (xmltv)"
4) it seems like using the GUI in Mythtv-Setup is really just going through the same command line steps except that it works (when I finally selected the correct grabber)
5) the guide says that if you use ATSC tuner you will have to manually edit the channel IDs. When you do it though the Mythtv-Setup GUI it worked fine.
6) I might have to spin up another VM to do a step by step walk through.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group