The branch, gotham has been updated
       via  46d90a14f95f003fdf57f2d297f8552748d3c564 (commit)
      from  be8fdc22eb37c89fba0826503adc90460df01bb7 (commit)

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

commit 46d90a14f95f003fdf57f2d297f8552748d3c564
Author: amet <[email protected]>
Date:   Wed Nov 13 01:08:51 2013 +0400

    [service.subtitles.opensubtitles] -v 5.0.1
    
    - let skin control flag filetype

diff --git a/service.subtitles.opensubtitles/addon.xml 
b/service.subtitles.opensubtitles/addon.xml
index bac29df..96cc5b5 100755
--- a/service.subtitles.opensubtitles/addon.xml
+++ b/service.subtitles.opensubtitles/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="service.subtitles.opensubtitles"
        name="OpenSubtitles"
-       version="5.0.0"
+       version="5.0.1"
        provider-name="amet">
   <requires>
     <import addon="xbmc.python" version="2.1.0"/>
diff --git a/service.subtitles.opensubtitles/changelog.txt 
b/service.subtitles.opensubtitles/changelog.txt
index a05aa2d..5d8dcce 100644
--- a/service.subtitles.opensubtitles/changelog.txt
+++ b/service.subtitles.opensubtitles/changelog.txt
@@ -1,2 +1,5 @@
+5.0.1
+- let skin control flag filetype
+
 5.0.0
 - move the service out of XBMC Subtitles
\ No newline at end of file
diff --git a/service.subtitles.opensubtitles/service.py 
b/service.subtitles.opensubtitles/service.py
index 2704f3e..3f0d6b5 100644
--- a/service.subtitles.opensubtitles/service.py
+++ b/service.subtitles.opensubtitles/service.py
@@ -44,9 +44,6 @@ def Search( item ):
           if user_lang_id == item_data["ISO639"]:
             break
           lang_index+=1
-        flag_image = "%s.gif" % item_data["ISO639"]
-      else:                                
-        flag_image = "-.gif"
       if str(item_data["MatchedBy"]) == "moviehash":
         sync = True
       else:                                
@@ -56,7 +53,7 @@ def Search( item ):
                               'filename'      : item_data["SubFileName"],
                               'link'          : item_data["ZipDownloadLink"],
                               'language_name' : item_data["LanguageName"],
-                              'language_flag' : flag_image,
+                              'language_flag' : item_data["ISO639"],
                               'language_id'   : item_data["SubLanguageID"],
                               'ID'            : item_data["IDSubtitleFile"],
                               'rating'        : 
str(int(round(float(item_data["SubRating"])/2))),

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

Summary of changes:
 service.subtitles.opensubtitles/addon.xml     |    2 +-
 service.subtitles.opensubtitles/changelog.txt |    3 +++
 service.subtitles.opensubtitles/service.py    |    5 +----
 3 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to