Is it possible to run imacro firefox script inside ghost.py?I want to automate heavy ajax sites.
- Autoexec Py Enable All Addons Firefox
- Autoexec Py Enable All Addons For Android
- Autoexec Py Enable All Addons For Firefox
I'm trying this:
phtsAutoexec Py Enable All Addons Firefox
3,40011 gold badge1414 silver badges2929 bronze badges
guiboyguiboy
1 Answer
Within Ghost.py you would find the code snippet:
From the look of things, it's expecting a path (addLibraryPath) and would do its discoveries by itself. So, give it a path containing the .xpi
Note: this isn't tested.
On my Windows 10, I typed this into a Windows address bar:
Autoexec Py Enable All Addons For Android
%APPDATA%MozillaFirefoxProfiles
I then saw a folder named 'kswjuot9.default' (it might be named another things on your PC) and clicked it. Finally, I found a folder named 'extensions'.
Try to give Ghost.py the full address of this 'extensions' folder. I would also recommend that you use forward slashes e.g.
C:/Users/iChux/AppData/Roaming/Mozilla/Firefox/Profiles/kswjuot9.default/extensions
I saw an online link on dealing with how to extract the .xpi file
iChuxiChux
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged pythonqwebkitghost.py or ask your own question.
Describe the bug
To make it easier for watching TV We want Kodi to start the Vrt.nu Plugin automatically.
To make it easier for watching TV We want Kodi to start the Vrt.nu Plugin automatically.
To Reproduce
Create file 'autoexec.py' in folder: Kodiuserdata
https://kodi.wiki/view/Autoexec.py
Add the follwing text to 'autoexec.py':
Create file 'autoexec.py' in folder: Kodiuserdata
https://kodi.wiki/view/Autoexec.py
Add the follwing text to 'autoexec.py':
import xbmc
xbmc.executebuiltin('RunScript(plugin.video.vrt.nu)') Telecharger gta san andreas ppsspp.
xbmc.executebuiltin('RunScript(plugin.video.vrt.nu)') Telecharger gta san andreas ppsspp.
Expected behavior
Kodi lauches and VRT.nu plugin started
Instead: Kodi starts and gives 'VRT.nu Error'
Kodi lauches and VRT.nu plugin started
Instead: Kodi starts and gives 'VRT.nu Error'
Autoexec Py Enable All Addons For Firefox
Would you be so kind to have a look?
Thanks in advance!
Thanks in advance!
Here is the output from Kodi.log
Happens on Windows and Android
(same message - just different paths)
Happens on Windows and Android
(same message - just different paths)
12:00:28.621 T:3000 WARNING: RunScript called for a non-script addon 'plugin.video.vrt.nu'. This behaviour is deprecated.
12:00:33.313 T:3324 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File 'C:UsersBeheerderAppDataRoamingKodiaddonsplugin.video.vrt.nuaddon.py', line 12, in
_handle = int(sys.argv[1])
IndexError: list index out of range
-->End of Python script error report<--
12:00:33.313 T:3324 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File 'C:UsersBeheerderAppDataRoamingKodiaddonsplugin.video.vrt.nuaddon.py', line 12, in
_handle = int(sys.argv[1])
IndexError: list index out of range
-->End of Python script error report<--
Posted by2 years ago
Archived
Hi everyone,
I recently made a personal wizard for my firestick setup. I'm trying to get a way to set up a fresh start before installing a build. Unfortunately, I can't figure it out.
In the meantime, I found a way to add a fresh start to my wizard that you have to perform separately, with my add on excluded from the wipe. It works for now, but it seems to automatically disable my wizard afterwards. Is there a way that it doesn't automatically disable the excluded addon?
3 comments
Posted by1 year ago
Archived
I created an autoexec.py in notepad (osx) and selected ASCII as the text format. Removed all rtf before saving. My log keeps giving me an error about non ASCII cahracter. I've also tried to include a header saying in essence 'use ASCII' Does anybody know the proper format, (and program I need to write it in) to autostart a video add-on when I start Kodi? Here's what I wrote:
import xbmc xbmc.executebuiltin('XBMC.RunPlugin(plugin.addon.name)')
Edit: Thanks to /u/sillycyco for the answer. Proper format for starting a video adddon automatically is:
import xbmc
xbmc.executebuiltin('XBMC.RunAddon(plugin.video.acetv)')
17 comments