The branch, gotham has been updated
       via  fe1bf95b745a16d9ea70c081e0db1623cda33783 (commit)
      from  a8dccbd7f1dc56e06d510fa7de704c789585362d (commit)

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

commit fe1bf95b745a16d9ea70c081e0db1623cda33783
Author: Martijn Kaijser <[email protected]>
Date:   Thu May 22 18:01:45 2014 +0200

    [service.subtitles.legendasdivx] 0.0.5

diff --git a/service.subtitles.legendasdivx/addon.xml 
b/service.subtitles.legendasdivx/addon.xml
index 059ddc6..c8e5e9c 100644
--- a/service.subtitles.legendasdivx/addon.xml
+++ b/service.subtitles.legendasdivx/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="service.subtitles.legendasdivx"
        name="LegendasDivx.com"
-       version="0.0.4"
+       version="0.0.5"
        provider-name="HiGhLaNdeR">
   <requires>
     <import addon="xbmc.python" version="2.14.0"/>
diff --git a/service.subtitles.legendasdivx/changelog.txt 
b/service.subtitles.legendasdivx/changelog.txt
index e5b712b..dab1294 100644
--- a/service.subtitles.legendasdivx/changelog.txt
+++ b/service.subtitles.legendasdivx/changelog.txt
@@ -1,3 +1,6 @@
+0.0.5
+- Improved SYNC matching REGEX.
+- Fixed a missing string in all languages.
 0.0.4
 - Added Parent Folder search and sync matching. Choose in addon settings AUTO 
or OFF. AUTO checks if parent folder is a release and if true it will be used 
for search and sync.
 - Reviewed Release pattern for better Description display.
diff --git 
a/service.subtitles.legendasdivx/resources/language/Portuguese/strings.xml 
b/service.subtitles.legendasdivx/resources/language/Portuguese/strings.xml
index c112aaa..82cd7b3 100644
--- a/service.subtitles.legendasdivx/resources/language/Portuguese/strings.xml
+++ b/service.subtitles.legendasdivx/resources/language/Portuguese/strings.xml
@@ -10,7 +10,7 @@
     <string id="32007">Inglês Activo</string>
     <string id="32008">Descrição Completa</string>
     <string id="32009">Sem RELEASE na descrição!</string>
-    <string id="32010">Procura e sincronia pela pasta do filme</string>
+    <string id="32010">Procura e sincroniza pela pasta do filme</string>
     <string id="32011">Auto</string>
     <string id="32012">Sempre ligado</string>
     <string id="32013">Desligado</string>
diff --git a/service.subtitles.legendasdivx/resources/settings.xml 
b/service.subtitles.legendasdivx/resources/settings.xml
index 5797b00..efc6888 100644
--- a/service.subtitles.legendasdivx/resources/settings.xml
+++ b/service.subtitles.legendasdivx/resources/settings.xml
@@ -8,6 +8,6 @@
       <setting id="ES" type="bool" label="32006" default="true"/>
       <setting id="EN" type="bool" label="32007" default="true"/>
       <setting id="DESC" type="bool" label="32008" default="false"/>
-      <setting id="PARENT" type="enum" lvalues="32011|32013" label="3010" 
default="0"/>
+      <setting id="PARENT" type="enum" lvalues="32011|32013" label="32010" 
default="0"/>
     </category>   
 </settings>
diff --git a/service.subtitles.legendasdivx/service.py 
b/service.subtitles.legendasdivx/service.py
index d511108..9eb2154 100644
--- a/service.subtitles.legendasdivx/service.py
+++ b/service.subtitles.legendasdivx/service.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
-# Service LegendasDivx.com version 0.0.3
-# Code based on Undertext (FRODO) service and the download function encode fix 
from legendastv (FRODO) service
+# Service LegendasDivx.com version 0.0.5
+# Code based on Undertext (FRODO) service
 # Coded by HiGhLaNdR@OLDSCHOOL
 # Ported to Gotham by HiGhLaNdR@OLDSCHOOL
 # Help by VaRaTRoN
@@ -92,7 +92,7 @@ Release: The.Dark.Knight.2008.720p.BluRay.DTS.x264-ESiR</td>
 """
 
 subtitle_pattern = 
"<div\sclass=\"sub_box\">[\r\n\t]{2}<div\sclass=\"sub_header\">[\r\n\t]{2}<b>(.+?)</b>\s\((\d\d\d\d)\)\s.+?[\r\n\t
 
]+?[\r\n\t]</div>[\r\n\t]{2}<table\sclass=\"sub_main\scolor1\"\scellspacing=\"0\">[\r\n\t]{2}<tr>[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}<th>CDs:</th>[\r\n\t
 
]{2}<td>(.+?)</td>[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}<a\shref=\"\?name=Downloads&d_op=ratedownload&lid=(.+?)\">[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}.+?[\r\n\t]{2}<th\sclass=\"color2\">Hits:</th>[\r\n\t]{2}<td>(.+?)</td>[\r\n\t
 ]{2}.+?[\r\n\t]{2}<td>(.+?)</td>[\r\n\t ]{2}.+?[\r\n\t ]{2}.+?[\r\n\t 
]{2}.+?[\r\n\t ]{2}.+?.{2,5}[\r\n\t ]{2}.+?[\r\n\t 
]{2}<td\scolspan=\"5\"\sclass=\"td_desc\sbrd_up\">((\n|.)*)</td>"
-release_pattern = 
"([^\W]\w{1,}\.{1,1}[^\.][\w{1,}\.|\-|\(\d\d\d\d\)]{3,}[\w{3,}\-|\.{1,1}]\w{2,})"
+release_pattern = "([^\W]\w{1,}\.{1,1}[^\.|^\ 
][\w{1,}\.|\-|\(\d\d\d\d\)|\[\d\d\d\d\]]{3,}[\w{3,}\-|\.{1,1}]\w{2,})"
 # group(1) = Name, group(2) = Year, group(3) = Number Files, group(4) = ID, 
group(5) = Hits, group(6) = Requests, group(7) = Description
 #==========
 # Functions

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

Summary of changes:
 service.subtitles.legendasdivx/addon.xml           |    2 +-
 service.subtitles.legendasdivx/changelog.txt       |    3 +++
 .../resources/language/Portuguese/strings.xml      |    2 +-
 .../resources/settings.xml                         |    2 +-
 service.subtitles.legendasdivx/service.py          |    6 +++---
 5 files changed, 9 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to