Posts by Box313

    thank you for the aknowledgement ;)


    i think it s very easy. I would place it where you parse the overwrite.xml tree to the channels dict.


        for channel in group:
            if channel.attribute.tvg-id = "Marker" then:

    dict['serviceref] = "1:64:0:0:0:0:0:0:0:0:"


    i dont see how it should interfere with anything else ?

    Not quite like that... XML is converted into OrderedDict... and only then “playing” with OrderedDict - we get (generate) records in bouquet files. tvg-id is used to form a hash of the string... If you quickly read the topic 5-10 pages ago you will see a correspondence with jeepcook about this and why this is so...

    youre absolutely right, if XML data is collected to dict, it makes more sense to put the information in a <marker> tag.


    How soon can you implement this ?

    Yes, “named marker” (paperclip) in the bouquet... is exactly what i mean, by simply manually adding new lines in overwrite.xml and use them as a dummy.


    The screenshot you made, shows it perfectly. DId you already write some new code and try it?


    I thought, since you are loooping throu the tvg-id anyway, its easier to check against tvg-id value, like:


    if tvg-id="Marker" then create serviceref = "1:64:[counter]:0:0:0:00000000:0:0:0"


    but a <marker> tag is also a nice way


    i think, you cant use d17 as placeholder at third position because it is a counter.


    And of course some Infotext about this option at the top of the overwrite xml would be nice.

    Hello pepsik, hello everyone,


    unfortunetely only few providers have markers in the groups (bouquets) of their playlists.


    So i thought, it would be a good thing, to have an option to create them, whenever bouquets based on custom sorting are created.


    Here is an example to illustrate, what I mean:


    If in ***override.xml a tvg-id="Marker" is found (or "9999" for example), then on generating the .channels.xml,

    it would be mapped to a channel with servicetype 64 (not hidden marker).


    ../override/****-sort-override.xml:
           <channels>
                  <groupe name="-- Общие --">
                         <channel enabled="1" name="== Уфа ==" tvg-id="Marker"/>
                         <channel enabled="1" name="ТНТ +2 (Уфа)" nameOverride="" tvg-id="3022" tvgidOverride="" reftypeOverride=""/>
                         <channel enabled="1" name="НТВ +2 (Уфа)" nameOverride="" tvg-id="2036" tvgidOverride="" reftypeOverride=""/>
                         <channel enabled="1" name="== Омск ==" tvg-id="Marker"/>
                         <channel enabled="1" name="ТНТ +4 (Омск)" nameOverride="" tvg-id="3012" tvgidOverride="" reftypeOverride=""/>
                         <channel enabled="1" name="НТВ +3 (Омск)" nameOverride="" tvg-id="2016" tvgidOverride="" reftypeOverride=""/>
                  </groupe>
           </channels>


    .../epgimport/e2m3u2b_*****.channels.xml.gz
           <channels>
                  <groupe name="-- Общие --">
                         <channel id="Marker">1:64:32:0:0:0:dddd0000:0:0:0:</channel><!-- == Уфа == -->
                         <channel id="3022">1:0:1:a492:e194:d17:dddd0000:0:0:0</channel><!-- ТНТ +2 (Уфа) -->
                         <channel id="2036">1:0:1:b9c5:2993:d17:dddd0000:0:0:0</channel><!-- НТВ +2 (Уфа) -->
                         <channel id="Marker">1:64:32:0:0:0:dddd0000:0:0:0:</channel><!-- == Омск == -->
                         <channel id="2034">1:0:1:aa14:47ef:d17:dddd0000:0:0:0</channel><!-- ТНТ +4 (Омск) -->
                         <channel id="3000">1:0:1:b065:329c:d17:dddd0000:0:0:0</channel><!-- НТВ +3 (Омск) -->
                  </groupe>
           </channels>


    Would be a nice feature to have. They would appear as a real marker in bouquets on our STB with all the amenities a marker has.

    What dou you think ?