Skip to content

Grab tvheadend data by json use. #88

Description

@myraspxbmc

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions