summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2017-12-27 14:24:27 +0000
committerMartijn Kaijser <martijn@xbmc.org>2017-12-27 14:27:34 +0000
commitdf656f1563f88101fbc8fb62c69b715262e79c8f (patch)
treea1d46c69d9326e7250262fa967014900d9b4663a
parent9d88f12d74edf3da003e54f8be33c06720c281f5 (diff)
[plugin.video.rtpplay] 3.0.1
-rw-r--r--plugin.video.rtpplay/addon.xml4
-rw-r--r--plugin.video.rtpplay/changelog.txt3
-rw-r--r--plugin.video.rtpplay/resources/lib/plugin.py2
3 files changed, 6 insertions, 3 deletions
diff --git a/plugin.video.rtpplay/addon.xml b/plugin.video.rtpplay/addon.xml
index 58deead..2f75318 100644
--- a/plugin.video.rtpplay/addon.xml
+++ b/plugin.video.rtpplay/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.rtpplay" name="RTP Play" version="3.0.0" provider-name="enen92">
+<addon id="plugin.video.rtpplay" name="RTP Play" version="3.0.1" provider-name="enen92">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.routing" version="0.2.0"/>
@@ -18,7 +18,7 @@
<website>http://rtp.pt/play</website>
<email>enen92@kodi.tv</email>
<source>https://github.com/enen92/plugin.video.rtpplay</source>
- <news>Plugin updated with only live streams</news>
+ <news>Regex</news>
<disclaimer>The plugin is unnoficial and not endorsed by RTP. Expect it to break. </disclaimer>
<assets>
<icon>icon.png</icon>
diff --git a/plugin.video.rtpplay/changelog.txt b/plugin.video.rtpplay/changelog.txt
index 5ad8ae4..8f8e323 100644
--- a/plugin.video.rtpplay/changelog.txt
+++ b/plugin.video.rtpplay/changelog.txt
@@ -1,3 +1,6 @@
+Version 3.0.1 (27/12/2017)
+-Regex
+
Version 3.0.0 (23/12/2017)
-Moved to krypton
-Keep only livestreams for now
diff --git a/plugin.video.rtpplay/resources/lib/plugin.py b/plugin.video.rtpplay/resources/lib/plugin.py
index 9ba05fe..deecfb3 100644
--- a/plugin.video.rtpplay/resources/lib/plugin.py
+++ b/plugin.video.rtpplay/resources/lib/plugin.py
@@ -36,7 +36,7 @@ def index():
kodiutils.ok(kodiutils.get_string(32000),kodiutils.get_string(32001))
exit(0)
- match=re.compile('<a title=".+?direto (.+?)" href="(.+?)" class="mask-live "><img alt=".+?" src="(.+?)" class="img-responsive">.+?<span class="small"><b>(.+?)</b>').findall(req)
+ match=re.compile('<a title=".+?direto (.+?)" href="(.+?)".+?img.+?src="(.+?)" class="img-responsive">.+?<span class="small"><b>(.+?)</b>').findall(req)
if match:
for channel,rel_url, img, prog in match:
liz = ListItem("[B][COLOR blue]{}[/B][/COLOR] ({})".format(kodiutils.smart_str(channel), kodiutils.smart_str(prog)))