The branch, eden has been updated
       via  fea590fa5903bc5965123faefa7eb638702f9bfe (commit)
      from  372fa8264cbc278551576e79ae23ac4b475ff1c5 (commit)

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

commit fea590fa5903bc5965123faefa7eb638702f9bfe
Author: spiff <[email protected]>
Date:   Thu Jun 7 14:19:50 2012 +0200

    [plugin.video.mtv_de] updated to version 2.0.9

diff --git a/plugin.video.mtv_de/addon.xml b/plugin.video.mtv_de/addon.xml
index 58a7ba7..befe1a9 100644
--- a/plugin.video.mtv_de/addon.xml
+++ b/plugin.video.mtv_de/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<addon id="plugin.video.mtv_de" name="MTV.de" version="2.0.8" 
provider-name="AddonScriptorDE">
+<addon id="plugin.video.mtv_de" name="MTV.de" version="2.0.9" 
provider-name="AddonScriptorDE">
     <requires>
         <import addon="xbmc.python" version="2.0"/>
     </requires>
diff --git a/plugin.video.mtv_de/changelog.txt 
b/plugin.video.mtv_de/changelog.txt
index 9b29d20..88a2cbb 100644
--- a/plugin.video.mtv_de/changelog.txt
+++ b/plugin.video.mtv_de/changelog.txt
@@ -10,4 +10,5 @@
 2.0.5 - Removed Artist-Collection, Added Artists A-Z, Added Context-Menu for 
deleting Title-Collection, Added Title-Blacklist, Added localization for 
Context-Menus & Messages
 2.0.6 - Fixed some problems with unavailable videos & new Error message on 
mtv.de
 2.0.7 - Added Category: TV-Shows
-2.0.8 - Fixed Script-Error in latest music clips (Modifications on mtv.de)
\ No newline at end of file
+2.0.8 - Fixed Script-Error in latest music clips (Modifications on mtv.de)
+2.0.9 - Fixed site changes for older videos
\ No newline at end of file
diff --git a/plugin.video.mtv_de/default.py b/plugin.video.mtv_de/default.py
index f35f3fc..b14abf6 100644
--- a/plugin.video.mtv_de/default.py
+++ b/plugin.video.mtv_de/default.py
@@ -346,8 +346,8 @@ def playVideo(url):
           match=re.compile('music_video-(.+?)-DE', re.DOTALL).findall(content)
           url=match[0]
         content = 
getUrl("http://api.mtvnn.com/v2/mrss.xml?uri=mgid:sensei:video:mtvnn.com:music_video-"+url+"-DE";)
-        match=re.compile("<media:content duration='0' isDefault='true' 
type='text/xml' url='(.+?)'></media:content>", re.DOTALL).findall(content)
-        playVideoMain(match[0])
+        match=re.compile("<media:content duration='(.+?)' isDefault='true' 
type='text/xml' url='(.+?)'></media:content>", re.DOTALL).findall(content)
+        playVideoMain(match[0][1])
 
 def playVideoMain(url):
         content = getUrl(url)

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

Summary of changes:
 plugin.video.mtv_de/addon.xml     |    2 +-
 plugin.video.mtv_de/changelog.txt |    3 ++-
 plugin.video.mtv_de/default.py    |    4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to