Bug #5706
Enigma2 playlist export is missing some metadata fields
0%
Description
Current behavior:
Watching TV is working fine, but the EPG is missing.
Expected behavior:
Having an EPG in addition to the TV stream.
When exporting a E2 channellist using http://tvhip:9981/playlist/e2/, I will get a list with entries like this:
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://tvhip:9981/stream/channelid/238820178?profile=pass:Das Erste
#DESCRIPTION Das Erste HD
Now I add the missing values to the file:
#SERVICE 1:0:19:283D:3FB:1:C00000:0:0:0:http://tvhip:9981/stream/channelid/238820178?profile=pass:Das Erste
#DESCRIPTION Das Erste HD
Now the EPG appears. Also, the receiver will update its clock.
The entries have to be in this format: FavoriteType(usually 1):Flags(usually 0):ServiceType:ServiceID:TransponderID:NetworkID:Namespace:0:0:0:
Is it possible for tvheadend to have this fields filled or won't they be present, if not tuned to that certain channel?
History
Updated by Jaroslav Kysela about 5 years ago
Client should detect those values automatically from the MPEG-TS stream when only one service is present in it. TVH can serve multiple services in one channel, so we should not provide this detailed source information to the client (it's the motivation why TVH does not fill those values).
The only thing that we can do at this moment (untested), is to turn on the rewrite functions (including SID number) in the pass muxer and fill the anonymous values to the exported e2 playlist when the 'pass' rewrite capabilities are on.
Updated by Andreas Fornberg about 5 years ago
Jaroslav Kysela wrote:
Client should detect those values automatically from the MPEG-TS stream when only one service is present in it. TVH can serve multiple services in one channel, so we should not provide this detailed source information to the client (it's the motivation why TVH does not fill those values).
The only thing that we can do at this moment (untested), is to turn on the rewrite functions (including SID number) in the pass muxer and fill the anonymous values to the exported e2 playlist when the 'pass' rewrite capabilities are on.
It really would be good if TVheadend exported values there so EPG is possible on Enigma2 boxes.
The values doesn't need to be same as satellite values it can be internal TVheadend values linked to EPG name.
For now i am using this for Engima2 boxes and this allows me to get EPG from TVheadend server.
Updated by Andreas Fornberg about 5 years ago
Jaroslav Kysela wrote:
Client should detect those values automatically from the MPEG-TS stream when only one service is present in it. TVH can serve multiple services in one channel, so we should not provide this detailed source information to the client (it's the motivation why TVH does not fill those values).
The only thing that we can do at this moment (untested), is to turn on the rewrite functions (including SID number) in the pass muxer and fill the anonymous values to the exported e2 playlist when the 'pass' rewrite capabilities are on.
It really would be good if TVheadend exported values there so EPG is possible on Enigma2 boxes.
The values doesn't need to be same as satellite values it can be internal TVheadend values linked to EPG name.
For now i am using this for Engima2 boxes and this allows me to get EPG from TVheadend server.
https://www.suls.co.uk/enigma2-iptv-bouquets-with-epg/
Andreas Fornberg wrote:
Jaroslav Kysela wrote:
Client should detect those values automatically from the MPEG-TS stream when only one service is present in it. TVH can serve multiple services in one channel, so we should not provide this detailed source information to the client (it's the motivation why TVH does not fill those values).
The only thing that we can do at this moment (untested), is to turn on the rewrite functions (including SID number) in the pass muxer and fill the anonymous values to the exported e2 playlist when the 'pass' rewrite capabilities are on.
It really would be good if TVheadend exported values there so EPG is possible on Enigma2 boxes.
The values doesn't need to be same as satellite values it can be internal TVheadend values linked to EPG name.
For now i am using this for Engima2 boxes and this allows me to get EPG from TVheadend server.
Just to clarify this is written for IPTV but it works with TVheadend server with any source.
Updated by Jaroslav Kysela about 5 years ago
Have you tried to turn on the SID rewrite (value 1) in the 'pass' streaming profile and fill values 1 for ServiceID:TransponderID:NetworkID ? The namespace should be probably DVB-T (hash is EEEE0000), so something like:
#SERVICE 1:0:19:1:1:1:EEEE0000:0:0:0:http://tvhip:9981/stream/channelid/238820178?profile=pass_with_sid_rewrite:Das Erste
Updated by Andreas Fornberg about 5 years ago
That doesn't work on DVB-C source atleast and i have added some free streams available on internet and they don't have that information. If TVheadend exported in same way like e2m3u2bouquet does it's possible to export xmltv and bouquet and get EPG and logos on each channel. It works fine with e2m3u2bouquet but can't see any reason why TVheadend not should have this builtin.
Updated by Andreas Fornberg about 5 years ago
Enigma2 boxes uses this information to get EPG for the channels.
#SERVICE 1:0:19:1:1:1:EEEE0000:0:0:0:
That information is same for all channels from TVheadend and that won't work.
Updated by Andreas Fornberg about 5 years ago
Checked now it's #SERVICE 1:0:0:0:0:0:0:0:0:0: on all channels.
Updated by Andreas Fornberg about 5 years ago
Full export for a few channels with TVheadend and all rewrite options is on.
#DESCRIPTION Blandat
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://192.168.0.37:9981/stream/channelid/1515404271?profile=pass:SVT1 HD
#DESCRIPTION SVT1 HD
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://192.168.0.37:9981/stream/channelid/1386609785?profile=pass:SVT2 HD
#DESCRIPTION SVT2 HD
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://192.168.0.37:9981/stream/channelid/35055646?profile=pass:TV3 HD
#DESCRIPTION TV3 HD
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://192.168.0.37:9981/stream/channelid/256709305?profile=pass:TV4 HD
#DESCRIPTION TV4 HD
#SERVICE 1:0:0:0:0:0:0:0:0:0:http://192.168.0.37:9981/stream/channelid/2060731626?profile=pass:Kanal 5 HD
#DESCRIPTION Kanal 5 HD
With e2m3u2bouquet it looks like this
#SERVICE 1:0:1:84d0:f258:a811:0:0:0:0:http%3A//192.168.0.37%3A9981/stream/channelid/1515404271%26profile%3Dpass:SVT1 HD
#DESCRIPTION SVT1 HD
#SERVICE 1:0:1:84d1:f258:a811:0:0:0:0:http%3A//192.168.0.37%3A9981/stream/channelid/1386609785%26profile%3Dpass:SVT2 HD
#DESCRIPTION SVT2 HD
#SERVICE 1:0:1:84d2:f258:a811:0:0:0:0:http%3A//192.168.0.37%3A9981/stream/channelid/35055646%26profile%3Dpass:TV3 HD
#DESCRIPTION TV3 HD
#SERVICE 1:0:1:84d3:f258:a811:0:0:0:0:http%3A//192.168.0.37%3A9981/stream/channelid/256709305%26profile%3Dpass:TV4 HD
#DESCRIPTION TV4 HD
#SERVICE 1:0:1:84d4:f258:a811:0:0:0:0:http%3A//192.168.0.37%3A9981/stream/channelid/2060731626%26profile%3Dpass:Kanal 5 HD
#DESCRIPTION Kanal 5 HD
Updated by Andreas Fornberg about 5 years ago
And for EPG Import addon it adds a channel file that looks like this.
<channel id="ef3b53da7d78d85162b086add62d810d">1:0:1:84d0:f258:a811:0:0:0:0:http%3a//example.m3u8</channel> <!-- SVT1 HD -->
<channel id="79fca5d260fec84e987fec48bf42ce1b">1:0:1:84d1:f258:a811:0:0:0:0:http%3a//example.m3u8</channel> <!-- SVT2 HD -->
<channel id="1ee816825918e7be8e4be0f0d182c15c">1:0:1:84d2:f258:a811:0:0:0:0:http%3a//example.m3u8</channel> <!-- TV3 HD -->
<channel id="b9124d8f084ac963aa3ffdf53b7eac02">1:0:1:84d3:f258:a811:0:0:0:0:http%3a//example.m3u8</channel> <!-- TV4 HD -->
<channel id="ea44d4fac67a3d4b2a1f983c8e1a95eb">1:0:1:84d4:f258:a811:0:0:0:0:http%3a//example.m3u8</channel> <!-- Kanal 5 HD -->
channel id = name of the epg that will be used for each channel.
Updated by Andreas Fornberg about 5 years ago
Some encoding problems here but i hope you understand.