The branch, gotham has been updated
       via  bac23b156eb96fb20e01a7e25c02eb793fb4195b (commit)
      from  514c22eff5258022b8ce82fe2eab974698676638 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=bac23b156eb96fb20e01a7e25c02eb793fb4195b

commit bac23b156eb96fb20e01a7e25c02eb793fb4195b
Author: ronie <ronie>
Date:   Fri Dec 20 15:34:17 2013 +0100

    [script.favourites] -v5.0.2

diff --git a/script.favourites/addon.xml b/script.favourites/addon.xml
index 20620cf..d4fab95 100644
--- a/script.favourites/addon.xml
+++ b/script.favourites/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.favourites" name="Favourites script" version="5.0.1" 
provider-name="ronie|`Black">
+<addon id="script.favourites" name="Favourites script" version="5.0.2" 
provider-name="ronie|`Black">
        <requires>
                <import addon="xbmc.python" version="2.12.0"/>
        </requires>
diff --git a/script.favourites/changelog.txt b/script.favourites/changelog.txt
index fcaf04a..88a30bd 100644
--- a/script.favourites/changelog.txt
+++ b/script.favourites/changelog.txt
@@ -1,3 +1,6 @@
+v5.0.2
+- fixed launching of android apps
+
 v5.0.1
 - no reason
 
diff --git a/script.favourites/default.py b/script.favourites/default.py
index 6f4608b..1686863 100644
--- a/script.favourites/default.py
+++ b/script.favourites/default.py
@@ -56,7 +56,7 @@ class Main:
         for count, favourite in enumerate(listing):
             name = favourite.attributes[ 'name' ].nodeValue
             path = favourite.childNodes [ 0 ].nodeValue
-            if 'RunScript' not in path:
+            if ('RunScript' not in path) and ('StartAndroidActivity' not in 
path):
                 path = path.rstrip(')')
                 path = path + ',return)'
             if 'playlists/music' in path or 'playlists/video' in path:
@@ -107,7 +107,7 @@ class MainGui( xbmcgui.WindowXMLDialog ):
                     listitem.setProperty( "Icon", favourite.attributes[ 
'thumb' ].nodeValue )
             except:
                 pass
-            if 'RunScript' not in fav_path:
+            if ('RunScript' not in fav_path) and ('StartAndroidActivity' not 
in fav_path):
                 fav_path = fav_path.rstrip(')')
                 fav_path = fav_path + ',return)'
             listitem.setProperty( "Path", fav_path )

-----------------------------------------------------------------------

Summary of changes:
 script.favourites/addon.xml     |    2 +-
 script.favourites/changelog.txt |    3 +++
 script.favourites/default.py    |    4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to