Problems changing to schedules direct json... [solved]
Moderator: Forum Moderators
Problems changing to schedules direct json... [solved]
Sorry if this has been beaten to death, but I have a basic problem:
In mythtv-setup, under video source, I don't have an option to choose external xmltv json script or what ever it's called. All I have are the internal schedules direct, OTA and none options.
I'm running gentoo and mythtv should be built with xmltv enabled (the use flag is set).
I'm only running version 30 at this point, I'll try 31 after this is a success.
Can someone give me a nudge? I can't run the xmltv setup script until the xmltv file is created by mythtv-setup...
Perhaps I should try 31 first?
In mythtv-setup, under video source, I don't have an option to choose external xmltv json script or what ever it's called. All I have are the internal schedules direct, OTA and none options.
I'm running gentoo and mythtv should be built with xmltv enabled (the use flag is set).
I'm only running version 30 at this point, I'll try 31 after this is a success.
Can someone give me a nudge? I can't run the xmltv setup script until the xmltv file is created by mythtv-setup...
Perhaps I should try 31 first?
Last edited by raydude on Sun May 03, 2020 6:11 am, edited 1 time in total.
Re: Problems changing to schedules direct json...
Sounds like you need to install xmltv.
Re: Problems changing to schedules direct json...
Thanks. I should have mentioned. xmltv is installed. (version 5.7)
Re: Problems changing to schedules direct json...
I don't know if this is the problem (I'm rebuilding mythtv at the moment) but I was missing this package: dev-python/simplejson-3.17.0
I found that out by running configure on a fresh tar xf of mythtv-31.
I found that out by running configure on a fresh tar xf of mythtv-31.
Re: Problems changing to schedules direct json...
tv_find_grabbers should give you a list of available grabbers.
Re: Problems changing to schedules direct json...
@raydude,
As to the "Perhaps I should try 31 first?" question. No, and the intent is that
you can switch to the SD JSON before going to v31 (so that you won't need
to go though this after upgrading).
Note that there should be a success/failure message in the mythtv-setup log
when tv_find_grabbers is tried.
simplejson is used by some Python tools and not for SD.
As to the "Perhaps I should try 31 first?" question. No, and the intent is that
you can switch to the SD JSON before going to v31 (so that you won't need
to go though this after upgrading).
Note that there should be a success/failure message in the mythtv-setup log
when tv_find_grabbers is tried.
simplejson is used by some Python tools and not for SD.
Re: Problems changing to schedules direct json...
tv_find_grabbers does not find anything. I must be missing some piece of the puzzle.
The first step is to just the xmltv json in mythtv-setup, right?
The first step is to just the xmltv json in mythtv-setup, right?
Re: Problems changing to schedules direct json...
I turned on verbose messaging for mythtv-setup -v xmltv. It announced verbose messaging, but didn't say anything.
Could this be because xmltv is installed in /usr/bin instead of /usr/local/bin?
Could this be because xmltv is installed in /usr/bin instead of /usr/local/bin?
Re: Problems changing to schedules direct json...
My grabbers are in /usr/bin.
To be clear, you tried to select the grabber in: Video sources -> Listings Grabber: and pressed Return to
get the list.
To be clear, you tried to select the grabber in: Video sources -> Listings Grabber: and pressed Return to
get the list.
Re: Problems changing to schedules direct json...
raydude - I'm on Gentoo as well but only moved to xmltv/json after I moved to v31 so I can't speak to your v30, but I'll be you just need to enable the zz-sdjson use flag for media-tv/xmltv.
What does "equery u media-tv/xmltv" show you?
I had to specicically enable zz-sdjson before I could see this:
" + + zz-sdjson : Grabber for schedulesDirect.org SD-JSON service (many countries)"
Create this file:
/etc/portage/package.use/xmltv
Put this in it:
media-tv/xmltv zz-sdjson
Re-emerge xmltv with N --> emerge -vDaNq media-tv/xmltv
Then give it another try. If it still fails then maybe you need to re-emerge or re-compile MythTV after the new use flag for xmltv.
What does "equery u media-tv/xmltv" show you?
I had to specicically enable zz-sdjson before I could see this:
" + + zz-sdjson : Grabber for schedulesDirect.org SD-JSON service (many countries)"
Create this file:
/etc/portage/package.use/xmltv
Put this in it:
media-tv/xmltv zz-sdjson
Re-emerge xmltv with N --> emerge -vDaNq media-tv/xmltv
Then give it another try. If it still fails then maybe you need to re-emerge or re-compile MythTV after the new use flag for xmltv.
Re: Problems changing to schedules direct json...
I figured it out. xmltv has a use option for all sources. I had none set, so none installed.
My bad.
It's up and running now...
My bad.
It's up and running now...
Re: Problems changing to schedules direct json...
Thanks. That was the problem. I meant to post earlier, but got distracted.Vaska wrote: ↑Sun May 03, 2020 1:33 amraydude - I'm on Gentoo as well but only moved to xmltv/json after I moved to v31 so I can't speak to your v30, but I'll be you just need to enable the zz-sdjson use flag for media-tv/xmltv.
What does "equery u media-tv/xmltv" show you?
I had to specicically enable zz-sdjson before I could see this:
" + + zz-sdjson : Grabber for schedulesDirect.org SD-JSON service (many countries)"
Create this file:
/etc/portage/package.use/xmltv
Put this in it:
media-tv/xmltv zz-sdjson
Re-emerge xmltv with N --> emerge -vDaNq media-tv/xmltv
Then give it another try. If it still fails then maybe you need to re-emerge or re-compile MythTV after the new use flag for xmltv.
Once I enabled that use flag and re-emerged xmltv, the option showed up in mythtv.