Feature #2527

XMLTV export support

Added by Rafal Kupiec about 3 years ago. Updated 2 months ago.

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

0%

Category:EPG
Target version:4.2

Description

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

History

#1 Updated by saen acro about 3 years ago

Rafal Kupiec wrote:

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

+1 for this
https://tvheadend.org/boards/12/topics/10193

#2 Updated by Jaroslav Kysela about 3 years ago

  • Subject changed from XMLTV explort support to XMLTV export support

#3 Updated by Sam Stenvall about 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 over 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 about 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*

#7 Updated by Jaroslav Kysela about 2 years ago

  • Status changed from New to Fixed

#8 Updated by B jzy 5 months 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>
</programme>

The data exists in TVH already as seen here:

Thank you for considering.

#9 Updated by Raffale Giovedì 2 months ago

B jzy wrote:

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>
</programme>

The data exists in TVH already as seen here:

Thank you for considering.

I think that this feature request covers this topic: https://tvheadend.org/issues/4266

Still not fixed anyway :(

Also available in: Atom PDF