Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grab tvheadend data by json use. #88

Open
myraspxbmc opened this issue Jan 20, 2017 · 6 comments
Open

Grab tvheadend data by json use. #88

myraspxbmc opened this issue Jan 20, 2017 · 6 comments

Comments

@myraspxbmc
Copy link

Can you please add supported on script.tvguide.fullscreen to be possible to grab data direct from tvheadend using json…
Here are some link’s can be used to provide this future:
Request 1:
Method:POST
hxxp://192.168.1.x:9981/playlist
hxxp://192.168.1.x:9981/api/epg/content_type/list
hxxp://192.168.1.x:9981/api/epg/events/grid
hxxp://192.168.1.x:9981/api/epggrab/channel/list
hxxp://192.168.1.x:9981/api/channel/grid
hxxp://192.168.1.x:9981/api/epg/events/grid?_dc=1
hxxp://192.168.1.x:9981/comet/poll
hxxp://192.168.1.x:9981/api/epggrab/channel/class
hxxp://192.168.1.x:9981api/epggrab/channel/class
hxxp://192.168.1.x:9981api/dvr/autorec/class
Something like:
elif controlId == self.C_STREAM_STRM_PVR_TVHEADEND:
Adding this can be done something like this:
Import playlist (channels) to addons.ini …
Import epg to source.db on the fly
Load or update EPG…
Don’t duplicate data..
If you need more information please just ask…
Another request:
Populate the empty fields of database by using scraper.
Update database using imdb/ omdb/ tmdb…
(Please take a look to script.module.skin.helper.artutils by @marcelveldt)
Update can be done using some fields from database like: title +is_movie+ language

Cheers

@primaeval
Copy link
Owner

You seem to know what you want. Are you up to trying to code a new Source in source.py?

I had a look at scraping everything from **db but I'm not going to hammer their servers with 1000s of requests for all the programs in an xmltv file. It has to be strictly on demand from me.

@myraspxbmc
Copy link
Author

I'am not a coder, then I can't do it :(
Well as you like it, you choose ... :)
I use webgrabplus to grab xmltv file.

@primaeval
Copy link
Owner

I'll have a look at the tvheadend sometime but if you can find someone who knows more about it that would be quicker.

@myraspxbmc
Copy link
Author

myraspxbmc commented Jan 20, 2017

Please ask info you need... I will post it here, I can put here output of links and parameters we need to parse, just need some time (weekend i suppose) . (JSON Schema Description)
And course I can test it :)

@myraspxbmc
Copy link
Author

I there, on the weekend I have no time for this.... I will try to see if can put here the JSON Schema Description, this week, please say tune. See you

@myraspxbmc
Copy link
Author

Just send email, please see if you need more info.
See you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants