Jump to content
DetlefM

Raw EPG Values

Recommended Posts

DetlefM

I am dealing with the epg data (try to convert them to json, try to find out what kind of information is available) and have found this site which provides epg data.(http://xmltv.se)

The information they provide are a little different from the xml data I get from the api.

I have attached two snippets - one from xmltv one from a Mediaserver api call. - both from the same event. Inspector Banks, 4.6.2017 in the night.

The main difference is: actors , writers  (credits section) is more detail from xmltv and more text from Media Server. Additional the have  

( "new": null, --> maybe an information if this event is first time on this channel) and   "category": {    "en": [      "series",      "Crime"    ]  }, maybe same als <content>16</content>?

 

My Question; Is the raw information stream more like xmltv or do you both have different sources?

 

Background - when I try to filter the epg stream flat text is not as good as structured text.

 

Oh - I must rename the json file to json.txt because json was not allowed.

 

zdfbanks.xml

zdfbanks.json.txt

Share this post


Link to post
Griga

Sorry, I don't understand your post. What do you mean by "raw information stream"?

 

When it comes to tricky EPG questions you may want to contact the Xepg developer who knows quite a lot about this stuff and check out his tools. I will draw his attention to this thread.

 

As far as I can see the attached files are identical (after renaming the second to .xml). You can use a ZIP file if the original format is not accepted by the forum software.

Share this post


Link to post
Delphi
18 hours ago, DetlefM said:

The information they provide are a little different from the xml data I get from the api.

 

Yes, they are both xml files, but XMLTV confirms to the  XMLTV standard 

 

The api xml epg  and the XMLTV standard are not compatible.

 

You can use my tools to convert between the two: http://www.a123.dk/

 

Xepg: imports XMLTV into DVBViewer or DVBViewer Media Server

XgrabDMS: converts api epg to XMLTV Standard.

 

Xepg does not support json.

 

EDIT: By default the the epg in DVBViewer Media Server is delivered by the TV provider (via the antenna). Sometimes this epg is not very rich. A good reason for importing extern XMLTV epg using Xepg.

Edited by Delphi

Share this post


Link to post
DetlefM

Sorry, uploaded the wrong files. 

Zdfbanks.xml.txt is from DVBViewer - I think taken from satip Kathrein Hardware.

Zdfbanks.json.txt is from xmltv.se

Thanks to your both answers I toke a look at XMLTV.

I learned:

  • xmltv.se provides xmltv epg data ( but also converted to json). 
  • epgdata provides also xml epg data in an other format and last not least
  • DVBViewer scans the dvb stream and makes his own format

I suppose  the epgdata xml is near by the original dvb-s stream with some additional information like link to pictures.

 

And I vote for this topic http://www.DVBViewer.tv/forum/topic/52703-xmltv-export-via-rs-api/

 

But for now - thanks to all, further questions will go to the xepg guys.

 

 

zdfbanks.xml.txt

zdfbanks.json.txt

Share this post


Link to post
Delphi
9 hours ago, DetlefM said:

epgdata provides also xml epg data in an other format...

 

Who is epgdata? epgdata.com?

 

9 hours ago, DetlefM said:

 

That's what XgrabDMS do. Well, not directly. It was actually Griga who asked me to make the XgrabDMS tool, so I don't think this will happen ;):)

Share this post


Link to post
DetlefM

I am just learning how to filter epg events to make a more clever way to create recordings. 
And one of the things I came across was different dept of information
When I compare the entry from zdfbanks.xml.txt (see above posting) and the xml file I attached now (better comparing 2 xml files then xml with json) then 
the information from xmltv.se is more computer friendly. I have a list of actors, director in the <credits> path. And I have a list of  categories.
From epgdata.com I got also something like pegi, link to a picture but that is a payed service and an other story.
So my initial question was:
Is the same information available from Mediaserver (or the raw dvb-s stream). 
And a special question what is the meaning of the content tag ( <content>16</content> ). Does this tag is the represantion of categories - or for what is it for.
I am not interested to put additional content into the MediaServer or DVBViewer, I am interested to get information out from MediaServer.
When I understand right you are doing the way from putting external epg data into the DVBViewer System so you have rich information and provide less richer information to the DVBViewer (like categories)
An other example:
DVBViewer (from Webview MediaServer):
Jurassic Park (9.6.2017, 20:15) 
"Ein Team von Wissenschaftlern wird auf eine Insel im Pazifik eingeladen. Dort präsentiert ihnen der Milliardär John Hammond einen Vergnügungspark, in dem die Besucher echte Dinosaurier bestaunen können. Durch die Unachtsamkeit eines Mitarbeiters gelingt es jedoch den gefährlichen Urzeitbestien, aus ihren Gehegen auszubrechen. Die Jagd auf die hilflosen Menschen beginnt..."
Same description on xmltv.se see attachment.

I am wondering where the difference came from.

Ok - I am from old school so information from my own antenna is for me better then from the internet.

