The branch, eden-pre has been updated
via 4d3de58bafb918db44c7272d5e93e06103f5c783 (commit)
from 9b5bfd74aa1813db1b38c2a13b51f450855eebde (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=4d3de58bafb918db44c7272d5e93e06103f5c783
commit 4d3de58bafb918db44c7272d5e93e06103f5c783
Author: amet <[email protected]>
Date: Fri Oct 21 20:56:37 2011 +0400
[script.xbmc.subtitles] -v2.9.24
- fixed: Napisy24pl, thx mrto
- fixed: Sratim service
diff --git a/script.xbmc.subtitles/addon.xml b/script.xbmc.subtitles/addon.xml
index b0cc01e..99310ee 100644
--- a/script.xbmc.subtitles/addon.xml
+++ b/script.xbmc.subtitles/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.xbmc.subtitles"
name="XBMC Subtitles"
- version="2.9.23"
+ version="2.9.24"
provider-name="Amet, mr_blobby">
<requires>
<import addon="xbmc.python" version="2.0"/>
diff --git a/script.xbmc.subtitles/changelog.txt
b/script.xbmc.subtitles/changelog.txt
index f192e7f..98ebe3e 100644
--- a/script.xbmc.subtitles/changelog.txt
+++ b/script.xbmc.subtitles/changelog.txt
@@ -1,3 +1,7 @@
+2.9.24
+- fixed: Napisy24pl, thx mrto
+- fixed: Sratim service
+
2.9.23
- fixed: Sratim service, thx orivar
diff --git a/script.xbmc.subtitles/resources/language/Polish/strings.xml
b/script.xbmc.subtitles/resources/language/Polish/strings.xml
index 693950c..e7e76ef 100644
--- a/script.xbmc.subtitles/resources/language/Polish/strings.xml
+++ b/script.xbmc.subtitles/resources/language/Polish/strings.xml
@@ -35,7 +35,7 @@
<string id="30101">Pierwszy jÄzyk</string>
<string id="30102">Drugi jÄzyk</string>
<string id="30103">Wybierz serwis</string>
- <string id="30104">- Podnapisi.net nazwa urzytkownika</string>
+ <string id="30104">- Podnapisi.net nazwa użytkownika</string>
<string id="30105">- Podnapisi.net hasÅo</string>
<string id="30106">Opcje zaawansowane</string>
<string id="30107">Pobierz napisy do katalogu z filmem</string>
@@ -48,22 +48,22 @@
<string id="30119">Szukaj używajÄ
c folderu nadrzÄdnego</string>
<string id="30121">Dodaj symbol jÄzyka do pliku napisów</string>
<string id="30122">DomyÅlny timeout</string>
- <string id="30123">- Legendas.TV nazwa urzytkownika</string>
+ <string id="30123">- Legendas.TV nazwa użytkownika</string>
<string id="30124">- Legendas.TV hasÅo</string>
<string id="30125">WyÅÄ
cz szukanie wg. hash'a</string>
- <string id="30126">- Itasa nazwa urzytkownika</string>
+ <string id="30126">- Itasa nazwa użytkownika</string>
<string id="30127">- Itasa hasÅo</string>
- <string id="30128">- Titulky nazwa urzytkownika</string>
+ <string id="30128">- Titulky nazwa użytkownika</string>
<string id="30129">- Titulky hasÅo</string>
<string id="30130">Przeszukaj nastepny serwis jeżeli poprzedni nie
zawiera napisów</string>
<string id="30131">Pobierz automatycznie pierwsze zsynchronizowane
napisy</string>
- <string id="30132">- LegendasDivx nazwa urzytkownika</string>
+ <string id="30132">- LegendasDivx nazwa użytkownika</string>
<string id="30133">- LegendasDivx hasÅo</string>
- <string id="30134">- PTSubs nazwa urzytkownika</string>
+ <string id="30134">- PTSubs nazwa użytkownika</string>
<string id="30135">- PTSubs hasÅo</string>
- <string id="30136">- OmniSubs nazwa urzytkownika</string>
+ <string id="30136">- OmniSubs nazwa użytkownika</string>
<string id="30137">- OmniSubs hasÅo</string>
- <string id="30138">- LegendasZone nazwa urzytkownika</string>
+ <string id="30138">- LegendasZone nazwa użytkownika</string>
<string id="30139">- LegendasZone hasÅo</string>
<!-- Languages -->
diff --git a/script.xbmc.subtitles/resources/lib/services/Napisy24pl/service.py
b/script.xbmc.subtitles/resources/lib/services/Napisy24pl/service.py
index 79549c0..8202b6a 100644
--- a/script.xbmc.subtitles/resources/lib/services/Napisy24pl/service.py
+++ b/script.xbmc.subtitles/resources/lib/services/Napisy24pl/service.py
@@ -7,12 +7,12 @@
# mrto
import urllib2, re, string, xbmc, sys, os
-from utilities import log, twotofull
+from utilities import log, languageTranslate
_ = sys.modules[ "__main__" ].__language__
main_url = "http://napisy24.pl/search.php?str="
-down_url = "http://napisy.me/download/sr/"
+down_url = "http://napisy.me/download/mdvd"
subtitle_pattern = 'a href=\"/download/(\d+)/\"><strong>(.+?)</strong></a>'
@@ -38,7 +38,7 @@ def getallsubs(content, title, subtitles_list,
file_original_path, stack):
link = "%s%s/" % (down_url, numer_napisu)
log( __name__ ,"Subtitles found: %s %s (link=%s)" % (tytul, wydanie,
link))
obraz_flagi = "flags/%s.gif" % (jezyk)
- lang = twotofull(jezyk)
+ lang = languageTranslate(jezyk,2,0)
tytul_pelny = '%s %s' % (tytul, wydanie)
wydanie_sclean = wydanie.replace(" ","")
wydanie_clean = wydanie_sclean.replace(",",";")
diff --git a/script.xbmc.subtitles/resources/lib/services/Sratim/service.py
b/script.xbmc.subtitles/resources/lib/services/Sratim/service.py
index 283fa01..713fbb5 100644
--- a/script.xbmc.subtitles/resources/lib/services/Sratim/service.py
+++ b/script.xbmc.subtitles/resources/lib/services/Sratim/service.py
@@ -14,7 +14,7 @@
# Created by: Ori Varon
#===============================================================================
import os, re, xbmc, xbmcgui, string, time, urllib2
-from utilities import toOpenSubtitles_two, log
+from utilities import languageTranslate, log
BASE_URL = "http://www.sratim.co.il/"
debug_pretext = ""
@@ -75,7 +75,7 @@ def
getAllSubtitles(subtitlePageID,languageList,subtitlesList):
subtitlesList.append({'rating': '0', 'sync': False,
'filename': title, 'subtitle_id': fid,
'language_flag': 'flags/' + \
-
toOpenSubtitles_two(sratimToScript(language)) + \
+
languageTranslate(sratimToScript(language),0,2) + \
'.gif', 'language_name':
sratimToScript(language)})
# Same as getAllSubtitles() but receives season and episode numbers and find
them.
-----------------------------------------------------------------------
Summary of changes:
script.xbmc.subtitles/addon.xml | 2 +-
script.xbmc.subtitles/changelog.txt | 4 ++++
.../resources/language/Polish/strings.xml | 16 ++++++++--------
.../resources/lib/services/Napisy24pl/service.py | 6 +++---
.../resources/lib/services/Sratim/service.py | 4 ++--
5 files changed, 18 insertions(+), 14 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons