The branch, dharma has been updated
via 314d7944ddd49b5eeaf80f1ff537192b79e60db4 (commit)
from 501e5c6fb6547ec772d3daed6a9dd88c406dcf9b (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=314d7944ddd49b5eeaf80f1ff537192b79e60db4
commit 314d7944ddd49b5eeaf80f1ff537192b79e60db4
Author: beenje <[email protected]>
Date: Tue Feb 15 21:57:48 2011 +0100
[plugin.video.arretsurimages] updated to version 1.0.3
diff --git a/plugin.video.arretsurimages/addon.xml
b/plugin.video.arretsurimages/addon.xml
index d1aa2d9..068c0e5 100644
--- a/plugin.video.arretsurimages/addon.xml
+++ b/plugin.video.arretsurimages/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.arretsurimages"
name="Arrêt Sur Images"
- version="1.0.2"
+ version="1.0.3"
provider-name="Beenje">
<requires>
<import addon="xbmc.python" version="1.0"/>
diff --git a/plugin.video.arretsurimages/changelog.txt
b/plugin.video.arretsurimages/changelog.txt
index 9aa521a..0d0382b 100644
--- a/plugin.video.arretsurimages/changelog.txt
+++ b/plugin.video.arretsurimages/changelog.txt
@@ -1,3 +1,7 @@
+[B]Version 1.0.3[/B]
+
+- Fix crash on atv2 due to cookie handling
+
[B]Version 1.0.2[/B]
- Use notification instead of dialog when downloading video
diff --git a/plugin.video.arretsurimages/resources/lib/util.py
b/plugin.video.arretsurimages/resources/lib/util.py
index 0ae04c7..c5f601f 100644
--- a/plugin.video.arretsurimages/resources/lib/util.py
+++ b/plugin.video.arretsurimages/resources/lib/util.py
@@ -3,11 +3,12 @@ import cookielib
import os.path
import re
import sys
+import xbmc
pluginName = sys.modules['__main__'].__plugin__
-def getHTML(url, cookiefile = 'special://temp/asi-cookies.lwp', headers =
[('User-Agent', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; fr-fr)
AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7')]):
+def getHTML(url, cookiefile =
xbmc.translatePath('special://temp/asi-cookies.lwp'), headers = [('User-Agent',
'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; fr-fr) AppleWebKit/531.22.7
(KHTML, like Gecko) Version/4.0.5 Safari/531.22.7')]):
"""Return HTML from a given URL"""
try:
print '[%s] %s attempting to open %s with data' % (pluginName,
__name__, url.get_full_url())
-----------------------------------------------------------------------
Summary of changes:
plugin.video.arretsurimages/addon.xml | 2 +-
plugin.video.arretsurimages/changelog.txt | 4 ++++
plugin.video.arretsurimages/resources/lib/util.py | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons