primaeval / script.tvguide.fullscreen

tv guide fullscreen
GNU General Public License v2.0
25 stars 26 forks source link

Grab tvheadend data by json use. #88

Open myraspxbmc opened 7 years ago

myraspxbmc commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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