su1s / e2m3u2bouquet

Enigma2 IPTV m3u parser and bouquet creator
GNU General Public License v3.0
68 stars 50 forks source link

Invalid Service refernece #112

Closed lincsat closed 5 years ago

lincsat commented 5 years ago

I'm finding that in some cases I'm getting invalid service refs. As you can see from below, the refs have a field containing more than the 4 character max allowed by Enigma2. The channels do still display but it breaks the EPG. Is it possible to limit each field to 4 characters?

<channel name="VIP HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc6:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc7:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="VIP FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc8:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc9:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
DougMac commented 5 years ago

I'll get this fixed in the next release.

pepsik-kiev commented 5 years ago

This error in the code because there is no restriction on the bit width of the TsID (4-digit HEX value) when forming and outputting the serviceref, as the standard prescribes https://wiki.tuxbox-neutrino.org/wiki/Enigma:Services:Formatbeschreibung For the correct formation of EPG, you can use Namespace in serviceref as E2 itself does for some satellite TV providers ... For examle 1:0:1:79E:1D:56:310000:0:0:0: 79E ServiceID (SID) 1D TransponderID (TID) 56 NetworkID (ONID) 310000 Namespace

BliNeR-KeY commented 5 years ago

I'm finding that in some cases I'm getting invalid service refs. As you can see from below, the refs have a field containing more than the 4 character max allowed by Enigma2. The channels do still display but it breaks the EPG. Is it possible to limit each field to 4 characters?

<channel name="VIP HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc6:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc7:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="VIP FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc8:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc9:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />

dhis issue is because from your source no have TS output. e2m3u2bouquet support only MPEGTS output. already i talk skype about dhis issue with @DougMac . dhis is not e2m3u2bouquet issue. solution = add access_output TS key.

DougMac commented 5 years ago

I'm finding that in some cases I'm getting invalid service refs. As you can see from below, the refs have a field containing more than the 4 character max allowed by Enigma2. The channels do still display but it breaks the EPG. Is it possible to limit each field to 4 characters?

<channel name="VIP HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc6:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="HD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc7:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="VIP FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc8:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />
    <channel name="FHD Sky Sports Main Event" nameOverride="" tvg-id="skysportsmainevent.uk" enabled="true" category="VIP HD/FHD UK SPORTS" categoryOverride="" serviceRef="1:0:1:16fc9:f1e5:a4e9:0:0:0:0" clearStreamUrl="false" />

dhis issue is because from your source no have TS output. e2m3u2bouquet support only MPEGTS output. already i talk skype about dhis issue with @DougMac . dhis is not e2m3u2bouquet issue. solution = add access_output TS key.

Hi,

What we discussed regarding MPEGTS was an issue with one specific panel. Every other panel I've seen doesn't have this issue.

The OP issue is likely due to a change we made with the service ids for VOD streams which if you have a large number will exceed the max limit.

This will be fixed in the next release