The branch, dharma has been updated
via 9287c64883cb01f777b750489076ec2f27fb1232 (commit)
from cc11bab8f6cbe301417debdb6b4690fd14b99ab7 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=9287c64883cb01f777b750489076ec2f27fb1232
commit 9287c64883cb01f777b750489076ec2f27fb1232
Author: amet <[email protected]>
Date: Thu Jul 28 01:04:30 2011 +0200
[script.pypredefcom] -v 2.0
- added xbmcvfs
diff --git a/script.pypredefcom/addon.py b/script.pypredefcom/addon.py
index 5cf1e26..5e2da0f 100644
--- a/script.pypredefcom/addon.py
+++ b/script.pypredefcom/addon.py
@@ -22,6 +22,7 @@ import xbmc
import xbmcgui
import xbmcplugin
import xbmcaddon
+
import resources.lib.pypredefcom as pypredefcomp
#REMOTE_DBG = False
@@ -68,6 +69,13 @@ if ( __name__ == "__main__" ):
Addon.setSetting( "doc_path", doc_path )
# modules
modules = [ "xbmc", "xbmcgui", "xbmcplugin", "xbmcaddon" ]
+
+ try:
+ import xbmcvfs
+ modules.append('xbmcvfs')
+ except ImportError:
+ pass
+
# enumerate thru and print our help docs
for count, module in enumerate( modules ):
# set correct path
diff --git a/script.pypredefcom/addon.xml b/script.pypredefcom/addon.xml
index e513ec1..6b80706 100644
--- a/script.pypredefcom/addon.xml
+++ b/script.pypredefcom/addon.xml
@@ -17,9 +17,9 @@
<!-- along with this program; if not, write to the Free Software -->
<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA -->
<!--==================================================================== -->
-<addon id="script.pypredefcom" name="PyDev Predefined Completions Creator"
version="0.9.1" provider-name="jiminger.com">
+<addon id="script.pypredefcom" name="PyDev Predefined Completions Creator"
version="2.0" provider-name="jiminger.com">
<requires>
- <import addon="xbmc.python" version="1.0"/>
+ <import addon="xbmc.python" version="2.0"/>
</requires>
<extension point="xbmc.python.script" library="addon.py"/>
<extension point="xbmc.addon.metadata">
-----------------------------------------------------------------------
Summary of changes:
script.pypredefcom/addon.py | 8 ++++++++
script.pypredefcom/addon.xml | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons