The branch, frodo has been updated
via 1fcf3ca8472475efd0976482a8fdde06f4af166b (commit)
from 003eb37f07845c55e0a5c0dc42e64cf82eff8749 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=1fcf3ca8472475efd0976482a8fdde06f4af166b
commit 1fcf3ca8472475efd0976482a8fdde06f4af166b
Author: sphere <[email protected]>
Date: Wed Feb 19 23:39:21 2014 +0100
[plugin.video.peoplesvoice] updated to version 0.1.5
diff --git a/plugin.video.peoplesvoice/addon.xml
b/plugin.video.peoplesvoice/addon.xml
index 38baf3e..25969b6 100644
--- a/plugin.video.peoplesvoice/addon.xml
+++ b/plugin.video.peoplesvoice/addon.xml
@@ -3,7 +3,7 @@
id="plugin.video.peoplesvoice"
name="The People's Voice"
provider-name="celadoor"
- version="0.1.3">
+ version="0.1.5">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.common.plugin.cache" version="1.5.1" />
diff --git a/plugin.video.peoplesvoice/changelog.txt
b/plugin.video.peoplesvoice/changelog.txt
index 17d679c..27138bc 100644
--- a/plugin.video.peoplesvoice/changelog.txt
+++ b/plugin.video.peoplesvoice/changelog.txt
@@ -1,4 +1,6 @@
Plays the People's Voice live video stream. created by celadoor.
+Version 0.1.5 -Fixed video quality options and made error checking go to
xbmc.log()
+
Version 0.1.3 -Fixed urls added error checking
Version 0.1.1 -Added instant live link to reduce chance of total addon
breakage, added show listing.
diff --git a/plugin.video.peoplesvoice/default.py
b/plugin.video.peoplesvoice/default.py
index def0aea..3e04808 100644
--- a/plugin.video.peoplesvoice/default.py
+++ b/plugin.video.peoplesvoice/default.py
@@ -9,7 +9,7 @@ __language__ = addon.getLocalizedString
def CATEGORIES():
-
addDir(__language__(30010),'http://www.thepeoplesvoice.tv/watch-now/',1,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
+
addDir(__language__(30010),'http://www.thepeoplesvoice.tv/watchnow/',1,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
addDir(__language__(30016),'http://www.thepeoplesvoice.tv/whatson/',3,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
addDir(__language__(30017),'http://www.thepeoplesvoice.tv/show/',4,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
addLink(__language__(30010)+__language__(30018),'http://cdn.rbm.tv:1935/rightbrainmedia-live-106/_definst_/ddstream_1/playlist.m3u8','http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013)+__language__(30012))
@@ -22,11 +22,12 @@ def INDEX(url):
link=response.read()
response.close()
#Scrape video source
- match=re.compile('href="(.+?)" target="TPV">(.+?)</a>').findall(link)
+ match=re.compile('href="(.+?)"><span style="color: #ffffff;"><font
size="3" color="black">(.+?)</span>').findall(link)
if len(match) > 0:
for url,name in match:
addDir(__language__(30010)+name,url,2,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30014)+__language__(30015)+__language__(30012))
else:
+ xbmc.log(__language__(30019), xbmc.LOGERROR )
xbmcgui.Dialog().ok(__language__(30010), __language__(30019))
def INDEX2(url):
@@ -43,6 +44,7 @@ def INDEX2(url):
name = name.replace('"', '"').replace(''',
"'").replace('&', '&').replace('’', "'") # Cleanup the title.
addDir(name,'',0,image,name)
else:
+ xbmc.log(__language__(30020), xbmc.LOGERROR )
xbmcgui.Dialog().ok(__language__(30010), __language__(30020))
@@ -61,6 +63,7 @@ def INDEX3(url):
name = name.replace('"', '"').replace(''',
"'").replace('&', '&').replace('’', "'") # Cleanup the description.
addDir(name,'',0,image,description)
else:
+ xbmc.log(__language__(30019), xbmc.LOGERROR )
xbmcgui.Dialog().ok(__language__(30010), __language__(30019))
diff --git a/plugin.video.peoplesvoice/resources/language/English/strings.xml
b/plugin.video.peoplesvoice/resources/language/English/strings.xml
index 6d55819..ea7350f 100644
--- a/plugin.video.peoplesvoice/resources/language/English/strings.xml
+++ b/plugin.video.peoplesvoice/resources/language/English/strings.xml
@@ -2,13 +2,13 @@
<strings>
<string id="30010">The People's Voice </string>
<string id="30011"> Live</string>
-<string id="30012">Some programmes may include swearing, but only after 9pm UK
time...[CR]</string>
+<string id="30012">[CR]Some programmes may include swearing, but only after
9pm UK time...[CR]</string>
<string id="30013">[B]VIEWER EXPECTATION[/B][CR]The People's Voice has been
established to balance mainstream media bias which refuses to give voice to
people with views at odds with mainstream thinking and belief. You can expect
to hear all aspects of mainstream society questioned and debated. What viewers
choose to accept or believe is for them to decide after hearing the evidence
and opinion broadcast by The People's Voice and the information and opinion
broadcast by mainstream sources.</string>
<string id="30014">Please Donate, and support the video content
provider![CR]</string>
<string
id="30015">[B]http://www.thepeoplesvoice.tv/donate/[/B][CR][CR]</string>
<string id="30016">Today's Schedule[CR][CR]</string>
<string id="30017">The People's Voice Shows</string>
<string id="30018">Direct Video Link</string>
-<string id="30019">Media not found!</string>
-<string id="30020">Schedule not found!</string>
+<string id="30019">Media url not found!</string>
+<string id="30020">Schedule url not found!</string>
</strings>
-----------------------------------------------------------------------
Summary of changes:
plugin.video.peoplesvoice/addon.xml | 2 +-
plugin.video.peoplesvoice/changelog.txt | 2 ++
plugin.video.peoplesvoice/default.py | 7 +++++--
.../resources/language/English/strings.xml | 6 +++---
4 files changed, 11 insertions(+), 6 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons