hello
After the automatically creation i would like to see the xml like this:
<channel id="TVP 1">
<display-name lang="pl">TVP 1</display-name>
<url>http://www.programtv.interia.pl</url>
<icon src="http://webgrabplus.com/%3Ca%20href%3D"http://mods-xbmc.pl/epg/logo/TVP%201.png"">http://mods-xbmc.pl/epg/logo/TVP%201.png" />
</channel>
How to add function to the webgrab+ to do it?
I think I have to put a specify path somewhere there:
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvp-1,page,pl-name,cid,20823112" xmltv_id="TVP 1">TVP 1</channel>
I don't think you can add your own channellogo ( it is removed every time)
But you can use the logo from the site itself. Here is the adapted .ini that will give you the logo from the site. (but not from xbmc site!)
Thanks for the quick response
After generation gives me this code:
I want to make this code: <icon> http://i.iplsc.com/-/0001AF51D4I7J2N6-C120.jpg </ icon> Look exactly just: <icon src="http://www.webgrabplus.com/%3Ca%20href%3D"http://i.iplsc.com/-/0001AF51D4I7J2N6-C120.jpg"">http://i.iplsc.com/-/0001AF51D4I7J2N6-C120.jpg" />
No: <icon> </ icon>
But: <icon src="" />
How to do it in the .ini: programtv.interia.pl_.ini
thanks
WG++ outputs the channel logo's like the standard asks it, so like <icon src="" />
If that is not the case, check if you use the latest version of WG++
I have a newest version of WG++ but when i make a creation of it is still looking like this <icon> </icon> not like I wish <icon src="" /> any ideas how to fix that?
No, not realy.
If you use the latest version of WG++, then it should work.
On what platform are you running and could you add your:
platform - windows 7
this is my WG++
ok, you just use an older version of WG++ (version 1.1.1/18)
Just update to the latest version and the icon problem will be gone.
thanks
its works :)
If you want you can get your own value for the channel icon in stead of the one grabbed from the site.
This way:
1. add a site_channel attribute to the channel entry in the config file with the value you want in the channel icon, like this:
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvp-1,page,pl-name,cid,20823112" site_channel="http://mods-xbmc.pl/epg/logo/TVP%201.png" xmltv_id="TVP 1">TVP 1</channel>
2. Replace the index_urlchannellogo line in programtv.interia.pl as follows:
remove this:
index_urlchannellogo{url()||<div class="img">| src="http://www.webgrabplus.com/%7C"|</div>}
add this:
index_variable_element.modify {addstart(scope=datelogo)|'config_site_channel'}
index_urlchannellogo.modify {addstart|'index_variable_element'}
Something else: I noticed a leftover (debug) switch in the ini :
url_index{url (debug) |http://programtv.interia.pl/stacja-|channel|,o,|urldate}
It saves some logging if you remove that, like :
url_index{url|http://programtv.interia.pl/stacja-|channel|,o,|urldate}
Jan
Thank u so much for your help Jan, u are the best!
regards,
micnor
Thanks for the compliment, but I disagree .. Francis is even better!
hi
it is possible to generate the xml with extra line name of the program but without any content
for example:
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvp-1,page,pl-name,cid,20823112" xmltv_id="TVP 1">TVP 1</channel>
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvp-2,page,pl-name,cid,20825004" xmltv_id="TVP 2">TVP 2</channel>
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvp-hd,page,pl-name,cid,20901331" xmltv_id="TVP HD">TVP HD</channel>
<channel update="i" site="programtv.interia.pl" site_id="stacja-tvn-hd,page,pl-name,cid,20900412" xmltv_id="TVN HD">TVN HD</channel>
<channel>TVN1 HD</channel>
<channel>TVN2 HD</channel>
regards,
micnor
Hi
what you can do is add this to your config:
<channel update="" site="empty" xmltv_id="TVN2 HD">TVN2 HD</channel>
These are the minimum required for the program to recognise it as a channel.
Make sure you have the dummy siteini "empty.ini" in your WG++ homefolder.
Jan
Thaks Jan
On the way which you told me the program is adding that option but there is no possibility to choose the line of the tv program. There is no time of tv programs and that is reason why that line is no exist.
EPG for XBMC needed the line of time for properly working.There is any option to add a cheat parameter of time?
regards,
micnor
Hi,
the attached dummy ini that places a dummy show one for every day. Like this:
<programme start="20130423000000" stop="20130423235900" channel="TVN2 HD">
<title lang="en">dummy program</title>
<desc lang="en">Created by WebGrab+Plus, your favorite TVguide Grabber.(n)</desc>
</programme>
It acepts any site_id (not required), xmltv_id and displayname you wish to use. I used this:
<channel update="i" site="dummy" xmltv_id="TVN2 HD">TVN2 HD</channel>
If you don't like the description text, you can change it in this line in dummy.ini
index_description.modify {addstart|Created by WebGrab+Plus, your favorite TVguide Grabber.}
Jan
Thank u very much! - Problem solving.