The branch, frodo has been updated
via 9fcf2c0465e346ead6169a8b49ba97398eb3ef22 (commit)
from d2db6734ab86583894fd2d61dcd4a95b8e08e828 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=9fcf2c0465e346ead6169a8b49ba97398eb3ef22
commit 9fcf2c0465e346ead6169a8b49ba97398eb3ef22
Author: Martijn Kaijser <[email protected]>
Date: Wed Oct 16 15:48:15 2013 +0200
[plugin.video.rt] 1.8.0
diff --git a/plugin.video.rt/README.txt b/plugin.video.rt/README.txt
index 4056412..5bc4c98 100644
--- a/plugin.video.rt/README.txt
+++ b/plugin.video.rt/README.txt
@@ -14,4 +14,6 @@ version 1.2.0 added content-encoding == gzip support
version 1.5.0 added support for Kaltura videoes (Larry King Live & Politicking)
-version 1.7.1 added program icons and multiple pages
\ No newline at end of file
+version 1.7.1 added program icons and multiple pages
+
+version 1.8.0 added rt live global, america, documentary, espanol, arabic
\ No newline at end of file
diff --git a/plugin.video.rt/addon.xml b/plugin.video.rt/addon.xml
index e3e7926..2955155 100644
--- a/plugin.video.rt/addon.xml
+++ b/plugin.video.rt/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.rt"
name="Russia Today News"
- version="1.7.1"
+ version="1.8.0"
provider-name="t1m">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
diff --git a/plugin.video.rt/changelog.txt b/plugin.video.rt/changelog.txt
index fbaa23a..94cccb6 100644
--- a/plugin.video.rt/changelog.txt
+++ b/plugin.video.rt/changelog.txt
@@ -6,4 +6,6 @@ version 1.2.0 added content-encoding == gzip support
version 1.5.0 added support for Kaltura videoes (Larry King Live & Politicking)
-version 1.7.1 issue with addons.xml
\ No newline at end of file
+version 1.7.1 issue with addons.xml
+
+version 1.8.0 added rt live global, america, documentary, espanol, arabic
\ No newline at end of file
diff --git a/plugin.video.rt/default.py b/plugin.video.rt/default.py
index 1afcf7c..1aa760e 100644
--- a/plugin.video.rt/default.py
+++ b/plugin.video.rt/default.py
@@ -104,9 +104,9 @@ def getRequest(url):
def getSources():
log("RT -- RT Live main page")
link1 = getRequest("http://rt.com/shows/")
-
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-global-live-HD","Live",icon,fanart,"Live
HD Stream","News","",False)
- link=str(link1).replace('\n','')
+ addDir("RT Live","plugin://plugin.video.rt/",17,icon,fanart,"RT
Live","News","",False)
+ link=str(link1).replace('\n','')
match=re.compile('<p class="shows-gallery_bottom_link"><a
href="(.+?)".+?<img
src="(.+?)".+?class="shows-gallery_bottom_text_header">(.+?)</span>(.+?)</p>').findall(str(link))
for caturl,caticon,cattitle,catdesc in match:
@@ -216,7 +216,18 @@ elif mode==13:
log("RT -- play_playlist")
play_playlist(name, playlist)
-
+elif mode==17:
+ res_sel = ["HD","SD","SDh","SDq"]
+ res_names = ["720p","360p","240p","180p"]
+ i = int(addon.getSetting('rt_res'))
+ res = res_sel[i]
+ res_str = res_names[i]
+
+
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-global-live-"+str(res),"RT Global
Live "+str(res_str),icon,fanart,"RT Global Live "+str(res_str),"News","",False)
+
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-america-live-"+str(res),"RT
America Live "+str(res_str),icon,fanart,"RT America Live
"+str(res_str),"News","",False)
+
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-doc-live-"+str(res),"RT
Documentary Live "+str(res_str),icon,fanart,"RT Documentary Live
"+str(res_str),"News","",False)
+
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-enespanol-live-"+str(res),"RT
Espanol Live "+str(res_str),icon,fanart,"RT Espanol Live
"+str(res_str),"News","",False)
+
addLink("rtmp://rt.fms-04.visionip.tv/live/rt-rusiyaalyaum-live-"+str(res),"RT
Arabic Live "+str(res_str),icon,fanart,"RT Arabic Live
"+str(res_str),"News","",False)
elif mode==18:
log("RT -- Processing RT sub category item")
diff --git a/plugin.video.rt/resources/settings.xml
b/plugin.video.rt/resources/settings.xml
index 3ded40e..bfbbd99 100644
--- a/plugin.video.rt/resources/settings.xml
+++ b/plugin.video.rt/resources/settings.xml
@@ -1,2 +1,5 @@
<settings>
+ <category label="Settings">
+ <setting id="rt_res" type="enum" label="Live Stream Quality"
values="720p|360p|240p|180p" default="0" />
+ </category>
</settings>
\ No newline at end of file
-----------------------------------------------------------------------
Summary of changes:
plugin.video.rt/README.txt | 4 +++-
plugin.video.rt/addon.xml | 2 +-
plugin.video.rt/changelog.txt | 4 +++-
plugin.video.rt/default.py | 17 ++++++++++++++---
plugin.video.rt/resources/settings.xml | 3 +++
5 files changed, 24 insertions(+), 6 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons