XMLTV Epg Grabber
#46
I got it working now
Bascially followed instructions for Linux on http://webgrabplus.com/documentation/con...tion/howto

make sure you have mono complete in ubuntu and continue:
Quote:sudo apt-get install mono-complete
mkdir /home/hts/wg
wget -O /home/hts/wg/WebGrabPlusV1.1.1LINUX.rar http://webgrabplus.com/sites/default/fil...1LINUX.rar
cd /home/hts/wg
unrar x WebGrabPlusV1.1.1LINUX.rar
wget -O /home/hts/wg/patchexe_51.zip http://webgrabplus.com/sites/default/fil...exe_51.zip
unzip patchexe_51.zip
mkdir /home/hts/webgrab
mkdir /home/hts/webgrab/mdb /home/hts/webgrab/rex
cp /home/hts/wg/WebGrab+Plus.exe /home/hts/webgrab
cp /home/hts/wg/WebGrab++.config.xml /home/hts/webgrab
cp -r /home/hts/wg/MDB/* /home/hts/webgrab/mdb
cp -r /home/hts/wg/REX/* /home/hts/webgrab/rex
mv /home/hts/webgrab/WebGrab++.config.xml /home/hts/wg/WebGrab++.config.xml.original
nano /home/hts/webgrab/WebGrab++.config.xml
paste this content:
Code:
<!--?xml version="1.0"?-->
<settings>

  <!-- for detailed info about the settings see http://webgrabplus.com/node/30 -->

  <filename>/home/hts/webgrab/guide.xml</filename>
  <mode></mode>
  <postprocess grab="y" run="n">mdb</postprocess>
  <logging>on</logging>
  <retry time-out="5">4</retry>
  <timespan>0</timespan>
  <update>f</update>

  <!-- replace the next dummy channel entry with the channels you want -->
  <!-- see http://webgrabplus.com/node/94 for the available sites/channels -->
  <channel site="dummy" site_id="xx" update="i" xmltv_id="Dummy">Dummy</channel>

</settings>
Continue with test file:
Quote:wget -O /home/hts/webgrab/dummy.ini http://webgrabplus.com/sites/default/fil.../dummy.ini
mono /home/hts/webgrab/WebGrab+Plus.exe "$(pwd)"
if all goes well you will end up with a file /home/hts/webgrab/guide.xml
Now you need to get the files for the channels of which you want to actually have the EPG, you can download the whole thing here: http://webgrabplus.com/epg-channels currently:
Quote:wget -O /home/hts/webgrab/SiteIni.Pack_2013.09.10_133538.zip http://webgrabplus.com/sites/default/fil...133538.zip
cd /home/hts/webgrab/
unzip /home/hts/webgrab/SiteIni.Pack_2013.09.10_133538.zip
Check in the .channels.xml file and you will see that there are <channel ...... > entries for every channel on that site. Just copy the channel lines you want, into the WebGrab++.config.xml (see http://webgrabplus.com/documentation/con...tion/howto)
Also change the "filename" location in "/home/hts/webgrab/WebGrab++.config.xml", mine looke like this:
Code:
<!--?xml version="1.0"?-->
<settings>

  <!-- for detailed info about the settings see http://webgrabplus.com/node/30 -->

  <filename>/home/funky1/webgrab/tv_grab_file.xmltv</filename>
  <mode></mode>
  <postprocess grab="y" run="n">mdb</postprocess>
  <logging>on</logging>
  <retry time-out="5">4</retry>
  <timespan>3</timespan>
  <update>f</update>

  <!-- replace the next dummy channel entry with the channels you want -->
  <!-- see http://webgrabplus.com/node/94 for the available sites/channels -->
  <channel update="i" site="dsmart.com.tr" site_id="8181" xmltv_id="ATV HD2">ATV HD</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8162" xmltv_id="TRT 1 HD">TRT 1 HD</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8182" xmltv_id="A HABER HD">A HABER HD</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8161" xmltv_id="TRT HD">TRT HD</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8361" xmltv_id="Show TV2">Show TV</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8301" xmltv_id="Kanal 7">Kanal 7</channel>
  <channel update="i" site="dsmart.com.tr" site_id="9061" xmltv_id="Samanyolu TV Turkiye">Samanyolu TV Turkiye</channel>
  <channel update="i" site="dsmart.com.tr" site_id="9041" xmltv_id="FOX">FOX</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8741" xmltv_id="NTV Turkiye">NTV Turkiye</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8822" xmltv_id="TRT 2">TRT 2</channel>
  <channel update="i" site="dsmart.com.tr" site_id="9022" xmltv_id="HABERTURK">HABERTURK</channel>
  <channel update="i" site="dsmart.com.tr" site_id="9741" xmltv_id="24">24</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8742" xmltv_id="Cnbc-e">Cnbc-e</channel>
  <channel update="i" site="dsmart.com.tr" site_id="8743" xmltv_id="e2">e2</channel>
</settings>
Now let's get the EPG data (probably best to add this command to cron to populate the EPG data in regular intervals):
Quote:mono /home/hts/webgrab/WebGrab+Plus.exe "$(pwd)"
Now get tv_grab_file:
Quote:sudo wget -O /usr/bin/tv_grab_file https://tv-grab-file.googlecode.com/files/tv_grab_file
sudo chmod +x /usr/bin/tv_grab_file
adjust line 7 in /usr/bin/tv_grab_file so it processes the right file
Quote:nano /usr/bin/tv_grab_file
in my case/this example, line 7 of '/usr/bin/tv_grab_file' looks like this now:
Code:
cat /home/hts/webgrab/tv_grab_file.xmltv

you need to stop and restart tvheadend
Quote:sudo service tvheadend stop
sudo service tvheadend start
select from drop down menu on tvheadend webinterface
Quote:"XMLTV: tv_grab_file"
that's it Smile
Reply
#47
Hi

Thanks for this utility. I have DSTV in South Africa and am wanting to use the guide in XBMC using the TVGuide addon. I have installed the software, however when I run it it does not seem to update the dstv guide. Please can you let me know if I need to remove some of the other ini files or something to get it working?

Thanks.
Reply
#48
(2012-09-15, 18:11)WG++Maker Wrote: Hi,

WebGrab+Plus is a multisite incremental xmltv grabber which is in use for nearly two years. It's absolutely free and contains no malware.
Since the last version runs in Windows and Linux/Mono it might be a good moment to bring it to the attention of the XBMC users.

The featurelist:

- ....

- optional MDB postprocessor that automatically grabs additional IMDB data
- optional REX postprocessor that allows re-allocation and merging [/color]of xmltv elements

....

WG++Maker ... Jan

hello,

using Webgrab+Plus now with TVHeadend and XBMC (Gotham) on Linux. Works well and love it. Thanks for the great work!!

Just one thing I would like to know is how do I use and display the MDB postprocessor and visualize the IMDB data in XBMC?
  • Or is there no possibility in XBMC to use/display this?
  • Or is the information grabbed from IMDB merged into the normal EPG data so I cannot recognize it?
  • how can I for example display coverart and/or fanart? any possibility for that also?


thanks
/krijeck
rebuilding ....
Reply
#49
Hi,
I've kinda followed your quickview and installation guide etc. Downloaded tv.sky.com.channels.xml and the ini file. Edited the WebGrab++.config.xml file and added the channels I required from tv.sky.channel.xml under the <channels> section for example -

Code:
<!-- The channel-list :
Each channel to be grabbed has a separate entry in the list, the most common form is:
<channel update=.. site=.. site_id=.. xmltv_id=..  >display-name</channel>
Besides this form, there is a possibility to specify special channels like 'combi-channels' and 'timeoffset-channels', see further down for more information-->

<channel update="i" site="tv.sky.com" site_id="2102" xmltv_id="BBC One N West">BBC One N West</channel>
<channel update="i" site="tv.sky.com" site_id="2075" xmltv_id="BBC Two HD">BBC Two HD</channel>
<channel update="i" site="tv.sky.com" site_id="6504" xmltv_id="ITV HD">ITV HD</channel>
<channel update="i" site="tv.sky.com" site_id="4075" xmltv_id="Channel 4 HD">Channel 4 HD</channel>
<channel update="i" site="tv.sky.com" site_id="1800" xmltv_id="Channel 5">Channel 5</channel>
<channel update="i" site="tv.sky.com" site_id="6532" xmltv_id="ITV2 HD">ITV2 HD</channel>
<channel update="i" site="tv.sky.com" site_id="4023" xmltv_id="FOX HD">FOX HD</channel>
<channel update="i" site="tv.sky.com" site_id="2510" xmltv_id="ComedyCentral">ComedyCentral</channel>
<channel update="i" site="tv.sky.com" site_id="1813" xmltv_id="ComedyXtra">ComedyXtra</channel>
<!-- LINE BREAK  -->
<channel update="i" site="tv.sky.com" site_id="4062" xmltv_id="Sky Thriller HD">Sky Thriller HD</channel>
<channel update="i" site="tv.sky.com" site_id="0000" xmltv_id="Sky Hits HD">Sky Hits HD</channel>
<channel update="i" site="tv.sky.com" site_id="4020" xmltv_id="Sky Select HD">Sky Select HD</channel>

after starting the exe file, it gets an error - mainly around Sky Thriller

Code:
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 1 of 4 times for 5 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 2 of 4 times for 10 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 3 of 4 times for 15 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 4 of 4 times for 20 seconds before re-try.


however it carries on creates the file for me "guide.xml". So I've uploaded the contents to Pastebin and added the link to Perfect Player. When I click on Refresh It says EPG Downloaded however I can't see the EPG...

so the question is --

1. Why it keeps erroring at the same location
2. How do I get it to match it up to my Channels? If for example I used the Sky UK config file so it has over 800 channels, I only have 30 channels. So how does the tv guide know what to match it too? I have a M3U file which is actually just a HTTP link.




Please can anyone help

Thanks
Reply
#50
(2016-09-13, 22:43)desibuoy Wrote: Hi,
I've kinda followed your quickview and installation guide etc. Downloaded tv.sky.com.channels.xml and the ini file. Edited the WebGrab++.config.xml file and added the channels I required from tv.sky.channel.xml under the <channels> section for example -

Code:
<!-- The channel-list :
Each channel to be grabbed has a separate entry in the list, the most common form is:
<channel update=.. site=.. site_id=.. xmltv_id=..  >display-name</channel>
Besides this form, there is a possibility to specify special channels like 'combi-channels' and 'timeoffset-channels', see further down for more information-->

<channel update="i" site="tv.sky.com" site_id="2102" xmltv_id="BBC One N West">BBC One N West</channel>
<channel update="i" site="tv.sky.com" site_id="2075" xmltv_id="BBC Two HD">BBC Two HD</channel>
<channel update="i" site="tv.sky.com" site_id="6504" xmltv_id="ITV HD">ITV HD</channel>
<channel update="i" site="tv.sky.com" site_id="4075" xmltv_id="Channel 4 HD">Channel 4 HD</channel>
<channel update="i" site="tv.sky.com" site_id="1800" xmltv_id="Channel 5">Channel 5</channel>
<channel update="i" site="tv.sky.com" site_id="6532" xmltv_id="ITV2 HD">ITV2 HD</channel>
<channel update="i" site="tv.sky.com" site_id="4023" xmltv_id="FOX HD">FOX HD</channel>
<channel update="i" site="tv.sky.com" site_id="2510" xmltv_id="ComedyCentral">ComedyCentral</channel>
<channel update="i" site="tv.sky.com" site_id="1813" xmltv_id="ComedyXtra">ComedyXtra</channel>
<!-- LINE BREAK  -->
<channel update="i" site="tv.sky.com" site_id="4062" xmltv_id="Sky Thriller HD">Sky Thriller HD</channel>
<channel update="i" site="tv.sky.com" site_id="0000" xmltv_id="Sky Hits HD">Sky Hits HD</channel>
<channel update="i" site="tv.sky.com" site_id="4020" xmltv_id="Sky Select HD">Sky Select HD</channel>

after starting the exe file, it gets an error - mainly around Sky Thriller

Code:
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 1 of 4 times for 5 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 2 of 4 times for 10 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 3 of 4 times for 15 seconds before re-try.
error downloading page: The request was aborted: The connection was closed unexpectedly.
pausing 4 of 4 times for 20 seconds before re-try.


however it carries on creates the file for me "guide.xml". So I've uploaded the contents to Pastebin and added the link to Perfect Player. When I click on Refresh It says EPG Downloaded however I can't see the EPG...

so the question is --

1. Why it keeps erroring at the same location
2. How do I get it to match it up to my Channels? If for example I used the Sky UK config file so it has over 800 channels, I only have 30 channels. So how does the tv guide know what to match it too? I have a M3U file which is actually just a HTTP link.




Please can anyone help

Thanks

anyone please?
Reply
#51
Hello
I use epg from 3 different timezones. Is it possible to adjust WebGrab++.config.xml to adjust timeshift?
Thank you
Reply
#52
(2016-10-04, 22:34)kataiba Wrote: Hello
I use epg from 3 different timezones. Is it possible to adjust WebGrab++.config.xml to adjust timeshift?
Thank you

http://www.webgrabplus.com/content/merg-...-timezones might be what you're after
Reply
#53
(2016-10-05, 17:23)komplex Wrote:
(2016-10-04, 22:34)kataiba Wrote: Hello
I use epg from 3 different timezones. Is it possible to adjust WebGrab++.config.xml to adjust timeshift?
Thank you

http://www.webgrabplus.com/content/merg-...-timezones might be what you're after

Thank you for your answer but i was actually looking for this http://www.webgrabplus.com/content/egg-d...t-it-right
Reply

Logout Mark Read Team Forum Stats Members Help
XMLTV Epg Grabber1