Jump to content


Photo

Picons for IPTV


  • Please log in to reply
36 replies to this topic

#1 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 12:10

Hello, i am looking for a way to add picons (and make them shown) in my iptv channels. I am using a vu+ solo receiver with OpenPLI 3.0. Does anybody knows? I am watching the channels from a bouquet straight to tv - like when you are watching satellite channels from a bouquet (through the receiver), not from a stream player in the receiver. The streams are not free to air.



Re: Picons for IPTV #2 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 25 November 2013 - 16:09

There are two ways:
1) Specify picon name as in service reference with numerals before web address.
2) To use the picons of satellite channels, specify service reference as recommended in this topic: http://openpli.org/f...at/#entry367497
It works not only for the EPG, but also for picons.


Re: Picons for IPTV #3 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 16:20

There are two ways:
1) Specify picon name as in service reference with numerals before web address.
2) To use the picons of satellite channels, specify service reference as recommended in this topic: http://openpli.org/f...at/#entry367497
It works not only for the EPG, but also for picons.

 

 

Can you give me an example of how the .png file should be like in this case?

1:0:1:133:3E1C:13F:820000:0:0:0:http%3a//a.stream.tv:Stream



Re: Picons for IPTV #4 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 25 November 2013 - 17:21

Look at the others picons:

1_0_1_133_3E1C_13F_820000_0_0_0.png 


Re: Picons for IPTV #5 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 17:51

Look at the others picons:

1_0_1_133_3E1C_13F_820000_0_0_0.png 

 

 

But this one will give a picon only to the satellite channel and not in the streaming channel, and the satellite channel will have a picon showed but the streaming channel will not show nothing. So i want the picon of the streaming channel to be shown as i said before. Can you help?



Re: Picons for IPTV #6 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 25 November 2013 - 18:01

but that does not allow you to do
thus

 

1_0_1_133_3E1C_13F_FFFF0000_0_0_0.png 


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Picons for IPTV #7 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 18:44

but that does not allow you to do
thus

 

1_0_1_133_3E1C_13F_FFFF0000_0_0_0.png 

 

So instead of http%3a//a.stream.tv and any other similar http i should use the FFFF0000 or i didn't understand correct?



Re: Picons for IPTV #8 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 25 November 2013 - 19:02

you understand me correctly


It can attract Picone
EPG,
description,
  next EPG

 

 

Attached Files


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Picons for IPTV #9 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 19:33

So can you tell me how will the picon named in this example: 1:0:1:13D:157C:13E:820000:0:0:0:http%3a//stream site/novacinema1/user name/password:Novacinema1



Re: Picons for IPTV #10 Bernado

  • Senior Member
  • 63 posts

+2
Neutral

Posted 25 November 2013 - 19:46

1_0_1_13D_157C_13E_820000_0_0_0.png

 

btw, picon and xpicon for gst-streams:

 

 

 

 

Attached Files



Re: Picons for IPTV #11 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 25 November 2013 - 19:46

1:0:1:13D:157C:13E:FFFF0000:0:0:0:http%3a//stream site/novacinema1/user name/password:Novacinema1

 

picon

 

1_0_1_13D_157C_13E_FFFF0000_0_0_0.png


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Picons for IPTV #12 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 19:58

1:0:1:13D:157C:13E:FFFF0000:0:0:0:http%3a//stream site/novacinema1/user name/password:Novacinema1

 

picon

 

1_0_1_13D_157C_13E_FFFF0000_0_0_0.png

 

I tried this one and i cant see the picon. I am also using mymetrix skin (does that make it a problem?). I can see the picon in channels list and the epg but i cant see the picon of the channel when i am pressing the ok or the previous or next button of the remote control. When you press the ok button to a channel that is playing it shows you the name of the channel, the current and next epg, but not the picon of the channel. If that channel is not a stream channel but a normal satellite channel i can see the picon and all the other info. All of my picons are located in: /usr/share/enigma2/picon


Edited by ThanosDJ, 25 November 2013 - 20:00.


Re: Picons for IPTV #13 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 25 November 2013 - 20:05

The check
  infobar
PLI-HD Skin should work

Attached Files


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Picons for IPTV #14 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 20:30

The check
  infobar
PLI-HD Skin should work

 

In this skin is working you were correct (even without the FFFF0000), but the thing is that i like mymetrix skin. Do you know how can i explain this problem to the author of that skin in order to fix it in a new version or to give me a solution? Or maybe do you know any other skin that doesn't have this problem? 



Re: Picons for IPTV #15 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 20:41

By the way thanks for all the help you provide (maigais, Bernado and Taapat). I also have another question. I am watching satellite channels from 13 and 19.2 degrees. Is it possible to receive epg for channels that i am watching through stream, without my receiver connected to the satellite that the channel is working (for example i am receiving some stream channels from 28.2 and 9 degrees but my receiver is not receiving from those satellites, so can i have epg for that channels or not?)



