You are here

mojtv.net.ini icons problem

3 posts / 0 new
Last post
bojanj
Offline
Joined: 6 months
Last seen: 6 months
mojtv.net.ini icons problem

I managed to get EPG data working and it works flawlessly ... but i have a problem loading channel logos from xml file

When i try to copy the icon src url it loads the logo only after i add http: in front and when i change & to &

I m not a coder so i dont really know how to change this... Maybe a little help from someone more experienced

TNx in advance

Blackbear199
Offline
WG++ Team memberDonator
Joined: 3 years
Last seen: 6 hours

see section 4.4.4 other url elements in the manual.

url-elementname {url(optional arguments)|leadstring|separator strings}

what ur looking for is the leadstring.

this is how u add the http: part to to these special elements

so..

index_urlchannellogo {url|http:|separator strings}

you replace separator string with the actual scrub u use to get the logo info

regarding & 

& is a special character and needs to be encoded as such in xml files.when its used buy ur epg viewer its convered back to a &

bojanj
Offline
Joined: 6 months
Last seen: 6 months

Tnx... Got it working 

Changed 

index_urlchannellogo {url(scope=datelogo)|http:|<h1 id="MainContent_programsingle_h1title"|src="|"|</h1>}

and added a new line below showicon.scrub

showicon.modify {addstart(not "")|http:}

 

 

Maybe you should upload new ini file for anyone else having a same problem

Cheers :D

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