[Camelot] Is there a way to run a plugin stored anywhere on a drive

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #1
Hi guys,

Is it possible to launch a plugin (from a script or another plugin) which is not in one of the subdirectories of the plugins directory?
I tried RunPlugin or xbmc.executebuiltin( "XBMC.ActivateWindow(10025,%s/)" % ( C:\mydir\myplugin) )

Another question, is there is a way to run a plugin having a python file not name default.py (for instance myplugin.py)?

Thank you in advance.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #2
No ideas?
I need to do that in order to add support of XBMC addons on XBOX and pre-Dharma XBMC ideally without modifying at all the addons.
That the reason why I started to implement a Program plugin that allow to browse all the plugins and script installed in XBMC/addons
That's work for the addons scripts, but not for the plugin since I cannot use the "Plugin:\\" in the path (it seams if I use it XBMC look for the plugin in the plugin directory).

I tried RunPlugin()
and
Code:
xbmc.executebuiltin( "XBMC.ActivateWindow(10025,%s/)" % ( C:\XBMC\addons\plugin.video.canal.plus) )

But that only browse the content of the addon plugin

I was wondering if there is a Windows Id for the video plugin (in XBMC those appears as a separate source).

Also, ideally I look for a way where I can specify the python script of the addons plugin (for instance in case of addon.py)

Anyways, any help would be more than welcome and appreciated.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,187
Joined: Nov 2003
Reputation: 82
Post: #3
no.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Temhil Offline
Skilled Python Coder
Posts: 395
Joined: Apr 2008
Reputation: 1
Location: Canada
Post: #4
spiff Wrote:no.
Thanks anyways, even if I wish there will be a way to do it.

[Image: passionxbmc_signature.png]
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

[Image: project_thin_badge.gif]
find quote