Re: Picons for IPTV #16 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 25 November 2013 - 21:51

In this skin is working you were correct (even without the FFFF0000), but the thing is that i like mymetrix skin. Do you know how can i explain this problem to the author of that skin in order to fix it in a new version or to give me a solution?

PLI-HD Skin used standard openpli renderer Picon.py.
Apparently your skin is used another, who with picons works in a different way. Replace him with a standard Picon.py and I hope everything will be okay.


Re: Picons for IPTV #17 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 22:20

In this skin is working you were correct (even without the FFFF0000), but the thing is that i like mymetrix skin. Do you know how can i explain this problem to the author of that skin in order to fix it in a new version or to give me a solution?

PLI-HD Skin used standard openpli renderer Picon.py.
Apparently your skin is used another, who with picons works in a different way. Replace him with a standard Picon.py and I hope everything will be okay.

 

I've searched mymetrix skin and couldn't find a file called Picon.py. I have found it only in usr\lib\enigma2\python\Components\Renderer. Is there any other way to make it work?



Re: Picons for IPTV #18 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 22:30

i don't know if this helps and if i can put it here. The file XPicon.py is like this:

 

##
## Picon renderer by Gruffy .. some speedups by Ghost
## XPicon mod by iMaxxx
## XPicon mod by Misenko
##
from Renderer import Renderer
from enigma import ePixmap
from enigma import iServiceInformation, iPlayableService, iPlayableServicePtr
from Tools.Directories import fileExists, SCOPE_SKIN_IMAGE, SCOPE_CURRENT_SKIN, resolveFilename
from Components.config import config
 
class XPicon(Renderer):
searchPaths = ('/media/hdd/XPicons/%s/','/media/img/XPicons/%s/','/media/usb/XPicons/%s/','/usr/share/enigma2/XPicons/%s/','/usr/share/enigma2/%s/', '/media/usb/%s/')
 
def __init__(self):
Renderer.__init__(self)
self.path = "picon"
self.nameCache = { }
self.pngname = ""
 
def applySkin(self, desktop, parent):
attribs = [ ]
for (attrib, value) in self.skinAttributes:
if attrib == "path":
self.path = value
else:
attribs.append((attrib,value))
self.skinAttributes = attribs
return Renderer.applySkin(self, desktop, parent)
 
GUI_WIDGET = ePixmap
 
def changed(self, what):
if self.instance:
pngname = ""
if what[0] != self.CHANGED_CLEAR:
 
sname = self.source.text
pos = sname.rfind(':')
if pos != -1:
sname = sname[:pos].rstrip(':').replace(':','_')
pngname = self.nameCache.get(sname, "")
if pngname == "":
pngname = self.findPicon(sname)
if pngname != "":
self.nameCache[sname] = pngname
if pngname == "": # no picon for service found
pngname = self.nameCache.get("default", "")
if pngname == "": # no default yet in cache..
pngname = self.findPicon("picon_default")
if pngname == "":
tmp = resolveFilename(SCOPE_CURRENT_SKIN, "picon_default.png")
if fileExists(tmp):
pngname = tmp
else:
pngname = resolveFilename(SCOPE_SKIN_IMAGE, "skin_default/picon_default.png")
self.nameCache["default"] = pngname
if self.pngname != pngname:
if pngname:
if config.plugins.MyMetrix.ScalePicons.value == "scale-picons-yes":
self.instance.setScale(1)
self.instance.setPixmapFromFile(pngname)
self.instance.show()
else:
self.instance.hide()
self.pngname = pngname
 
def findPicon(self, serviceName):
for path in self.searchPaths:
pngname = (path % self.path) + serviceName + ".png"
if fileExists(pngname):
return pngname
return ""
 
Maybe i should make a change in this file but i don't know where. Any help?

Edited by ThanosDJ, 25 November 2013 - 22:33.


Re: Picons for IPTV #19 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 25 November 2013 - 22:47

now have another thing to ;)

add

 

sname = sname[:pos].rstrip(':').replace(':','_')
sname = sname.split("_http")[0]


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Picons for IPTV #20 ThanosDJ

  • Senior Member
  • 30 posts

0
Neutral

Posted 25 November 2013 - 23:28

now have another thing to ;)

add

 

sname = sname[:pos].rstrip(':').replace(':','_')
sname = sname.split("_http")[0]

 

Great!!! That was it!!! Thanks. Now another thing. It is still not showing the epg of the channels that my satellite isn't connected as i said before. It is showing the epg from the stream channels that i am connected to (satellites 13 and 19.2) but not the epg from the stream channels that i am not connected to but receiving (satellites 28.2 and 9). Is that correct to happen or not?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users