Plugin python directory services for XBMC (now in SVN)

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,915
Joined: Dec 2004
Reputation: 17
Post: #41
you only browse to the folder, not the .py file

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,915
Joined: Dec 2004
Reputation: 17
Post: #42
Should the back .. be added by XBMC to plugin directories if it's enabled in settings?

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #43
It should be, yes. XBMC should do this for any directory, regardless of content. It is not the plugin's role to accomplish this.

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
EvilDude Offline
Senior Member
Posts: 106
Joined: Feb 2006
Reputation: 0
Location: Sydney Australia
Post: #44
Just used this feature in the latest T3CH, and it's very awesome Smile It looks great, and I might write a couple of plugins myself soon. This beats making your own window by a lot
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Smile    Post: #45
Nuka1195 Wrote:
Gamester17 Wrote:is there now also as well a way via python plugin to use and display listings via directory services inside a python script?, ...I mean so that the plugin python directory services loonks to be integrated into a python scipt (similar to how WindowXML works).
You want to know if you can use xbmcplugin to fill a media list in a WindowXML python script?

I'm not sure I understand the advantage. You would not get the views or the sort by for instance.
Yes, so that python scripters could have the option to fill media lists in thier own WindowXML built GUI using xbmcplugin. The advantage would from the end-users perspective, the users would not have to use 'Add Source' and get the lists and updates options all from the same view/GUI in the script. Of course it would then be nice to have the same 'sort by' options inside the script lists views as well.

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
Nuka1195 Offline
Skilled Python Coder
Posts: 3,915
Joined: Dec 2004
Reputation: 17
Post: #46
JMarshall, the back .. is not showing for me, with a fresh build Revision 10193. It is enabled and it shows in other virews, just not plugins.

Gamester17, I'll test it, I'm not sure.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 342
Joined: Jul 2007
Reputation: 3
Location: Bremen, Germany
Post: #47
Nuka1195 Wrote:http://xbmc-scripting.googlecode.com/svn...Plugin.zip only works with the current SVN which I just committed
Nuka, I'm using the brand new T3CH and have the AMT script from SVN. The plugin displays the initial categories but hangs if I go into one of the categories. I have a valid full database. In the script window, it says tuple index out of range. Did I do anything wrong? Sorry to bother you with this...
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 342
Joined: Jul 2007
Reputation: 3
Location: Bremen, Germany
Post: #48
Unbehagen Wrote:Nuka, I'm using the brand new T3CH and have the AMT script from SVN. The plugin displays the initial categories but hangs if I go into one of the categories. I have a valid full database. In the script window, it says tuple index out of range. Did I do anything wrong? Sorry to bother you with this...

I probably should have mentioned that an older version of the plugin works very well...
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,915
Joined: Dec 2004
Reputation: 17
Post: #49
Sounds like the cast isn't working, which is the most recent addition.

i just grabbed the plugin from svn and it works fine.

http://xbmc-scripting.googlecode.com/svn...Plugin.zip

I updated that yesterday, the brand new tech should include the correct plugin. The brand new tech was released yesterday.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 342
Joined: Jul 2007
Reputation: 3
Location: Bremen, Germany
Post: #50
Nuka1195 Wrote:Sounds like the cast isn't working, which is the most recent addition.

i just grabbed the plugin from svn and it works fine.

http://xbmc-scripting.googlecode.com/svn...Plugin.zip

I updated that yesterday, the brand new tech should include the correct plugin. The brand new tech was released yesterday.

Ah, thanks a lot. Now I'm using the plugin from T3CH and it works. How about a central place to store all the plugins? Maybe we could start a new Plugins folder in SVN?
find quote
Post Reply