The branch, frodo has been updated
       via  aeaad9e8ad48e379561296564bff7edfe475a0f9 (commit)
      from  1fcf3ca8472475efd0976482a8fdde06f4af166b (commit)

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

commit aeaad9e8ad48e379561296564bff7edfe475a0f9
Author: sphere <[email protected]>
Date:   Thu Feb 20 20:42:19 2014 +0100

    [plugin.video.eevblog] updated to version 0.2.5

diff --git a/plugin.video.eevblog/addon.xml b/plugin.video.eevblog/addon.xml
index 7a92a7b..534e982 100644
--- a/plugin.video.eevblog/addon.xml
+++ b/plugin.video.eevblog/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.eevblog"
        name="EEVblog"
-       version="0.2.4"
+       version="0.2.5"
        provider-name="Clumsy">
   <requires>
     <import addon="xbmc.python" version="2.1.0"/>
diff --git a/plugin.video.eevblog/changelog.txt 
b/plugin.video.eevblog/changelog.txt
index 0af2910..c34c235 100644
--- a/plugin.video.eevblog/changelog.txt
+++ b/plugin.video.eevblog/changelog.txt
@@ -1,3 +1,7 @@
+[B|Version 0.2.5[/B]
+
+- Fixes video playback. Thanks to Lupul for the fix.
+
 [B|Version 0.2.4[/B]
 
 - Dave changed the site a bit, breaking the episode listing. Fixed.
diff --git a/plugin.video.eevblog/default.py b/plugin.video.eevblog/default.py
index 7574100..5df076b 100644
--- a/plugin.video.eevblog/default.py
+++ b/plugin.video.eevblog/default.py
@@ -2,11 +2,12 @@ import xbmc, xbmcgui, xbmcplugin, urllib2, urllib, re, 
string, sys, os, tracebac
 
 __plugin__ =  'EEVblog'
 __author__ = 'Clumsy <[email protected]>'
-__date__ = '01-05-2012'
-__version__ = '0.2.0'
+__date__ = '20-02-2014'
+__version__ = '0.2.5'
 __settings__ = xbmcaddon.Addon(id='plugin.video.eevblog')
 
 # Thanks to some of the other plugin authors, where I borrowed some ideas from 
!
+EEV_URL='http://www.eevblog.com'
 
 REMOTE_DBG = False
 
@@ -37,7 +38,7 @@ def build_main_directory():
   xbmcplugin.addDirectoryItem(handle = int(sys.argv[1]), url = u, listitem = 
listitem, isFolder = True)
 
 def build_episodes_directory():
-  url = 'http://www.eevblog.com/episodes/'
+  url = EEV_URL + '/episodes/'
   data = open_url(url)
   match = re.compile('<body>(.+?)</body>', re.DOTALL).findall(data)
   youtube_url_name = re.compile(r'<a href.?="(.+?)" title="(EEVblog #.+?)">', 
re.DOTALL + re.IGNORECASE).findall(match[0])
@@ -59,7 +60,7 @@ def play_video(ep_url):
   xbmc.executebuiltin('ActivateWindow(busydialog)')
   try:
  
-    ep_data = open_url(ep_url)
+    ep_data = open_url(EEV_URL + ep_url)
     plot = re.compile('<div class="info">.+?<p>(.+?)</p>.', 
re.DOTALL).findall(ep_data)
     youtube_video_id = re.compile('<param name="movie" 
value=".*?/v/(.+?)[&\?].').findall(ep_data)
     

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

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


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to