Guest User

Untitled

a guest
Apr 26th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. EPG DATA
  2. The file epg.data contains the EPG data in an easily parsable format. The first charac‐
  3. ter of each line defines what kind of data this line contains.
  4.  
  5. The following tag characters are defined:
  6.  
  7. C <channel id> <channel name>
  8. E <event id> <start time> <duration> <table id> <version>
  9. T <title>
  10. S <short text>
  11. D <description>
  12. G <genre> <genre>...
  13. R <parental rating>
  14. X <stream> <type> <language> <descr>
  15. V <vps time>
  16. e
  17. c
  18.  
  19. Lowercase characters mark the end of a sequence that was started by the corresponding
  20. uppercase character. The outer frame consists of a sequence of one or more C...c (Chan‐
  21. nel) entries. Inside these any number of E...e (Event) entries are allowed. All other
  22. tags are optional (although every event should at least have a T entry).
  23.  
  24. There may be several X tags, depending on the number of tracks (video, audio etc.) the
  25. event provides.
  26.  
  27. <channel id> is the "channel ID", made up from the parameters defined in 'channels.conf'
  28. <channel name> is the "name" as in 'channels.conf' (for information only, may be left out)
  29. <event id> is a 32 bit unsigned int, uniquely identifying this event
  30. <start time> is the time (as a time_t integer) in UTC when this event starts
  31. <duration> is the time (in seconds) that this event will take
  32. <table id> is a hex number that indicates the table this event is contained in (if this is left empty or 0 this event will not be overwritten or modified by data that comes from the DVB stream)
  33. <version> is a hex number that indicates the event's version number inside its table (optional, ignored when reading EPG data)
  34. <title> is the title of the event
  35. <short text> is the short text of the event (typically the name of the episode etc.)
  36. <description> is the description of the event (any '|' characters will be interpreted as newlines)
  37. <genre> is a two digit hex code, as defined in ETSI EN 300 468, table 28 (up to 4 genre codes are supported)
  38. <parental rating> is the minimum age of the intended audience
  39. <stream> is the stream content (1 = MPEG2 video, 2 = MP2 audio, 3 = subtitles, 4 = AC3 audio, 5 = H.264 video, 6 = HEAAC audio)
  40. <type> is the stream type according to ETSI EN 300 468
  41. <language> is the three letter language code (optionally two codes, separated by '+')
  42. <descr> is the description of this stream component
  43. <vps time> is the Video Programming Service time of this event
Add Comment
Please, Sign In to add comment