Feature #2527

XMLTV export support

Added by Rafal Kupiec almost 3 years ago. Updated about 1 month ago.

Status:FixedStart date:2014-12-02
Priority:NormalDue date:
Assignee:Adam Sutton% Done:


Target version:4.2


Please implement the ability to export EPG from tvheadend to XMLTV (maybe via API?).


#1 Updated by saen acro almost 3 years ago

Rafal Kupiec wrote:

Please implement the ability to export EPG from tvheadend to XMLTV (maybe via API?).

+1 for this

#2 Updated by Jaroslav Kysela almost 3 years ago

  • Subject changed from XMLTV explort support to XMLTV export support

#3 Updated by Sam Stenvall almost 3 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 ;-)

#4 Updated by saen acro about 2 years ago

Is there any movement on this feature?

#5 Updated by Jaroslav Kysela about 2 years ago

  • Target version set to 4.4

#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

#7 Updated by Jaroslav Kysela almost 2 years ago

  • Status changed from New to Fixed

#8 Updated by B jzy about 1 month ago

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.

Also available in: Atom PDF