The branch, frodo has been updated
via 3a4c45d49872ea723106639a83710e11404b0495 (commit)
from c333ab12b54047dcb925eb653ca9ad41e3e2a3a5 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=3a4c45d49872ea723106639a83710e11404b0495
commit 3a4c45d49872ea723106639a83710e11404b0495
Author: Martijn Kaijser <[email protected]>
Date: Wed Apr 16 14:20:11 2014 +0200
[script.keymap] 0.9.4
diff --git a/script.keymap/actions.py b/script.keymap/actions.py
index 2f6025a..3fde41c 100644
--- a/script.keymap/actions.py
+++ b/script.keymap/actions.py
@@ -347,7 +347,9 @@ def _get_run_addon_actions():
addon_types = ['xbmc.python.pluginsource', 'xbmc.python.script']
for addon_type in addon_types:
response = rpc('Addons.GetAddons', type=addon_type,
properties=['name', 'enabled'])
- addons.extend([a for a in response['result']['addons'] if
a['enabled']])
+ res = response['result']
+ if 'addons' in res:
+ addons.extend([a for a in res['addons'] if a['enabled']])
actions = ['runaddon(%s)' % a['addonid'] for a in addons]
names = ['Launch %s' % a['name'] for a in addons]
return action_dict(actions, names)
diff --git a/script.keymap/addon.xml b/script.keymap/addon.xml
index 692e7db..d65a906 100644
--- a/script.keymap/addon.xml
+++ b/script.keymap/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.keymap"
name="Keymap Editor"
- version="0.9.3"
+ version="0.9.4"
provider-name="takoi">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
diff --git a/script.keymap/changelog.txt b/script.keymap/changelog.txt
index f9a4264..4442bef 100644
--- a/script.keymap/changelog.txt
+++ b/script.keymap/changelog.txt
@@ -1,3 +1,6 @@
+[B]v0.9.4[/B]
+- Fixed: script failing to start when no audio/video add-ons is installed
+
[B]v0.9.3[/B]
- Added actions for launching Add-ons
- Added timeout to dialog that abort if no key is pressed
-----------------------------------------------------------------------
Summary of changes:
script.keymap/actions.py | 4 +++-
script.keymap/addon.xml | 2 +-
script.keymap/changelog.txt | 3 +++
3 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons