2011-09-19, 12:55
hello,
I'm trying to get the firefox browser inside my XBMC setup with MQ2 skin.
I've tried to accomplish this with the following script (addon.xml and default.py) I found somewhere on the web.
But somehow I only get it to work with the internet explorer link?
First I've created a folder named script.IEbrowser and put this folder in the XBMC\Addons directory.
Then I placed inside that folder the following files:
addon.xml
and default.py
After a restart of XBMC I can see the script by the programms selection, and create a menu item with the script.
But somehow I can't get it to work with the path to the firefox.exe (explorer, internet explorer are both working)
Is there something I should change in the scripts above?
I'm trying to get the firefox browser inside my XBMC setup with MQ2 skin.
I've tried to accomplish this with the following script (addon.xml and default.py) I found somewhere on the web.
But somehow I only get it to work with the internet explorer link?
First I've created a folder named script.IEbrowser and put this folder in the XBMC\Addons directory.
Then I placed inside that folder the following files:
addon.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="script.IEbrowser"
version="1.0"
name="IEbrowser"
provider-name="Chris12">
<requires>
<import addon="xbmc.gui" version="2.11"/>
</requires>
<extension
point="xbmc.python.script"
library="default.py"
debugging="false"/>
<extension point="xbmc.addon.metadata">
<summary>Script to run Internet Explorer</summary>
<description>Script to run Internet Explorer from witin XBMC</description>
<platform>all</platform>
</extension>
</addon>
and default.py
Code:
import sys
import os
import subprocess
import xbmc
# Script constants
__scriptname__ = "Run Internet Explorer in XBMC"
__author__ = "Chris12"
__url__ = "http://xbmc.org/"
__credits__ = "Chris12"
__version__ = "0.1"
print "[SCRIPT] '%s: version %s' initialized!" % (__scriptname__, __version__, )
if (__name__ == "__main__"):
child = subprocess.Popen("C:\Program Files\Internet Explorer\iexplore.exe")
rc = child.wait()
sys.modules.clear()
After a restart of XBMC I can see the script by the programms selection, and create a menu item with the script.
But somehow I can't get it to work with the path to the firefox.exe (explorer, internet explorer are both working)
Is there something I should change in the scripts above?