Feature #4441

pass to client or parse more information from XMLTV

Added by piotr galek over 6 years ago. Updated about 6 years ago.

EPG - Grabbers
Target version:
Start date:
Due date:
% Done:


Estimated time:


I saw XMLTV delivery many information like on example:

<programme start="20170621100000 +0200" stop="20170621110000 +0200" channel="CBS Action">
    <title lang="pl">Agenci NCIS</title>
    <title lang="xx">Navy NCIS: Naval Criminal Investigative Service</title>
    <desc lang="pl">Gibbs zostaje ranny w zamachu terrorystycznym. Członkowie jego zespołu są przygnębieni. Tony zastępuje szefa. Jego decyzja wzbudza niechęć pozostałych agentów. Tymczasem Gibbs powoli wraca do zdrowia. Ma czas na rozmyślania. Próbuje sobie poradzić ze wspomnieniami, które od dawna próbował wymazać z pamięci</desc>
      <director>Dennis Smith</director>
      <actor>Mark Harmon</actor>
      <actor>Michael Weatherly</actor>
      <actor>Pauley Perrette</actor>
      <actor>David McCallum</actor>
      <actor>Sean Murray</actor>
      <actor>Cote de Pablo</actor>
      <actor>Lauren Holly</actor>
    <category lang="pl">Serial Sensacyjny</category>
    <icon src="" />
    <episode-num system="onscreen">S3 E23</episode-num>

but information like:
- country
- date
- actor
- director

and maybe more

are not pass to client - like pvr.hts kodi ...
i uderstand some information are not important to parse and show on TVH WebUI - but at least could be forwarded to client ...



Updated by piotr galek over 6 years ago

PS. all that additional fields are available in kodi epg database


Updated by Jaroslav Kysela over 6 years ago

  • Target version set to 999

Updated by Em Smith about 6 years ago

We now publish extra information to clients if it is available and the option is enabled in the grabber. This is the server-side change only and no patches have been done for the Kodi side since I can't easily cross-compile it to test. Please refer any Kodi developers to this request for details of the additional fields we publish.

Enabling the option can use considerable memory on the server and the clients, especially if you have hundreds of channels with tens of actors per programme and a tv guide stretching several weeks in the future.

I suggest the pvr hts modification should have a tick box to disable passing the data to Kodi even if it is available to avoid low-spec machines being overwhelmed due to limited memory.

The htsp has been updated to have the extra information, for example:

'category': ['Action', 'Drama', 'Episode', 'Series', 'series'],
'credits': { 'Branscombe Richmond': 'guest',
'Bruce Glover': 'guest',
'Cherie Michan': 'guest',
'Craig R. Baxley': 'director',
'Dennis Franz': 'guest',
'Dirk Benedict': 'actor',
'Dwight Schultz': 'actor',
'Garnett Smith': 'guest',
'George Peppard': 'actor',
'Lloyd Bochner': 'guest',
'Maylo McCashlin': 'guest',
'Mr. T': 'actor'},
'method': 'eventAdd',


'category': ['Feature Film', 'Movie', 'Western', 'movie'],
'copyrightYear': 1947,
'credits': { 'Andre de Toth': 'director',
'Arleen Whelan': 'actor',
'Veronica Lake': 'actor'},
'keyword': [ '1880s',...
'method': 'eventUpdate',



Updated by Em Smith about 6 years ago

Following implementation in pvr.hts, a few clarifications are necessary for other people implementing a client.

The above sample message didn't show a few other roles we pass through for credits which are in
They are currently actor, director, guest, presenter, and writer.

The credits is a htsmsg_map since it is a name/value mapping and hstmsg_list can't have a name for the field.

Also available in: Atom PDF