[RELEASE] Democracy Now! (Video&Audio) Plugin
#1
Democracy Now!

How to download my plugins!

Image
Reply
#2
I have not been able to get XBMC to natively play DN! live stream on Linux. It is not pretty, but I did get the below XBMC script (hack) to do the trick.

Elliot
--------------
import xbmc, xbmcgui, os

# 1. use wget with DN! URL
# http://play.rbn.com/?url=demnow/demnow/l...proto=rtsp
#
# 2. use output into mplayer
# mplayer $(wget 'http://play.rbn.com/?url=demnow/demnow/live/live.rm&proto=rtsp' -O - 2>/dev/null)

DN_WGET_URL= 'http://play.rbn.com/?url=demnow/demnow/live/live.rm&proto=rtsp'
DN_MPLAY= "/usr/bin/mplayer -fs -framedrop $(wget " + "\"" + DN_WGET_URL + "\" -O - 2>/dev/null)"

os.system(DN_MPLAY)
Reply
#3
Is this still around? I cant see it in the list on SVN Repo. would be fantastic to have alternative news available in the lounge!
Reply
#4
Thanks for the Repo!
XBMC Eden 12.3 (Dec 24, 2014) on ATV2 JB 5.3 and Nexus 7. One-for-All IR/RF/x10 Remote URC-9911.
Reply
#5
Code:
version 1.0.3:
changed : Now just todays news. Headlines, Features and Full Show.

PS: Maybe I add older news later. I am not sure to do it right now.
Reply
#6
On OS X, 10.6.8, I'm getting this with the Democracy Now plugin:

Code:
20:08:22 T:2954383360   DEBUG: Process - Entering source directory /Users/home/Library/Application Support/XBMC/addons/plugin.video.democracynow
20:08:22 T:2954383360   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.democracynow" dependent on version 1.0 of the xbmc.python api
20:08:23 T:2694001984   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:08:23 T:2694001984   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
20:08:23 T:2954383360    INFO: -->Python script returned the following error<--
20:08:23 T:2954383360   ERROR: Error Type: <type 'exceptions.IndexError'>
20:08:23 T:2954383360   ERROR: Error Contents: list index out of range
20:08:23 T:2954383360   ERROR: Traceback (most recent call last):
                                              File "/Users/home/Library/Application Support/XBMC/addons/plugin.video.democracynow/addon.py", line 60, in <module>
                                                Main()
                                              File "/Users/home/Library/Application Support/XBMC/addons/plugin.video.democracynow/addon.py", line 24, in Main
                                                thumb = entry('img', 'video_poster')[0]['src']
                                            IndexError: list index out of range
20:08:23 T:2954383360    INFO: -->End of Python script error report<--
20:08:23 T:2954383360    INFO: Python script stopped


Thanks for this, and the classical TV plugin (the latter of which is working great BTW).
Reply
#7
News back online Smile
Code:
version 1.0.4:
fix: thumb issue
Reply
#8
Thanks very much. I will give it a try when I get home.

Edit:

Decided to try it at work, and it is working great. I especially like the sub-topic menu items. Often I don't have time to watch the whole thing, and have to settle for the most egregious of the bad news.
Reply
#9
Hi,

I'm still getting the same crash reported earlier from version 1.0.4 running on Linux.

Thanks.
Fernando.
Reply
#10
Code:
v1.0.5
fix: url issue
Reply
#11
It works flawlessly on Apple TV2, FWIW.

Again, thanks!
Reply
#12
Is there any way of changing the stream it uses? The video stream is terrible quality...
Reply
#13
I will check but I don't think so.
Reply
#14
Thanks. Please let me know. Looking at the source - https://github.com/queeup/plugin.video.d...don.py#L19 - i'm thinking it's probably because you're using the mobile site to scrape, so therefore it's just providing low-quality streams.

Big difference between a 3" mobile phone screen and a 52" TV Wink
Reply
#15
(2013-10-19, 11:17)ventolin Wrote: Is there any way of changing the stream it uses? The video stream is terrible quality...

Livesteam is better quality
http://www.livestream.com/democracynow

also the main website
http://www.democracynow.org/

I have made a quick add-on that uses the better quality video.
http://celadoor.github.io/plugin.video.democracynow.zip
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Democracy Now! (Video&Audio) Plugin0