![]() |
|
|||||||
| Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here! Please, add platform prefix to threads that are not platform-independent!: Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]" |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Team Arcade
Join Date: Dec 2004
Posts: 3,591
![]() |
Here is a very good tutorial for plugins, by Umbehagen the original author of the feature.
Be sure and view the video at the end of the article. Very nice Unbehagen ![]() http://theendofthelongestline.de/xbo...gins/index.php Last edited by Nuka1195; 2008-06-24 at 22:48. |
|
|
|
|
|
#2 |
|
Team-XBMC Developer
Join Date: Oct 2003
Posts: 15,927
![]() |
Indeed - great work Unbehagen
![]() On a side note, the "browsing the filesystem" stuff is obviously a bad user experience - we need to mitigate this as much as possible. I could add specific code to workaround this in the mediawindows and the browse dialog (needs some special-case stuff) or alternatively we could simply auto-show the video plugins share like we do in library mode. EDIT: I have a workaround I can use that's a bit nicer than workarounds in the mediawindows and browse dialog - essentially we just convert the "Q:\plugins" to "plugin://" in the path translation code. I guess there's specific cases to take care of though, such as users attempting to run the script from any old place (won't work) or matching up XBMC's home directory (currently I just workaround for Q:, rather than E:\Apps\XBMC for instance). I suspect this is patchy at best - IMO adding the video plugins share automatically might be a better option, though we do then have issues with when to add it (master user vs lowly users etc.) Your thoughts? Cheers, Jonathan
__________________
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.
Last edited by jmarshall; 2007-12-29 at 23:35. |
|
|
|
|
|
#3 |
|
Team Arcade
Join Date: Dec 2004
Posts: 3,591
![]() |
There are times running the plugin from a different location is favorable (favorites).
Having "plugin://video/" as an auto source is probably the best solution. I already add plugin://programs/ to my apps source so any programs plugin will show auto and if they don't want the plugin shown why would it be installed anyways. |
|
|
|
|
|
#4 |
|
Team-XBMC Developer
Join Date: Oct 2003
Posts: 15,927
![]() |
True, but I guess there could potentially be issues if we allow it as an autosource and the masteruser doesn't want normal users to use the plugins (eg a porn plugin for instance). A "simple" way around for now is to assume that if the user is allowed to access scripts that they are allowed to access plugins?
Favourites shouldn't be an issue - surely as long as the plugin:// URL is the one that gets set as the favourite it should work anyway? Cheers, Jonathan
__________________
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.
|
|
|
|
|
|
#5 |
|
Team-XBMC Forum Moderator
Join Date: Feb 2004
Posts: 419
![]() |
Maybe there could be an advancedsetting that acts as some sort of filter list. Plugins listed there, can only be seen by the master user or by some sort of Prefix/Suffiy by a user specified. Something along the lines of: Pluginname: AdultUser1, Adultuser2. Don't know how much extra work something like this would require, and if it is userfriendly being stuffed away as an advanced setting though.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2006
Posts: 6
![]() |
Hi
I am about to make a plugin to access Azureus, the most important feature I want is to be able to delete a torrent from Azureus, so is there support for deleting from a plugin? As I'm trying a bunch of plugins the My Videos screen is getting crowded, is there support for a Directory/folder to put plugins in? jonib |
|
|
|
|
|
#7 |
|
Team Arcade
Join Date: Dec 2004
Posts: 3,591
![]() |
1. sort of. you could when selecting an item, bring up a menu (created in python) and ask what to do, not very nice. but there is no context menu support, where a plugin could add an item to the existing context menu.
2. this is what i use PHP Code:
|
|
|
|
|
|
#8 | ||
|
Junior Member
Join Date: Mar 2006
Posts: 6
![]() |
Quote:
I'm guessing it was pointing to a real file and XBMC just deleted it normally bypassing the plugin? Is there any plans to add more functionality to plugins? like adding support for the delete function. Quote:
jonib |
||
|
|
|
|
|
#9 |
|
Team-XBMC Project Manager
Join Date: Sep 2003
Location: Sweden
Posts: 10,608
![]() |
__________________
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. |
|
|
|
|
|
#10 |
|
Team-XBMC Plugin Nutcase
Join Date: Mar 2008
Location: England
Posts: 840
![]() |
Try my plugin tutorial in my sig also
__________________
Google code page : http://code.google.com/p/voinage-xbm...downloads/list Plugin Creation tutorial : http://voinage-xbmc-plugins.googleco...n-tutorial.rar Plugin Creation tutorial Online: http://xbmc.org/wiki/?title=HOW-TO_w...ugins_for_XBMC Xbmc Docs for xbmcgui,xbmcplugin,xbmc: http://xbmc.sourceforge.net/python-docs/ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|