Be sure and view the video at the end of the article.
Very nice Unbehagen

http://theendofthelongestline.de/xbox/ab.../index.php
Nuka1195
Skilled Python Coder Posts: 3,916 Joined: Dec 2004 Reputation: 17 |
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/xbox/ab.../index.php
(This post was last modified: 2008-06-24 21:48 by Nuka1195.)
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2007-12-29 23:25
Post: #2
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. ![]()
(This post was last modified: 2007-12-29 23:35 by jmarshall.)
|
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,916 Joined: Dec 2004 Reputation: 17 |
2007-12-30 01:16
Post: #3
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. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2007-12-30 02:57
Post: #4
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. ![]() |
| find quote |
Clumsy
Team-XBMC Forum Moderator Posts: 617 Joined: Feb 2004 Reputation: 0 |
2007-12-30 14:50
Post: #5
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.
|
| find quote |
jonib
Junior Member Posts: 45 Joined: Mar 2006 Reputation: 0 |
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 |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,916 Joined: Dec 2004 Reputation: 17 |
2008-04-21 14:44
Post: #7
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: <source> |
| find quote |
jonib
Junior Member Posts: 45 Joined: Mar 2006 Reputation: 0 |
2008-04-21 18:56
Post: #8
Nuka1195 Wrote: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.I seem to have a Delete command in the context menu with MythTV plugin, and when I tested it deleted the video but MythTV was not notified. 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:2. this is what i useThanks, I discovered that yesterday but was hoping for something more flexible. jonib |
| find quote |
Gamester17
Team-XBMC Forum Moderator Joined: Sep 2003 Reputation: 9 Location: Sweden |
2008-10-16 15:25
Post: #9
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 |
Banned Joined: Mar 2008 Location: England |
2008-12-24 22:20
Post: #10
Try my plugin tutorial in my sig also
|
| find quote |