script.tvguide.fullscreen icon indicating copy to clipboard operation
script.tvguide.fullscreen copied to clipboard

Grab tvheadend data by json use.

Open myraspxbmc opened this issue 8 years ago • 6 comments

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

myraspxbmc avatar Jan 20 '17 14:01 myraspxbmc

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.

primaeval avatar Jan 20 '17 14:01 primaeval

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.

myraspxbmc avatar Jan 20 '17 14:01 myraspxbmc

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

primaeval avatar Jan 20 '17 15:01 primaeval

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 avatar Jan 20 '17 15:01 myraspxbmc

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 avatar Jan 23 '17 08:01 myraspxbmc

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

myraspxbmc avatar Jan 24 '17 14:01 myraspxbmc