The branch, eden-pre has been updated
       via  87cc7611707679e5fb17a282058dc00681369458 (commit)
      from  2f1f3ff65c347f4c8ccee3c0ab4667bca11f3d16 (commit)

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

commit 87cc7611707679e5fb17a282058dc00681369458
Author: ronie <[email protected]>
Date:   Fri Jan 20 21:44:26 2012 +0100

    [script.tv.show.next.aired] -v4.1.15
    
    fix issue with single character day and month

diff --git a/script.tv.show.next.aired/addon.xml 
b/script.tv.show.next.aired/addon.xml
index a82f998..d5e77ab 100644
--- a/script.tv.show.next.aired/addon.xml
+++ b/script.tv.show.next.aired/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.tv.show.next.aired"
        name="TV Show - Next Aired"
-       version="4.1.14"
+       version="4.1.15"
        provider-name="Ppic, Frost, ronie, `Black">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/script.tv.show.next.aired/changelog.txt 
b/script.tv.show.next.aired/changelog.txt
index 02df2cd..5543784 100644
--- a/script.tv.show.next.aired/changelog.txt
+++ b/script.tv.show.next.aired/changelog.txt
@@ -1,3 +1,6 @@
+v4.1.15
+- fix issue with single character day/month in dateshort
+
 v4.1.14
 - fixed index error while shifting airdays
 - added german summary & description
diff --git a/script.tv.show.next.aired/default.py 
b/script.tv.show.next.aired/default.py
index 2ba1d5f..81ca2d1 100644
--- a/script.tv.show.next.aired/default.py
+++ b/script.tv.show.next.aired/default.py
@@ -23,6 +23,10 @@ sys.path.append( os.path.join( RESOURCES_PATH, "lib" ) )
 
 # Get localized date format
 DATE_FORMAT = xbmc.getRegion('dateshort').lower()
+if DATE_FORMAT[0] == 'd':
+    DATE_FORMAT = '%d-%m-%y'
+elif DATE_FORMAT[0] == 'm':
+    DATE_FORMAT = '%m-%d-%y'
 
 if not xbmcvfs.exists(DATA_PATH):
     xbmcvfs.mkdir(DATA_PATH)
@@ -34,6 +38,7 @@ def footprints():
     log( "### %s starting ..." % __addonname__ )
     log( "### author: %s" % __author__ )
     log( "### version: %s" % __version__ )
+    log( "### dateformat: %s" % DATE_FORMAT)
 
 def get_html_source(url , save=False):
     class AppURLopener(urllib.FancyURLopener):
diff --git a/script.tv.show.next.aired/resources/language/English/strings.xml 
b/script.tv.show.next.aired/resources/language/English/strings.xml
index de5d0c1..4545d18 100644
--- a/script.tv.show.next.aired/resources/language/English/strings.xml
+++ b/script.tv.show.next.aired/resources/language/English/strings.xml
@@ -11,7 +11,7 @@
        <string id="45003">Download logos (Artwork Downloader required)</string>
        <string id="45004">Enable background fanart</string>
        <string id="45005">Enable 16:9 preview thumbs</string>
-    <string id="45006">Download 16:9 preview thumbs (Artwork Downloader 
required)</string>
-    <string id="45007">Rescan tv guide data</string>
+       <string id="45006">Download 16:9 preview thumbs (Artwork Downloader 
required)</string>
+       <string id="45007">Rescan tv guide data</string>
 </strings>
 

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

Summary of changes:
 script.tv.show.next.aired/addon.xml                |    2 +-
 script.tv.show.next.aired/changelog.txt            |    3 +++
 script.tv.show.next.aired/default.py               |    5 +++++
 .../resources/language/English/strings.xml         |    4 ++--
 .../resources/language/Swedish/strings.xml         |   17 +++++++++++++++++
 5 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 
script.tv.show.next.aired/resources/language/Swedish/strings.xml


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to