JurassicPark.xml.txt

zdfbanks_xmltv_se.xml..txt

Edited by DetlefM

Share this post


Link to post
Tjod
Quote

Is the same information available from Mediaserver (or the raw dvb-s stream).

You can use TransEdit > Analyze to see what is in the stream from the TV channel.

http://www.DVBViewer.com/griga/TransEdit E/AnalyzerWindow.html#Title

(select a transponder list for your sat position and there the transponder from the channel you are looking for and then Analyze)

In the EIT you will find the EPG informations. To get the raw version right click on it and select hex view ;) and to find the informations click through the tree structure of the parsed data there.

 

Share this post


Link to post
Delphi
1 hour ago, DetlefM said:

Is the same information available from Mediaserver

 

No, generally not. XgrabDMS shows all what the API returns. Actors, director etc. are sometimes a part of the description text. Not easy to extract generally.

 

1 hour ago, DetlefM said:

And a special question what is the meaning of the content tag ( <content>16</content> )

 

Go to page 40 here:  ETSI

 

1 hour ago, DetlefM said:

When I understand right you are doing the way from putting external epg data into the DVBViewer System so you have rich information and provide less richer information to the DVBViewer (like categories)

 

Xepg adds the extra information to the title, event or description on importing. This way the information is not lost. 

Edited by Delphi

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • thomas0815
      By thomas0815
      Hallo,
       
      ich habe DVBViewer 6.0.4.0 installiert, aber ich erhalte nur sehr unvollständige EPG Daten, eigentlich immer nur von dem aktuell laufenden Sender, und selbst die nicht in der "timeline" oder "zur Zeit" Ansicht.
       
      Wie gewünscht, anbei die Supporttool Datei...
      support.zip
    • DaVinci77
      By DaVinci77
      Hallo,
       
      ich wollte fragen Auen ob es eine Möglichkeit gibt die Suchergebnisse bei der epg suche mit einer extra Farbe zu markieren wenn man diese schon in einem Verzeichnis hat.
       
      ich habe mir in Kodi eine umfangreiche Film Sammlung aufgebaut, diese sind alle nach dem kodi Schema abgelegt. ordnername = Filmtitel mit Erscheinungsjahr. Nun geht in kodi alles wunderbar, doch wenn ich nach neuen Filmen zur Aufnahmen suche weiß ich nicht immer was ich schon habe  und was nicht. Ist es möglich über den Media Server 2.0 die Verzeichnisse einzubinden und die vorhanden Film im Suchergebnis extra markieren, dann sieht man gleich was schon da ist.
       
      LG René 
       
    • ret-law
      By ret-law
      Hallo zusammen,
       
      nach 2 Jahren Abstinenz aufgrund baulicher Veränderungen / Signalverfügabarkeit bin ich jetzt wieder zum DVBViewer gekommen.
      Hier meine Konfiguration:
       
      Ich nutze einen Kabel Deutschland (Vodafone) Anschluss mit einer neuerdings eigenen Fritzbox 6490. DIese kann die freien Programme bekanntlich über 4 Tuner streamen.
      DVBViewer und Media Service sind auf einem Laptop installiert.
      Einbinden der Fritzbox hat gut funktioniert. NAS Einrichten ebenfalls (wenn auch durch die Benutzerrechte etwas aufwändig). Die Hauptprogramme sind als Favoriten gekennzeichnet und für den DMS als EPG nur DVB EPG ausgewählt. (Keine Haken bei externer EPG oder MHW)
       
      Wenn ich im DVBViewer einen Kanal auswähle, dann aktualisiert er ordnungsgemäß das EPG für den Sender.
      Lasse ich eine entsprechende Aufgabe im DMS laufen, sehe ich in der Oberfläche der Fritzbox, dass es die Sender einzeln einstellt - allerdings aktualisert er nicht das EPG. Nur wenn aus dem DVBViewer neue EPG Daten kommen, sehe ich die dann auch im DMS.
       
      Was kann ich noch versuchen?
       
      VG
      Mario
       
       
       
      support.zip
    • looky
      By looky
      http://cssdynamics.bplaced.net
      Was heißt 'etc.'?
      Kann man vielleicht doch alles zeigen, was die gebührenfreien Channels der Astras an Text übermitteln, also nicht nur Titel und Mitwirkende, sondern auch den Inhalt?
      Im web findet sich nix, was die Sendungen mindestens ebenso rasch zugänglich macht.
      Bin neugierig auf weitere Ideen.
      Im Browser kann man sich auch den PC zugänglich machen.
    • Nikola Vranic
      By Nikola Vranic
      Hello,
       
      I manage to create manual channel list from TS files and to add EPG data from SI stream. Everything works fine and well displayed in EPG windows. 
       
      But, for my analyses I need to export all EPG data and to get EPG event ID beside title, short/long description ... in xml.
       
      Can somebody please help me with this? 
×