Kodi Community Forum

Full Version: WebGrab+Plus Configurator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
(2017-02-20, 15:18)3000 Wrote: [ -> ]Yes, VDR 2.2.0. I am using a dvb-s2 twin tuner card.

The epg that I get is insufficient. This is why I try to make the xml work in vdr. But it is very complicated.

I will have a look and ask over there too, thanks!

I think easiest would be if I could make my backend work under the IPTV Simple Client, but I don't think that will be possible.

It's a hassle ...

Have a look if it will work with tvheadend. You can definitely import an xmltv file there.
thank you, I will have a look.

Keep up your good work! It's highly appreciated!
Hi. Hopefully someone can help me to generate xml and ini file for astro.com.my coz i running kodi on android box. Thanks
(2017-02-22, 15:58)shamcheani Wrote: [ -> ]Hi. Hopefully someone can help me to generate xml and ini file for astro.com.my coz i running kodi on android box. Thanks

You probably won't be able to run the Webgrab exe on Android. No-one has found a way to get it to run so far.
It will work on LibreELEC, Windows, Linux or maybe OSX.

I tried astro.com.my on Windows. I added Animal Planet and it worked fine without any extra configuration steps.
Some tv guide sources need cookie files to be set up. There will be a text file in the site.ini folder with instructions if needed.
Hey primaeval,

Just getting some errors when trying to 'Import WebGrab++.config.xml' on one of the latest nightlies - any chance you are able to test? Have tried on OS X and Windows but same errors on both.

