Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 55

Thread: Picons by name why dont they show up on openatv and vti images

  1. #31
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,541
    Thanks
    6,517
    Thanked 9,224 Times in 6,287 Posts
    OpenATV definitely have SNP. So likely mismatch between name of service and name of picon.

  2. #32
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    All seems fine on vix thru

  3. #33
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    Ive taken a screen grab of the channel selection of the bouquet below (first 6 channels) and upload the picons for them.


    #SERVICE 4097:0:1:84d0:a9b0:814d:0:0:0:0:http/user/pass/434:BBC One HD
    #DESCRIPTION BBC One HD
    #SERVICE 4097:0:1:84d1:a9b0:814d:0:0:0:0:http/user/pass/433:BBC Two HD
    #DESCRIPTION BBC Two HD
    #SERVICE 4097:0:1:84d2:a9b0:814d:0:0:0:0:http/user/pass/432:ITV HD
    #DESCRIPTION ITV HD
    #SERVICE 4097:0:1:84d3:a9b0:814d:0:0:0:0:http/user/pass/431:Channel 4 HD
    #DESCRIPTION Channel 4 HD
    #SERVICE 4097:0:1:84d4:a9b0:814d:0:0:0:0:http/user/pass/430:Channel 5 HD
    #DESCRIPTION Channel 5 HD
    #SERVICE 4097:0:1:84d5:a9b0:814d:0:0:0:0:http/user/pass/429:Sky1 HD
    #DESCRIPTION Sky1 HD
    1_0_1_283D_7FE_2_11A0000_0_0_0.jpg

    bbconehd.png

    bbctwohd.png

    itvhd.png

    channel4hd.png

    channel5hd.png

    sky1hd.png

  4. The Following User Says Thank You to markus625 For This Useful Post:

    abu baniaz (03-12-19)

  5. #34
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,541
    Thanks
    6,517
    Thanked 9,224 Times in 6,287 Posts
    Service names and picon names are fine. What skin are you using and can it be downloaded? Please check the skin for what it uses to render the picons.

  6. #35
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    Quote Originally Posted by abu baniaz View Post
    Service names and picon names are fine. What skin are you using and can it be downloaded? Please check the skin for what it uses to render the picons.
    I'll take a look tomorrow night ��

  7. #36

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,140
    Thanks
    107
    Thanked 1,439 Times in 1,141 Posts
    Hi,
    VTi also uses SNP BUT they use a different method to generate the filename. I complained about that when they "invented" it a few month after OpenViX but they were not very communicative.

    Ralf
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  8. #37
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,541
    Thanks
    6,517
    Thanked 9,224 Times in 6,287 Posts
    The pyo file Markus uploaded does not have SNP code.

  9. #38

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,140
    Thanks
    107
    Thanked 1,439 Times in 1,141 Posts
    Hi,
    I am not reading the VTi board anymore and also do not use their image. All I can say is that they supported their own SNP format in 2016 or so and they were not willing to change their naming.

    Ralf
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  10. #39
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    I believe the py file i attached in post 24 did have the mod for the snp taken from a post on Vuplus support forum but i did try it and didn't much difference at all.

    Had this code added
    Code:
    import os, re, unicodedata
    Code:
       if pngname == '': # SNP picon by channel name
                            serviceHandler = eServiceCenter.getInstance()
                            service = eServiceReference(s_name)
                            if service and service is not None:
                                info = serviceHandler.info(service)
                                if info and info is not None:
                                    name = info.getName(service)
                                    name = unicodedata.normalize('NFKD', unicode(name, 'utf_8', errors='ignore')).encode('ASCII', 'ignore')
                                    name = re.sub('[^a-z0-9]', '', name.replace('&', 'and').replace('+', 'plus').replace('*', 'star').lower())
                                    if len(name) > 0:
                                        pngname = self.findPicon(name)
                                        if not pngname and len(name) > 2 and name.endswith('hd'):
                                            pngname = self.findPicon(name[:-2])
    This was added between
    Code:
        if pngname == '':
                        pngname = self.findPicon(sname)
                        if pngname == '':
                            serviceHandler = eServiceCenter.getInstance()
                            service = eServiceReference(s_name)
                            if service and service is not None:
                                info = serviceHandler.info(service)
                                if info and info is not None:
                                    service_name = info.getName(service).replace('\xc2\x86', '').replace('\xc2\x87', '').replace('/', '_')
                                    pngname = self.findPicon(service_name)
    and
    Code:
      if pngname == '' and sname.startswith('4097_'):
                            pngname = self.findPicon(sname.replace('4097_', '1_', 1))
                        if pngname != '':
                            self.nameCache[sname] = pngname

  11. #40
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,541
    Thanks
    6,517
    Thanked 9,224 Times in 6,287 Posts

    Picons by name why dont they show up on open

    Do we know for a definite that the skin you are using is using the image's picon renderer? You are going to be chasing ghosts if you don't establish this.


    The 4097 start has no relevance to SNP. For SRP, we also need to cater for 5001 and 5002.That is why the other images treat everything in that segment as 1.


    I know 100% ATV supports SNP. Their out-of-box skin MetrixHD uses a separate picon renderer, I submitted a pull request for it several years ago, it was merged.

  12. #41
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    Quote Originally Posted by abu baniaz View Post
    Do we know for a definite that the skin you are using is using the image's picon renderer? You are going to be chasing ghosts if you don't establish this.

    The 4097 start has no relevance to SNP. Also need to cater for 5001 and 5002.That is why the other images treat everything in that segment as 1.

    I know 100% ATV supports SNP. Their out-of-box skin MetrixHD uses a separate picon renderer, I submitted a pull request for it.
    Ive tried two skins and the reference for the picon seems the standard affair.

    Code:
    <widget source="Service" render="Picon" position="10,943" zPosition="4" size="220,132" transparent="1" alphatest="blend">
    			<convert type="ServiceName">Reference</convert>
    		</widget>

  13. #42
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    Theres a version called matrix reloaded so ill see if that skin supports the snp picons.

  14. #43
    markus625's Avatar
    Title
    ViX Beta Tester
    Join Date
    Dec 2011
    Posts
    1,104
    Thanks
    208
    Thanked 711 Times in 266 Posts
    No luck with the metrix reloaded skin even his own picons are srp format, its abit of a mystery why VTI seem so backward on this.

  15. #44
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    I am baffled by this and I wrote the original Code. Snp/srp is not related to skin.
    Help keep OpenViX servers online.Please donate!

  16. #45
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,541
    Thanks
    6,517
    Thanked 9,224 Times in 6,287 Posts
    Quote Originally Posted by Huevos View Post
    I am baffled by this and I wrote the original Code. Snp/srp is not related to skin.
    It is if the skin has its own picon renderer. As examples

    https://github.com/openatv/MetrixHD/...eb66c48863c706
    https://github.com/openatv/MetrixHD/commit/ac339d7c5e8001099ef0023799dd501a3ef9b758


    We are also talking about an image that has no public repo.

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.