The branch, frodo has been updated
       via  43d79ad12494ef9c1c7f4f9d0bad7479e8c37c42 (commit)
      from  62fd13b4aaa2bfaf87fb3e5437a6558437af12e9 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=43d79ad12494ef9c1c7f4f9d0bad7479e8c37c42

commit 43d79ad12494ef9c1c7f4f9d0bad7479e8c37c42
Author: sphere <[email protected]>
Date:   Thu Feb 13 23:09:05 2014 +0100

    [plugin.video.rt] updated to version 1.9.2

diff --git a/plugin.video.rt/README.txt b/plugin.video.rt/README.txt
index 57ce395..cfa0695 100644
--- a/plugin.video.rt/README.txt
+++ b/plugin.video.rt/README.txt
@@ -25,3 +25,5 @@ version 1.8.4 minor change to addon.xml
 version 1.9.0 minor change to fix icons images
 
 version 1.9.1 added xml header to settings.xml and changed language sub-dir to 
"English"
+
+version 1.9.2 updated live stream urls, added auto speed
diff --git a/plugin.video.rt/addon.xml b/plugin.video.rt/addon.xml
index fee2444..3f9c3d0 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.9.1"
+       version="1.9.2"
        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 a26c381..ec93d87 100644
--- a/plugin.video.rt/changelog.txt
+++ b/plugin.video.rt/changelog.txt
@@ -17,3 +17,5 @@ version 1.8.4 minor change to addon.xml
 version 1.9.0 minor change to fix icons images
 
 version 1.9.1 added xml header to settings.xml and changed language sub-dir to 
"English"
+
+version 1.9.2 updated live stream urls, added auto speed
\ No newline at end of file
diff --git a/plugin.video.rt/default.py b/plugin.video.rt/default.py
index f4f3e85..28abbfd 100644
--- a/plugin.video.rt/default.py
+++ b/plugin.video.rt/default.py
@@ -11,7 +11,7 @@ USER_AGENT = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; 
rv:1.9.0.3) Gecko/
 GENRE_NEWS      = "News"
 UTF8          = 'utf-8'
 RTBASE_URL    = 'http://rt.com'
-RTLIVE_BASE   = 'rtmp://rt.fms-04.visionip.tv/live/'
+RTLIVE_BASE   = 'http://odna.octoshape.net/f3f5m2v4/cds/'
 
 addon         = xbmcaddon.Addon('plugin.video.rt')
 __addonname__ = addon.getAddonInfo('name')
@@ -214,22 +214,23 @@ elif mode==13:
 
 if (mode==17) or (auto_play == True):
 
-              res_sel = ["HD","SD","SDh","SDq"]
-              res_names = ["720p","360p","240p","180p"]
+              res_names = ["Auto","720p","480p","320p","240p"]
               i = int(addon.getSetting('rt_res'))
-              res = res_sel[i]
+              res = res_names[i]
+              if res == "Auto":
+                res = "auto.smil"
               res_str = res_names[i]
 
               if (auto_play != True):
-                addLink(RTLIVE_BASE+"rt-global-live-"+str(res),"RT Global Live 
"+str(res_str),icon,fanart,"RT Global Live "+str(res_str),GENRE_NEWS,"",False)
-                addLink(RTLIVE_BASE+"rt-america-live-"+str(res),"RT America 
Live "+str(res_str),icon,fanart,"RT America Live 
"+str(res_str),GENRE_NEWS,"",False)
-                addLink(RTLIVE_BASE+"rt-doc-live-"+str(res),"RT Documentary 
Live "+str(res_str),icon,fanart,"RT Documentary Live 
"+str(res_str),GENRE_NEWS,"",False)
-                addLink(RTLIVE_BASE+"rt-enespanol-live-"+str(res),"RT Espanol 
Live "+str(res_str),icon,fanart,"RT Espanol Live 
"+str(res_str),GENRE_NEWS,"",False)
-                addLink(RTLIVE_BASE+"rt-rusiyaalyaum-live-"+str(res),"RT 
Arabic Live "+str(res_str),icon,fanart,"RT Arabic Live 
"+str(res_str),GENRE_NEWS,"",False)
+                addLink(RTLIVE_BASE+"ch1_"+str(res)+"/playlist.m3u8","RT 
Global Live "+str(res_str),icon,fanart,"RT Global Live 
"+str(res_str),GENRE_NEWS,"",False)
+                addLink(RTLIVE_BASE+"ch4_"+str(res)+"/playlist.m3u8","RT 
America Live "+str(res_str),icon,fanart,"RT America Live 
"+str(res_str),GENRE_NEWS,"",False)
+                addLink(RTLIVE_BASE+"ch5_"+str(res)+"/playlist.m3u8","RT 
Documentary Live "+str(res_str),icon,fanart,"RT Documentary Live 
"+str(res_str),GENRE_NEWS,"",False)
+                addLink(RTLIVE_BASE+"ch2_"+str(res)+"/playlist.m3u8","RT 
Espanol Live "+str(res_str),icon,fanart,"RT Espanol Live 
"+str(res_str),GENRE_NEWS,"",False)
+                addLink(RTLIVE_BASE+"ch3_"+str(res)+"/playlist.m3u8","RT 
Arabic Live "+str(res_str),icon,fanart,"RT Arabic Live 
"+str(res_str),GENRE_NEWS,"",False)
 
               else:
                 if mode != 17:
-                  addLink(RTLIVE_BASE+"rt-global-live-"+str(res),"RT Global 
Live "+str(res_str),icon,fanart,"RT Global Live 
"+str(res_str),GENRE_NEWS,"",False, autoplay=True)
+                  addLink(RTLIVE_BASE+"ch1_"+str(res_str)+"/playlist.m3u8","RT 
Global Live "+str(res_str),icon,fanart,"RT Global Live 
"+str(res_str),GENRE_NEWS,"",False, autoplay=True)
                   xbmc.executebuiltin('playlist.playoffset(video,0)')
 
 elif mode==18:
diff --git a/plugin.video.rt/resources/settings.xml 
b/plugin.video.rt/resources/settings.xml
index 8aba97f..b089f75 100644
--- a/plugin.video.rt/resources/settings.xml
+++ b/plugin.video.rt/resources/settings.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <settings>
   <category label="Settings">
-    <setting id="rt_res" type="enum" label="Live Stream Quality" 
values="720p|360p|240p|180p" default="0" />
+    <setting id="rt_res" type="enum" label="Live Stream Quality" 
values="Auto|720p|480p|320p|240p" default="0" />
     <setting id="auto_play" type="bool" label="Auto Play RT Live" 
default="false" />
   </category>
 </settings>
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 plugin.video.rt/README.txt             |    2 ++
 plugin.video.rt/addon.xml              |    2 +-
 plugin.video.rt/changelog.txt          |    2 ++
 plugin.video.rt/default.py             |   21 +++++++++++----------
 plugin.video.rt/resources/settings.xml |    2 +-
 5 files changed, 17 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to