The branch, gotham has been updated
via 00aabd714f35c69362dc825fe8187e6b9f790d27 (commit)
from 990efe689ce77888480738bdc552d211b66e4a14 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=00aabd714f35c69362dc825fe8187e6b9f790d27
commit 00aabd714f35c69362dc825fe8187e6b9f790d27
Author: taxigps <[email protected]>
Date: Thu Dec 5 22:17:37 2013 +0800
[service.subtitles.shooter] 1.0.1
diff --git a/service.subtitles.shooter/addon.xml
b/service.subtitles.shooter/addon.xml
index c4238c6..6023bc9 100644
--- a/service.subtitles.shooter/addon.xml
+++ b/service.subtitles.shooter/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.subtitles.shooter"
name="Shooter"
- version="1.0.0"
+ version="1.0.1"
provider-name="taxigps">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
diff --git a/service.subtitles.shooter/service.py
b/service.subtitles.shooter/service.py
index 21f2862..c659e8e 100644
--- a/service.subtitles.shooter/service.py
+++ b/service.subtitles.shooter/service.py
@@ -220,10 +220,10 @@ def getSub(fpath, languagesearch, languageshort,
languagelong):
if (file.ExtName in ["srt", "txt", "ssa", "ass", "smi",
"sub"]):
showname = ".".join([barename, file.ExtName])
listitem = xbmcgui.ListItem(label=languagelong,
- label2=showname,
- iconImage="0",
- thumbnailImage=languageshort + '.gif'
- )
+ label2=showname,
+ iconImage="0",
+ thumbnailImage=languageshort
+ )
listitem.setProperty( "sync", "true" )
listitem.setProperty( "hearing_imp", "false" )
url = "plugin://%s/?action=download&filename=%s" %
(__scriptid__, local_tmp_file)
@@ -286,7 +286,7 @@ if params['action'] == 'search':
if item['title'] == "":
item['title'] =
normalizeString(xbmc.getInfoLabel("VideoPlayer.Title")) # no original
title, get just Title
- if item['episode'].lower().find("s") > -1:
# Check if season is "Special"
+ if item['episode'].lower().find("s") > -1:
# Check if season is "Special"
item['season'] = "0"
#
item['episode'] = item['episode'][-1:]
-----------------------------------------------------------------------
Summary of changes:
service.subtitles.shooter/addon.xml | 2 +-
service.subtitles.shooter/changelog.txt | 5 +++++
service.subtitles.shooter/service.py | 10 +++++-----
3 files changed, 11 insertions(+), 6 deletions(-)
create mode 100644 service.subtitles.shooter/changelog.txt
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons