XMLTV export support
|Assignee:||Adam Sutton||% Done:|
Please implement the ability to export EPG from tvheadend to XMLTV (maybe via API?).
#3 Updated by Sam Stenvall over 2 years ago
This would indeed be nice, though the easiest solution would be for someone to write an XMLTV grabber that used the tvheadend API. I started working on it once but never finished it. I also started working on a PHP API for tvheadend but never finished that either ;-)
#6 Updated by Jaroslav Kysela almost 2 years ago
- Target version changed from 4.4 to 4.2
Implemented. I've not had time to test it:
http://localhost:9981/xmltv # short alias for http://localhost:9981/xmltv/channels http://localhost:9981/xmltv/channelname/*channelname* http://localhost:9981/xmltv/channelnumber/*channelnumber* http://localhost:9981/xmltv/tagname/*tagname*
Thank you very much for implementing this Jaroslav. I am using it to feed PlexDVR the EPG for my TVH channels. The only challenge I've found is that it does not appear to include the <category> info in the XMLTV export. Is it possible to include this info as well? Right now, all programmes are defaulting to "Movie" in Plex (rather than Movie, Sports, Show, etc).
Sample from TVH-XMLTV export:
<programme start="20170723180000 -0700" stop="20170723200000 -0700" channel="21e76900def1417361dfe5908fe902c6">
<title lang="eng">Ace Ventura: Pet Detective</title>
<desc lang="eng">A bungling gumshoe uncovers more than just a simple kidnapping when he searches for the Miami Dolphins' missing mascot.</desc>
The data exists in TVH already as seen here:
Thank you for considering.