Python functions to add/remove sources
#1
Hey all,

i´ve recently created two new xbmcmodule functions to add and remove bookmark/sources. The main idea was to create a method to let python scripters easily add and remove bookmarks from within their scripts.

Its mainly the same method thats already used in HTTPAPI besides it works without the need of an enabled webserver and it automatically creates cached thumbnails of the plugin folder image.

Add plugin example :
Quote:xbmc.AddSource('video','Plugin Name','plugin://video/Plugin Name/')
I really would love to see it added.. maybe even as functions of the xbmcplugin module if theres no need for a general add/remove source.

Please tell me what you think about it. Thanks ..

Regards
asg
Reply
#2
Thumbs Up 
Patch please http://sourceforge.net/tracker/?group_id...tid=581840

http://xboxmediacenter.com/wiki/index.ph...it_a_patch

Cool
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.
Reply
#3
ok. ill have to fix some issues nuka mentioned on irc yesterday before i submit the patch to sf.net.

my main worry is that nuka told me that something like this was discussed before and the team wont add it. Thats why i would like to know if other scripters out there would like to have the ability to add sources directly from their scripts .. just to avoid wasting my time.
Reply
#4
patch @ http://sourceforge.net/tracker/index.php...tid=581840
Reply

Logout Mark Read Team Forum Stats Members Help
Python functions to add/remove sources0