You are here

remove icon source in the epg xmltv import

3 posts / 0 new
Last post
LewHam
Offline
Joined: 7 years
Last seen: 7 years
remove icon source in the epg xmltv import

In my epg xmltv file I get an icon source entry, I wonder if there is anyway how to not grab that info.
This is how it looks like in the xml file:

 <channel id="SVT1.se">
    <display-name lang="sv">SVT1</display-name>
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"http://new.static.tv.nu/76?height=60">http://new.static.tv.nu/76?height=60" />
    <url>http://www.tv.nu</url>
  </channel>

and this is how I would like it to look like:
 <channel id="SVT1.se">
    <display-name lang="sv">SVT1</display-name>
    <url>http://www.tv.nu</url>
  </channel>

 

 

LewHam
Offline
Joined: 7 years
Last seen: 7 years

so in the information part in the epg xmltv file is best to edit wit rex?
if you look bellow, there is som info about vategory, icon source and in some posts I have also seen actors/actres.

Is there anyway to get rid of that or is it to use rex?

 <programme start="20160913131500 +0200" stop="20160913160000 +0200" channel="SVT2.se">
    <title lang="sv">Riksmötets öppnande</title>
    <desc lang="sv">Direkt från Riksmötets högtidliga öppnande. Kung Carl XVI Gustaf inleder traditionsenligt och statsminister Stefan Löfven (S) presenterar sin regeringsförklaring. Årets regionala tema, som syns i program, mat och utsmyckning, är norra Norrland. Musikunderhållning av Janne Schaffer, Arméns musikkår med flera. Efter ceremonin intervjuas samtliga partiledare av Mats Knutson.</desc>
    <category lang="sv">Nyheter</category>
    <category lang="sv">Public affairs</category>
    <category lang="sv">Special</category>
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"http://new.static.tv.nu/16987214">http://new.static.tv.nu/16987214" />
  </programme>

LewHam
Offline
Joined: 7 years
Last seen: 7 years

you are so helpful in this, thank you.

I have just one last question I cant see anything in the rex documentation.

at the end of my programme section there is an icon src (not the same as in the begining of the xml file), is there any way to remove that, can't find anything about that in rex.

<icon src="http://webgrabplus.com/%3Ca%20href%3D"http://www.webgrabplus.com/%3Ca%20href%3D">http://www.webgrabplus.com/%3Ca%20href%3D"http://new.static.tv.nu/16987214">http://new.static.tv.nu/16987214" />
  </programme>

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