Beta WebGrab+Plus Configurator - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Beta WebGrab+Plus Configurator (/showthread.php?tid=285918) |
RE: WebGrab+Plus Configurator - primaeval - 2016-08-28 (2016-08-27, 00:24)htpcmac Wrote: Here is the part of the other script I mentioned that launches an exe from a wine bottle if this helps at all: If that script works then try changing the call command to a Popen command in the addons run.py: Code: import subprocess RE: WebGrab+Plus Configurator - htpcmac - 2016-08-28 Like this? Code: from subprocess import call RE: WebGrab+Plus Configurator - primaeval - 2016-08-28 (2016-08-28, 17:42)htpcmac Wrote: Like this? This works on windows with Popen instead of call. See if it works for you on osx. Code: from subprocess import call, Popen RE: WebGrab+Plus Configurator - htpcmac - 2016-08-28 Here is a full log output. I created a marker before hitting run then stopped after it ran. This is a normally clean Kodi install, but twitter got installed with another add-on. http://pastebin.com/Ads1ChXN RE: WebGrab+Plus Configurator - primaeval - 2016-08-28 (2016-08-28, 18:31)htpcmac Wrote: Here is a full log output. I created a marker before hitting run then stopped after it ran. Did you cut and paste the whole code block? There seems to be a missing ) from the Popen line. Replace the whole run.py file with this and paste the log so I can see what your inputs and outputs are. Code: from subprocess import call, Popen, check_output RE: WebGrab+Plus Configurator - htpcmac - 2016-08-29 http://pastebin.com/3ZCuZGMd Edit: I hit re-install, applied your code and re ran the command http://pastebin.com/4sXHDhJw RE: WebGrab+Plus Configurator - primaeval - 2016-08-29 (2016-08-29, 00:57)htpcmac Wrote: http://pastebin.com/3ZCuZGMd It looks like osx is using the old version of python: 2.6 instead of 2.7. It doesn't have the check_output command. You need to paste the complete log when you post them so I can see everything about your system. Post the content of the file you are calling in the Program Setting, ls -l of the Config Output Folder (before and after), the contents of the WebGrab++.log.txt file, the contents of the settings.xml file and the kodi.log file (complete). Lets just go back to the original but with some more log info. Code: from subprocess import call RE: WebGrab+Plus Configurator - htpcmac - 2016-08-29 Here is all the requested output files. http://pastebin.com/nBqqgWmF RE: WebGrab+Plus Configurator - primaeval - 2016-08-29 (2016-08-29, 09:27)htpcmac Wrote: Here is all the requested output files. You can't have changed the run.py file because it still says this: Code: Error Contents: cannot import name check_output RE: WebGrab+Plus Configurator - htpcmac - 2016-08-29 (2016-08-29, 09:32)primaeval Wrote:(2016-08-29, 09:27)htpcmac Wrote: Here is all the requested output files. I edited the post with the correct log file. The output was too long that I had to copy it all into that pastebin and pasted the wrong log file. Sorry. RE: WebGrab+Plus Configurator - primaeval - 2016-08-29 Try it with shell=True instead of shell=False RE: WebGrab+Plus Configurator - htpcmac - 2016-08-29 http://pastebin.com/xse6ercr The add on directory looks like it has changed as well Code: Mikes-MacBook-Retina:script.webgrab mike$ ls -l RE: WebGrab+Plus Configurator - primaeval - 2016-08-29 (2016-08-29, 11:24)htpcmac Wrote: http://pastebin.com/xse6ercr run.py worked. You need to check the path that mike.command uses to see where the config files should go and end up. Code: INFO: CPythonInvoker(23, special://home/addons/script.webgrab/run.py): script successfully run You might need to add a cwd in your script to make sure you are either in the same directory as the wg exe or the same folder as the config files. Try both. RE: WebGrab+Plus Configurator - linuxmad - 2016-09-10 Hi! I have a wetek core running librelec 7.02. Also using iptv simple client and webgrab+ on the box. My problem is concerned with the iptv list I am getting online sends a list of channels that are not matched with those I put in webgrab+. That results in almost every channel is not matched with the epg (it is simply missing). Can I use this addon to create a list that matching my channels without out to much editing.. like with perfect player? Thanks RE: WebGrab+Plus Configurator - primaeval - 2016-09-10 (2016-09-10, 00:08)linuxmad Wrote: Hi! I expect you can. This addon is about as simple as it gets for configuring Webgrab+Plus. You need to carefully understand what files end up where though and use the Quick Add context menu to make things easy. |