The branch, dharma has been updated
via c0d1afbecee92968287a83d4a963f52ac550f3a3 (commit)
from 8cdd794e596a6e8eacb83804f8ddd8acc4ce96de (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=c0d1afbecee92968287a83d4a963f52ac550f3a3
commit c0d1afbecee92968287a83d4a963f52ac550f3a3
Author: amet <[email protected]>
Date: Sat Feb 5 18:34:02 2011 +0400
[plugin.video.eevblog] -v0.1.6
- regex update for episodes >140
diff --git a/plugin.video.eevblog/addon.xml b/plugin.video.eevblog/addon.xml
index c10dbb5..cb9d5ff 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.1.5"
+ version="0.1.6"
provider-name="Clumsy">
<requires>
<import addon="xbmc.python" version="1.0"/>
diff --git a/plugin.video.eevblog/changelog.txt
b/plugin.video.eevblog/changelog.txt
index 19804d1..d492693 100644
--- a/plugin.video.eevblog/changelog.txt
+++ b/plugin.video.eevblog/changelog.txt
@@ -1,3 +1,7 @@
+[B]Version 0.1.6[/B]
+
+- regex update for episodes >140
+
[B]Version 0.1.5[/B]
- new icon thanks to freezy3k
diff --git a/plugin.video.eevblog/default.py b/plugin.video.eevblog/default.py
index 73e61a5..27a23fa 100644
--- a/plugin.video.eevblog/default.py
+++ b/plugin.video.eevblog/default.py
@@ -2,8 +2,8 @@ import xbmc, xbmcgui, xbmcplugin, urllib2, urllib, re, string,
sys, os, tracebac
__plugin__ = 'EEVblog'
__author__ = 'Clumsy <[email protected]>'
-__date__ = '08-27-2010'
-__version__ = '0.1.5'
+__date__ = '02-05-2010'
+__version__ = '0.1.6'
__settings__ = xbmcaddon.Addon(id='plugin.video.eevblog')
# Thanks to some of the other plugin authors, where I borrowed some ideas from
!
@@ -62,6 +62,10 @@ def play_video(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)
+ # Ugly hack for a change in the page src from videos 140 onwards.
+ if not youtube_video_id or youtube_video_id[0].find("youtube") == -1:
+ youtube_video_id =
re.compile('src="http://www.youtube.com/embed/(.*?)"').findall(ep_data)
+
quality = int(__settings__.getSetting('quality'))
if quality == 0:
quality=22 # 720
-----------------------------------------------------------------------
Summary of changes:
plugin.video.eevblog/addon.xml | 2 +-
plugin.video.eevblog/changelog.txt | 4 ++++
plugin.video.eevblog/default.py | 8 ++++++--
3 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons