The branch, frodo has been updated
via 93a8bc9f69727f6cb373bcd9d55cf58aa1efbc71 (commit)
from 75b9dc95d1f170801dc55f70178e9c6468e08290 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=93a8bc9f69727f6cb373bcd9d55cf58aa1efbc71
commit 93a8bc9f69727f6cb373bcd9d55cf58aa1efbc71
Author: sphere <[email protected]>
Date: Thu May 22 09:39:33 2014 +0200
[plugin.video.attactv] updated to version 1.1.6
diff --git a/plugin.video.attactv/addon.xml b/plugin.video.attactv/addon.xml
index 56464da..5bd2e8c 100644
--- a/plugin.video.attactv/addon.xml
+++ b/plugin.video.attactv/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<addon id="plugin.video.attactv" name="attac tv" version="1.1.5"
provider-name="Jose Antonio Montes (jamontes)">
+<addon id="plugin.video.attactv" name="attac tv" version="1.1.6"
provider-name="Jose Antonio Montes (jamontes)">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="plugin.video.youtube" version="4.4.1"/>
diff --git a/plugin.video.attactv/changelog.txt
b/plugin.video.attactv/changelog.txt
index 2452e28..6c920ce 100644
--- a/plugin.video.attactv/changelog.txt
+++ b/plugin.video.attactv/changelog.txt
@@ -1,3 +1,5 @@
+1.1.6 (2014.05.21)
+- Modified pattern for embedded Dailymotion and KontextTV videos.
1.1.5 (2014.02.05)
- Modified pattern for embedded Vimeo videos.
- Added website tag.
diff --git a/plugin.video.attactv/default.py b/plugin.video.attactv/default.py
index 6dd40ac..7ca8785 100644
--- a/plugin.video.attactv/default.py
+++ b/plugin.video.attactv/default.py
@@ -277,24 +277,27 @@ def get_playable_bliptv_url(html):
# This function try to get a KontextTV playable URL from the weblink and
returns it ready to play it directly.
def get_playable_kontexttv_url(html):
- pattern_kontexttv = '(http://www.kontext-tv.de/sites/default/files/.*?flv)'
+ pattern_kontexttv =
'[htp:]*?(//www.kontext-tv.de/sites/default/files/.*?flv)'
video_url = lutil.find_first(html, pattern_kontexttv)
if video_url:
- lutil.log("attactv.play: We have found this KontextTV video: %s and
let's going to play it!" % video_url)
- return video_url
+ lutil.log("attactv.play: We have found this KontextTV video: http:%s
and let's going to play it!" % video_url)
+ # This is a hack to fix the lack of the "http:" sometimes into the
video URL on the HTML code.
+ return "http:" + video_url
return ""
# This function try to get a Dailymotion playable URL from the weblink and
returns it reay to play it directly.
def get_playable_dailymotion_url(html):
- pattern_dailymotion = '
src="(http://www.dailymotion.com/embed/video/[^"]*?)"'
+ pattern_dailymotion = '
src="[htp:]*?(//www.dailymotion.com/embed/video/[^"]*?)"'
#pattern_daily_video = '"hqURL":"(.+?)"'
pattern_daily_video = '"stream_h264_hq_url":"(.+?)"'
daily_url = lutil.find_first(html, pattern_dailymotion)
if daily_url:
+ # This is a hack to fix the lack of the "http:" sometimes into the
video URL on the HTML code.
+ daily_url = "http:" + daily_url
lutil.log("attactv.play: We have found a Dailymotion video with URL:
'%s'" % daily_url)
buffer_link = lutil.carga_web(daily_url)
video_url = lutil.find_first(buffer_link, pattern_daily_video)
-----------------------------------------------------------------------
Summary of changes:
plugin.video.attactv/addon.xml | 2 +-
plugin.video.attactv/changelog.txt | 2 ++
plugin.video.attactv/default.py | 11 +++++++----
3 files changed, 10 insertions(+), 5 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons