The branch, gotham has been updated via 55ff4d833e4587ff727d62430efa8bce3340ebd7 (commit) via 707d6f013463e6af574394a59f07cd8a0e00b6d3 (commit) from 00aabd714f35c69362dc825fe8187e6b9f790d27 (commit)
- Log ----------------------------------------------------------------- http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=55ff4d833e4587ff727d62430efa8bce3340ebd7 commit 55ff4d833e4587ff727d62430efa8bce3340ebd7 Author: amet <amet.nos...@gmail.com> Date: Fri Dec 6 20:30:06 2013 +0300 [service.subtitles.opensubtitles] -v5.0.3 5.0.3 - fix Portuguese (Brazil) and Greek diff --git a/service.subtitles.opensubtitles/addon.xml b/service.subtitles.opensubtitles/addon.xml index 181c54e..11dbe2a 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.2" + version="5.0.3" provider-name="amet"> <requires> <import addon="xbmc.python" version="2.1.0"/> @@ -11,5 +11,12 @@ <extension point="xbmc.addon.metadata"> <summary lang="en">OpenSubtitles</summary> <description lang="en">Search and download subtitles from OpenSubtitles</description> + <disclaimer lang="en"></disclaimer> + <platform>all</platform> + <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license> + <forum></forum> + <website></website> + <email></email> + <source>https://github.com/amet/service.subtitles.opensubtitles</source> </extension> </addon> diff --git a/service.subtitles.opensubtitles/changelog.txt b/service.subtitles.opensubtitles/changelog.txt index 8bf7c9a..19dbf60 100644 --- a/service.subtitles.opensubtitles/changelog.txt +++ b/service.subtitles.opensubtitles/changelog.txt @@ -1,3 +1,6 @@ +5.0.3 +- fix Portuguese (Brazil) and Greek + 5.0.2 - icon.png and added logo.png for skin to use in window diff --git a/service.subtitles.opensubtitles/service.py b/service.subtitles.opensubtitles/service.py index 3f0d6b5..bdc393e 100644 --- a/service.subtitles.opensubtitles/service.py +++ b/service.subtitles.opensubtitles/service.py @@ -157,7 +157,14 @@ if params['action'] == 'search': item['3let_language'] = [] #['scc','eng'] for lang in urllib.unquote(params['languages']).decode('utf-8').split(","): - item['3let_language'].append(xbmc.convertLanguage(lang,xbmc.ISO_639_2)) + if lang == "Portuguese (Brazil)": + lan = "pob" + else: + lan = xbmc.convertLanguage(lang,xbmc.ISO_639_2) + if lan == "gre": + lan = "ell" + + item['3let_language'].append(lan) if item['title'] == "": log( __name__, "VideoPlayer.OriginalTitle not found") http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=707d6f013463e6af574394a59f07cd8a0e00b6d3 commit 707d6f013463e6af574394a59f07cd8a0e00b6d3 Author: amet <amet.nos...@gmail.com> Date: Fri Dec 6 20:28:54 2013 +0300 [service.subtitles.podnapisi] -v5.0.2 5.0.2 - fix missing languages diff --git a/service.subtitles.podnapisi/addon.xml b/service.subtitles.podnapisi/addon.xml index 7bce4f4..2aa5a76 100755 --- a/service.subtitles.podnapisi/addon.xml +++ b/service.subtitles.podnapisi/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="service.subtitles.podnapisi" name="Podnapisi.net" - version="5.0.1" + version="5.0.2" provider-name="amet"> <requires> <import addon="xbmc.python" version="2.1.0"/> @@ -11,5 +11,12 @@ <extension point="xbmc.addon.metadata"> <summary lang="en">Podnapisi.net</summary> <description lang="en">Search and download subtitles from Podnapisi.net</description> + <disclaimer lang="en"></disclaimer> + <platform>all</platform> + <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license> + <forum></forum> + <website></website> + <email></email> + <source>https://github.com/amet/service.subtitles.podnapisi</source> </extension> </addon> diff --git a/service.subtitles.podnapisi/changelog.txt b/service.subtitles.podnapisi/changelog.txt index 8e9246e..eb2a2c7 100644 --- a/service.subtitles.podnapisi/changelog.txt +++ b/service.subtitles.podnapisi/changelog.txt @@ -1,3 +1,6 @@ +5.0.2 +- fix missing languages + 5.0.1 - icon.png and added logo.png for skin to use in window diff --git a/service.subtitles.podnapisi/service.py b/service.subtitles.podnapisi/service.py index 4806bcf..4c9d950 100644 --- a/service.subtitles.podnapisi/service.py +++ b/service.subtitles.podnapisi/service.py @@ -141,7 +141,7 @@ if params['action'] == 'search': item['3let_language'] = [] #['scc','eng'] for lang in urllib.unquote(params['languages']).decode('utf-8').split(","): - item['3let_language'].append(languageTranslate(xbmc.convertLanguage(lang,xbmc.ISO_639_2),3,1)) + item['3let_language'].append(languageTranslate(lang,0,1)) if item['title'] == "": log( __name__, "VideoPlayer.OriginalTitle not found") ----------------------------------------------------------------------- Summary of changes: service.subtitles.opensubtitles/addon.xml | 9 ++++++++- service.subtitles.opensubtitles/changelog.txt | 3 +++ service.subtitles.opensubtitles/service.py | 9 ++++++++- service.subtitles.podnapisi/addon.xml | 9 ++++++++- service.subtitles.podnapisi/changelog.txt | 3 +++ service.subtitles.podnapisi/service.py | 2 +- 6 files changed, 31 insertions(+), 4 deletions(-) hooks/post-receive -- Scripts ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Xbmc-addons mailing list Xbmc-addons@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xbmc-addons