You are here

Personalised icons

11 posts / 0 new
Last post
pajnkiler
Offline
Joined: 7 years
Last seen: 6 years
Personalised icons

Good evening for everyone!

I looking for help with editing programtv.interia.pl.channels.ini file

I need to change channels icon source. At the moment Webgrab when generating EPG add automatically channel icons as well. A problem is that this icons are in very low resolution, so on full hd or UHDTV - they looks terrible badly

Do I need to change something in programtv.interia.pl.channels.ini only? Or do I need to do anything more?

At the moment when EPG is generated, channel info look like:

<channel id="TVP 1 HD PL">
    <display-name lang="pl">TVP 1 HD PL</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://i.iplsc.com/-/0004NCS70UBYWOOF-C120.jpg">http://i.iplsc.com/-/0004NCS70UBYWOOF-C120.jpg" />
    <url>http://www.programtv.interia.pl</url>
  </channel>

 

but I will something like:

<channel id="TVP 1 HD PL">
    <display-name lang="pl">TVP 1 HD PL</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://myhostaddress.com/picons/TVP">http://myhostaddress.com/picons/TVP 1 HD.png" />
    <url>http://www.programtv.interia.pl</url>
  </channel>

Attached latest (modified by me program.interia.pl.channels.xml too

Looking for any help if possible

Good bless for everyone!

pajnkiler
Offline
Joined: 7 years
Last seen: 6 years

You are a STAR ;-)

Will try in a bit and let you know results

Once again, thank you so much for quck reply

pajnkiler
Offline
Joined: 7 years
Last seen: 6 years

At the moment epg file is created nearly correctly:

  <channel id="TVP 1 FHD PL">
    <display-name lang="pl">TVP 1 FHD PL</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://myhostaddress.com/icony/TVP">http://myhostaddress.com/icony/TVP 1 FHD PL.jpg" />
    <url>http://www.programtv.interia.pl</url>
  </channel>

A problem is that box not downloading picons (I try this with 2 different type icons in png and jpg format)

When I copy and paste above link to icon in Safari browser is displayed but automatically Safari change link to icon to:

http://myhostaddress.com/icony/TVP%201%20FHD%20PL.jpg

So shouldby for Kodi which I use in my Android box - this will be 2 different links??

I replace my true hostname, but if you or anybody will to help me and look - I can provide on PM correct host address with picons

pajnkiler
Offline
Joined: 7 years
Last seen: 6 years

Sorted!! Thank you very much

just for information, webgrab++ generated link like: 
<icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://myhostname.com/icony/TVP+1+FHD+PL.png">http://myhostname.com/icony/TVP+1+FHD+PL.png" />

So I need to change picon names and replace space bar by "+" sign ;-)

Last one question (not regarding picon)....

I change this line:

site {url=programtv.interia.pl|timezone=Europe/Warsaw|maxdays=10|cultureinfo=pl-PL|charset=utf-8|titlematchfactor=50}

 

to

site {url=programtv.interia.pl|timezone=Europe/London|maxdays=10|cultureinfo=pl-PL|charset=utf-8|titlematchfactor=50}

As I live in UK, but EPG still show be wrongly....

Any suggestions, please?

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

Hi thanks for best grabber  I have a little problem I know how to add a multi channel but I can not add icons to multi grab

[code]

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-1-hd-380" xmltv_id="TVP 1 HD">TVP 1 HD</channel>
   <channel offset="0" same_as="TVP 1 HD" xmltv_id="TVP 1">TVP 1</channel>
   <channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-2-hd-145" xmltv_id="TVP 2 HD">TVP 2 HD</channel>
   <channel offset="0" same_as="TVP 2 HD" xmltv_id="TVP 2">TVP 2</channel>

[/code]

it works well but does not download a logo for each channel

[code]

<channel id="TVP 1 HD">
    <display-name lang="pl">TVP 1 HD</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://my">http://my domain.pl/Silver-Black/TVP+1+HD.png" />
    <url>http://www.programtv.onet.pl</url>
  </channel>
  <channel id="TVP 1">
    <display-name lang="pl">TVP 1</display-name>
    <url>http://www.programtv.onet.pl</url>
  </channel>
  <channel id="TVP 2 HD">
    <display-name lang="pl">TVP 2 HD</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://my">http://my domain.pl/Silver-Black/TVP+2+HD.png" />
    <url>http://www.programtv.onet.pl</url>
  </channel>
  <channel id="TVP 2">
    <display-name lang="pl">TVP 2</display-name>
    <url>http://www.programtv.onet.pl</url>
  </channel>

[/code]

as you can see, the logo was downloaded only for the first channel, the rest is not,how to solve this problem?

Thank you

Regards

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

thanks for the answer

I know this solution but I do not want to add extra time
for 7 days for 240 channels waiting time is about 12 hours
when I add an additional 100 items, it will be extended by another 5/6 hours

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-1-hd-380" xmltv_id="TVP 1 HD">TVP 1 HD</channel>
<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-1-hd-380" xmltv_id="TVP 1">TVP 1</channel>

 

This configuration allows the visibility of the icon but does not show epg
shows icons for both channels but epg only for one

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

Yes, the web grab works great but I have KODI
TVP 1 HD and TVP 1 epg works only for TVP 1 HD, but it does not work for TVP 1

 

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

it's a kodi problem

another program recognizes everything well

My settings

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-1-hd-380" xmltv_id="TVP 1 HD">TVP 1 HD</channel>

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-1-hd-380" xmltv_id="TVP 1">TVP 1</channel>

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-2-hd-145" xmltv_id="TVP 2 HD">TVP 2 HD</channel>

<channel update="i" site="programtv.onet.pl" site_id="/program-tv/tvp-2-hd-145" xmltv_id="TVP 2">TVP 2</channel>

my channels on m3u are the same 

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

I will reinstall Kodi this will probably help

Plum12
Offline
Plum12's picture
Has donated long time ago
Joined: 6 years
Last seen: 2 years

Yes, I did it, but it does not help, I checked just the same epg works correctly on libreelec

I need to install fresh Kodi on my pc

 

one more question

I use programtv.onet.pl.ini   there are also addresses from http and the site works on https Should I change it?

 

 

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl