The branch, eden has been updated
       via  56d19e2c203d78d7ea09cb6ce530d6470858dd49 (commit)
      from  174a7ce5021c6b8133424570e7d53e8146275932 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=56d19e2c203d78d7ea09cb6ce530d6470858dd49

commit 56d19e2c203d78d7ea09cb6ce530d6470858dd49
Author: Martijn Kaijser <[email protected]>
Date:   Thu Jan 24 19:39:07 2013 +0100

    [plugin.video.the.trailers] 0.9.5

diff --git a/plugin.video.the.trailers/addon.xml 
b/plugin.video.the.trailers/addon.xml
index 27bdda5..605251b 100644
--- a/plugin.video.the.trailers/addon.xml
+++ b/plugin.video.the.trailers/addon.xml
@@ -2,7 +2,7 @@
 <addon 
     id="plugin.video.the.trailers"
     name="The Trailers"
-    version="0.9.4"
+    version="0.9.5"
     provider-name="Martijn, Sphere">
     <requires>
         <import addon="xbmc.python" version="2.0"/>
diff --git a/plugin.video.the.trailers/changelog.txt 
b/plugin.video.the.trailers/changelog.txt
index e62ce69..3cd7089 100644
--- a/plugin.video.the.trailers/changelog.txt
+++ b/plugin.video.the.trailers/changelog.txt
@@ -1,3 +1,6 @@
+[B]0.9.5[/B]
+- Fix apple trailers thx to "el.kiwi"
+
 [B]0.9.4[/B]
 - Fix apple trailers thx to "el.kiwi"
 
diff --git a/plugin.video.the.trailers/resources/lib/apple_trailers.py 
b/plugin.video.the.trailers/resources/lib/apple_trailers.py
index ef0b720..31b38fe 100644
--- a/plugin.video.the.trailers/resources/lib/apple_trailers.py
+++ b/plugin.video.the.trailers/resources/lib/apple_trailers.py
@@ -160,11 +160,14 @@ class AppleTrailers(object):
             url=self.BACKUP_MOVIE_BASE % movie['movie_string']
             tree = None
             if quality_id=='h480p.mov':
-                tree=self.__get_tree(url + 'itsxml/25-'+trailer_type+'.xml')
+                
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
+                tree=self.__get_tree(url + 
'itsxml/25-'+trailer_type+'.xml',cache_filename=cache)
             if quality_id=='h720p.mov':
-                tree=self.__get_tree(url + 'itsxml/26-'+trailer_type+'.xml')
+                
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
+                tree=self.__get_tree(url + 
'itsxml/26-'+trailer_type+'.xml',cache_filename=cache)
             if quality_id=='h1080p.mov':
-                tree=self.__get_tree(url + 'itsxml/27-'+trailer_type+'.xml')
+                
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
+                tree=self.__get_tree(url + 
'itsxml/27-'+trailer_type+'.xml',cache_filename=cache)
             for s in tree.findAll('dict'):
                 for k in s.findAll('key'):                
                     if k.string == 'URL':

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

Summary of changes:
 plugin.video.the.trailers/addon.xml                |    2 +-
 plugin.video.the.trailers/changelog.txt            |    3 +++
 .../resources/lib/apple_trailers.py                |    9 ++++++---
 3 files changed, 10 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to