Project

General

Profile

channellogos

Added by Hardcore Jax over 12 years ago

Im grabbing xmltv from ontv.se and it seems like Tvheadend also grabs the channelogos automaticly from the xml file instead of the urls witch i put in under tvheadend web gui settings. i dont want that :(
Is there an setting to override this ? I want to choose my own logos !


Replies (4)

RE: channellogos - Added by Hein Rigolo over 12 years ago

at the moment there is no such setting .. but I can understand that such a feature might be handy.

have a look at /src/xmltv.c .. around line 285 there is a function called xmltv_parse_channel.
There it parses the channel tag in the xmltv file. Maybe you can create a option the the xmltv settings to skip this globally (so for all channels)

or maybe you can make it an option in the channel list and then check against that option when tvheadend tries to load the data.
I suspect this happens aroud line 119 with the xmltv_load function.

So if you are up to a coding challenge ... hack up a solution and provide a patch.

Hein

RE: channellogos - Added by Hardcore Jax over 12 years ago

Thx for answer but my skills are very bad. Hope you guys can fix this issue so i can choose my own loggos and dont have to worry about losing them on every reboot.

RE: channellogos - Added by Hein Rigolo over 12 years ago

other solution direction ....

Before loading the xmltv file into tvheadend change the URL in the xmltv file to your own URLs.
That should be possible with some scripting ....

Hein

RE: channellogos - Added by Hardcore Jax over 12 years ago

This script for windows deletes the unwanted logos in the xmltv file

type data.xml | findstr /v "http://ontv.se/imgs/epg/logos/" >tmp.xml
del data.xml
ren tmp.xml data.xml

But still hoping a option for this in tvheadend gui will be added

    (1-4/4)