Code:
12:03:10.534 T:123145377017856  NOTICE: [xbmcswift2] Request for "/download_ini_pack" matches rule for function "download_ini_pack"
12:03:10.536 T:123145377017856   ERROR: GetDirectory - Error getting /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/script.webgrab/webgrab/siteini.pack
12:03:10.536 T:123145377017856   ERROR: GetDirectory - Error getting special://profile/addon_data/script.webgrab/webgrab/siteini.pack
12:03:41.172 T:140736105255872   ERROR: GetDirectory - Error getting plugin://script.webgrab/download_ini_pack
12:03:41.172 T:140736105255872   ERROR: CGUIMediaWindow::GetDirectory(plugin://script.webgrab/download_ini_pack) failed
12:03:45.266 T:123145375408128 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
12:03:45.267 T:123145375408128  NOTICE: [xbmcswift2] Request for "/import_config" matches rule for function "import_config"
12:03:54.247 T:123145375408128   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'group'
                                            Traceback (most recent call last):
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.webgrab/main.py", line 1452, in <module>
                                                plugin.run()
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
                                                listitems = view_func(**items)
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.webgrab/main.py", line 1335, in import_config
                                                site = re.search('site="(.*?)"',attributes).group(1)
                                            AttributeError: 'NoneType' object has no attribute 'group'
                                            -->End of Python script error report<--
12:03:54.306 T:140736105255872   ERROR: GetDirectory - Error getting plugin://script.webgrab/import_config
12:03:54.306 T:140736105255872   ERROR: CGUIMediaWindow::GetDirectory(plugin://script.webgrab/import_config) failed
(2017-02-23, 03:39)twghughes Wrote: [ -> ]Hey primaeval,

Just getting some errors when trying to 'Import WebGrab++.config.xml' on one of the latest nightlies - any chance you are able to test? Have tried on OS X and Windows but same errors on both.

Code:
12:03:10.534 T:123145377017856  NOTICE: [xbmcswift2] Request for "/download_ini_pack" matches rule for function "download_ini_pack"
12:03:10.536 T:123145377017856   ERROR: GetDirectory - Error getting /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/script.webgrab/webgrab/siteini.pack
12:03:10.536 T:123145377017856   ERROR: GetDirectory - Error getting special://profile/addon_data/script.webgrab/webgrab/siteini.pack
12:03:41.172 T:140736105255872   ERROR: GetDirectory - Error getting plugin://script.webgrab/download_ini_pack
12:03:41.172 T:140736105255872   ERROR: CGUIMediaWindow::GetDirectory(plugin://script.webgrab/download_ini_pack) failed
12:03:45.266 T:123145375408128 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
12:03:45.267 T:123145375408128  NOTICE: [xbmcswift2] Request for "/import_config" matches rule for function "import_config"
12:03:54.247 T:123145375408128   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'group'
                                            Traceback (most recent call last):
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.webgrab/main.py", line 1452, in <module>
                                                plugin.run()
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
                                                listitems = view_func(**items)
                                              File "/Users/xxx/Library/Application Support/Kodi/addons/script.webgrab/main.py", line 1335, in import_config
                                                site = re.search('site="(.*?)"',attributes).group(1)
                                            AttributeError: 'NoneType' object has no attribute 'group'
                                            -->End of Python script error report<--
12:03:54.306 T:140736105255872   ERROR: GetDirectory - Error getting plugin://script.webgrab/import_config
12:03:54.306 T:140736105255872   ERROR: CGUIMediaWindow::GetDirectory(plugin://script.webgrab/import_config) failed

Send me a link to the config file. It looks like the site field can't be read.
Find the file here:
https://cl.ly/3L3p2z2Y340b

If I can assist I am happy to, just not sure where to look - fairly new to WG++ and all!

Edit: Now that you mention the 'site' field being an issue - is this likely to be a problem with my SD backup channels? I guess I can remove them, import the file and add them back later if that's the case.

Cheers
(2017-02-23, 08:49)twghughes Wrote: [ -> ]Find the file here:
https://cl.ly/3L3p2z2Y340b

If I can assist I am happy to, just not sure where to look - fairly new to WG++ and all!

Edit: Now that you mention the 'site' field being an issue - is this likely to be a problem with my SD backup channels? I guess I can remove them, import the file and add them back later if that's the case.

Cheers

It is all the ones with the same_as field.
Code:
<channel offset="0" same_as="BBC ONE HD" xmltv_id="BBC ONE SD">BBC ONE SD</channel>
The addon only parses standard channel definitions with site attributes like:
Code:
<channel update="i" site="radiotimes.com" site_id="94" xmltv_id="BBC ONE HD">BBC ONE HD</channel>
(2017-02-23, 09:55)primaeval Wrote: [ -> ]It is all the ones with the same_as field.

Ah, interesting. Would it be possible to get it to parse these? I know these days a lot of us have various "+1" channels in our listings so these are likely to crop up a lot.
(2017-02-23, 10:58)martinconroy Wrote: [ -> ]
(2017-02-23, 09:55)primaeval Wrote: [ -> ]It is all the ones with the same_as field.

Ah, interesting. Would it be possible to get it to parse these? I know these days a lot of us have various "+1" channels in our listings so these are likely to crop up a lot.

I don't think I have the energy to do that. It is quite a big change to link channels together.
If anyone wants to add the changes in I'll add it to the repo.
OK - no problem
Hi,
for all of you who works with webgrab+plus for windows there is an nice tool you can free download and use.

http://www.manyplay.de

xmlgrabplus for windows


mo editing of any xml file anymore...
@primaeval

hmm - did you not find the xmlgrabplus on the site?
(2017-03-16, 11:37)bitcue Wrote: [ -> ]@primaeval

hmm - did you not find the xmlgrabplus on the site?

I take it back. Sorry. It is a good tool. I would recommend it.

The web site is too hard to read unless you live in a cave all day. Only for vampires. Wink

The only main things missing that this addon can do is the cookie generation for tv.com and directv.com, renaming and sorting channels.
Another new tool: WGMulti from Harry G.
https://github.com/harrygg/xmltv-tools/wiki/WGMulti

Super speedy Webgrab parallel processing.

It splits up the Webgrab ini file and runs the grab with multiple instances of Webgrab in parallel.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24