Posts: 3,101
Joined: Apr 2014
Reputation:
270
0.0.25
- default provider behaviour is now quick add channels (see last post by MikeKL)
- Remove Channels from context menu
Posts: 96
Joined: Nov 2009
Reputation:
1
Is there some easy way to get the channel logos or how do you guys handle that?
Posts: 50
Joined: Aug 2016
Reputation:
1
for unix users that don't run libreELEC, how do you get this add-on to run a 'mono'-d exe?
Posts: 50
Joined: Aug 2016
Reputation:
1
2016-08-26, 22:08
(This post was last modified: 2016-08-26, 22:09 by htpcmac.)
I am trying to run on OSX.
There is a video add on out there, may be banned so I won't mention it (on of enen92s), that launches an EXE in a wine package. That works fine. I want to run WG in wine… with this add-on.
Looking at the ELEC version and this version I am way too tired to figure it out. I don't know if I should get the linux version modified for OSX or the windows version Wined.
I can get WG to run on OSX from the CLI, I just don't know how to get this add-on to call it.
Posts: 50
Joined: Aug 2016
Reputation:
1
2016-08-26, 22:13
(This post was last modified: 2016-08-26, 22:18 by htpcmac.)
I have mono installed. How do I get this add-on to call the WG exe in mono?
I made a .command file with 'mono /Users/mike/POS/exe/WG++.exe ~/POS/exe' inside and tried to call it with the add-on and get an exe/OS error.
XBMC logs seems to be down for registration. I'll post a tiny snippet
16:00:30 T:123145303990272 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/Users/mike/Library/Application Support/Kodi/addons/script.webgrab/run.py", line 16, in <module>
status = call([exe,path])
Posts: 50
Joined: Aug 2016
Reputation:
1
2016-08-26, 22:30
(This post was last modified: 2016-08-26, 22:32 by htpcmac.)
I did that.
I made a file called wg.command with this single line in it ''mono /Users/mike/POS/exe/WG++.exe ~/POS/exe''. I made it executable and i can launch WG from that file from Finder or Terminal.
The add-on displays 'Error 127'
When i load that file in this add-on i get this:
Marker - Aug 26, 2016, 16:28:28
16:28:33 T:123145305063424 NOTICE: Previous line repeats 2 times.
16:28:33 T:123145305063424 NOTICE: [xbmcswift2] Request for "/run_webgrab" matches rule for function "run_webgrab"
16:28:33 T:140735151693824 ERROR: GetDirectory - Error getting plugin://script.webgrab/run_webgrab
16:28:33 T:140735151693824 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.webgrab/run_webgrab) failed
16:28:33 T:123145310507008 NOTICE: Hole Umgebung
16:28:33 T:123145311043584 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
16:28:33 T:123145305063424 WARNING: CPythonInvoker(216): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
16:28:33 T:123145305063424 ERROR: EXCEPTION: Unknown addon id 'service.webgrabplus'.
16:28:41 T:123145310507008 NOTICE: Hole Umgebung
Posts: 50
Joined: Aug 2016
Reputation:
1
<settings>
<setting id="config_output_folder" value="/Users/mike/Library/Application Support/Kodi/userdata/addon_data/script.webgrab/webgrab/config/" />
<setting id="exe" value="/Users/mike/Library/Application Support/Kodi/pos.command" />
<setting id="mdb" value="false" />
<setting id="mdb_grab" value="false" />
<setting id="mdb_run" value="false" />
<setting id="proxy" value="" />
<setting id="proxy_password" value="" />
<setting id="proxy_user" value="" />
<setting id="rex" value="false" />
<setting id="rex_grab" value="false" />
<setting id="rex_run" value="false" />
<setting id="timespan" value="2" />
<setting id="update" value="0" />
<setting id="user_agent" value="" />
<setting id="xmltv_name" value="guide.xml" />
<setting id="xmltv_output_folder" value="/Users/mike/" />
</settings>
Mikes-MacBook-Retina:~ mike$ ls -l ~/POS/exe
total 1312
drwxr-xr-x@ 6 mike staff 204 26 Aug 12:47 MDB
drwxr-xr-x@ 3 mike staff 102 26 Aug 12:47 REX
-rwxr-xr-x@ 1 mike staff 612352 3 Aug 16:32 WG++.exe
-rw-r--r--@ 1 mike staff 9006 26 Aug 13:30 WebGrab++.config.xml
-rw-r--r-- 1 mike staff 2990 26 Aug 16:29 WebGrab++.log.txt
-rw-r--r-- 1 mike staff 92 26 Aug 16:29 hot_cookies.txt
drwxr-xr-x 3 mike staff 102 26 Aug 13:31 robots
drwxr-xr-x@ 90 mike staff 3060 26 Aug 12:43 siteini.pack
-rwxr-xr-x@ 1 mike staff 34304 3 Aug 15:45 xmltv.dll
I tried moving the POS folder into your add-on folder and amending the command so that it is all local.