How does plugins work since the addon-merge?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #11
The docs may be out of date - check the code in SVN.

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.


[Image: badge.gif]
find quote
FrostBox Offline
Skilled Python Coder
Posts: 100
Joined: Nov 2005
Reputation: 6
Location: Quebec City
Post: #12
mindweaver Wrote:They seem to use the old description.xml and not the newer addon.xml

hi, check revision 765 and 766
http://code.google.com/p/passion-xbmc/so...tail?r=765

plugin.video.astral.media
script.calculator
and my game script.game.arkanoid

work great Nod

cheers
frost

For my bad English, sorry. I am French Canadian.
Admin @ Passion-XBMC.org
find quote
mindweaver Offline
Posting Freak
Posts: 998
Joined: Jan 2004
Reputation: 1
Location: Sweden
Post: #13
FrostBox Wrote:hi, check revision 765 and 766
http://code.google.com/p/passion-xbmc/so...tail?r=765

plugin.video.astral.media
script.calculator
and my game script.game.arkanoid

work great Nod

cheers
frost

Thank you for the suggestions. See that you call getSetting with an integer. what does "sys.argv[1]" mean?

Code:
xbmcplugin.getSetting( int( sys.argv[ 1 ] ), "DlPath" ), "" )

if you really are "Skilled Python Coder" can't you take a look at the AMT plugin and see if you can get it to work? Would be awesome. It worked fine in builds before 28274.

http://tillytech.se/plugin.amtlite.rar
(This post was last modified: 2010-05-26 17:24 by mindweaver.)
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #14
I'm wondering the same thing. I grabbed the Astral Media plugin from svn, putting it in /usr/share/xbmc/addons/plugin.video.astral.media/
Even after restarting XBMC, it does not appear in the addons list nor in the video plugins list (which is empty). I am using XBMC build 30704.

I've managed to "hack" in a couple skins by creating the necessary addon.xml file and I'm trying to do the same for a couple video plugins. I've read that it's possible. What am I doing wrong?
find quote
Basje Offline
Skilled Python Coder
Posts: 984
Joined: Jul 2005
Reputation: 4
Post: #15
I have the following issue:

I added an addon.xml to my existing script. It now appears in XBMC, but I now get the error:
Code:
18:17:20 T:5308 M:1288683520  NOTICE: Traceback (most recent call last):
18:17:20 T:5308 M:1288683520  NOTICE:   File "D:\XBMC\XBMC_PC\addons\net.rieter.xot\default.py", line 142, in ?
18:17:20 T:5308 M:1288683520  NOTICE:     MyWindow = progwindow.GUI(config.appSkin ,config.rootDir, config.skinFolder)
18:17:20 T:5308 M:1288683520  NOTICE: TypeError: XML File for Window is missing
18:17:20 T:5308 M:1288704000    INFO: Scriptresult: Success
Where the progwindow.GUI(config.appSkin ,config.rootDir, config.skinFolder) is the WindowXML class. The first parameter is the XML file for the skin. The second on the rootdir of the script and the last one the skin name.

Any clues? I tried some of the http://code.google.com/p/passion-xbmc/source script addons, but they give the same error?

find quote
Post Reply