Hello,
i need help to add channels logo, i have db logos in my server. Any code to add in ini file?
Tnx
Brought to you by Jan van Straaten
Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl
it would be a mess to change ini to point to a channel logo, in particular for sites with multi channel. Best is to modify you guide.xml and add manually something like
<channel id="BBC">
<display-name lang="en">BBC</display-name>
<icon src="http://www.webgrabplus.com/%3Ca%20href%3D"http://www.myepg.com/BBC.png">http://www.myepg.com/BBC.png"/>
</channel>
Your display name must be the same of your config
i need logo from my domain www.domain.com/logo/name-off-channels.png
Whatever....you can change it in your guide.xml
I used also this solution, thank you Blackbear199!
Is also possible replace some symbols making the url of logo? In this way I can't make many logos, they have inside the "config_site_id" symbols like : or ? and windows don't accept this kind of letters. :)
I attach the ini, but is like merge-xmltv.ini with some small modify.
The main trouble is: I have inside guide.xml addreses like this:
www.mywebsite/logos/rai 1 hd.png
www.mywebsite/logos/rai 1 +1 hd.png
www.mywebsite/logos/canale 5 hd??.png
The name is the same of config_site_id, but till they are names of channels is ok, when become names of png I can't also save them on my pc under windows, because reject the symbol ? by name of files. My server also don't like the spaces, I think prefer read %20 than one space. I hope is more clear now.
No, probably I wasn't clear, webgrab and the ini are working perfectly, there is not any issue from webgrab. The trouble is about the next step.
I want know if is possible modify the ini to rewrite automatically some charecters like "?" or "/" about the name of the file.
I only tought probably is possible do it in a simple way, but I am not able to setup it! :D
You can read my mind. This is a really great solution. Really thank you. I saw also curl support it, so I can rename all files in one second by unix shell. Fast and perfect.
Like this : index_urlchannellogo.modify {addstart|http://epg-guide.com/logos/'config_site_id'.png}
No is not working, this make illegal characters, Blackbear199 already posted the solution.
You didn't get my point