From df656f1563f88101fbc8fb62c69b715262e79c8f Mon Sep 17 00:00:00 2001 From: enen92 <92enen@gmail.com> Date: Wed, 27 Dec 2017 14:24:27 +0000 Subject: [plugin.video.rtpplay] 3.0.1 --- plugin.video.rtpplay/addon.xml | 4 ++-- plugin.video.rtpplay/changelog.txt | 3 +++ plugin.video.rtpplay/resources/lib/plugin.py | 2 +- 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 @@ - + @@ -18,7 +18,7 @@ http://rtp.pt/play enen92@kodi.tv https://github.com/enen92/plugin.video.rtpplay - Plugin updated with only live streams + Regex The plugin is unnoficial and not endorsed by RTP. Expect it to break. icon.png 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('.+?.+?(.+?)').findall(req) + match=re.compile('.+?(.+?)').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))) -- cgit v1.2.3