• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
[REQUEST] 2012 London Olympics
#76
OK - this is HORRIBLE. I have now discovered that XBMC uses Python 2.6, so I've loaded that, and installed the PyCurl packages.

I also installed the win32file package because predakanga is using that for the Windows pipe.

I can now start the stream, but on a site that isn't currently showing any video, the script gets stuck:

11:28:59 T:9832 NOTICE: URL: http://bbcfmhds.vo.llnwd.net/hds-live/li..._01_60.f4m
11:29:00 T:6192 NOTICE: Started download thread
11:29:00 T:9832 NOTICE: Waiting for data to be written
11:29:01 T:9832 NOTICE: Waiting for data to be written
11:29:02 T:9772 NOTICE: No more data available - waiting a bit.
11:29:02 T:9832 NOTICE: Waiting for data to be written
11:29:02 T:9772 NOTICE: No more data available - waiting a bit.
11:29:03 T:9832 NOTICE: Waiting for data to be written
11:29:03 T:9772 NOTICE: No more data available - waiting a bit.
11:29:04 T:9772 NOTICE: No more data available - waiting a bit.
11:29:04 T:9832 NOTICE: Waiting for data to be written
11:29:04 T:9772 NOTICE: No more data available - waiting a bit.
11:29:05 T:9832 NOTICE: Waiting for data to be written
11:29:05 T:9772 NOTICE: No more data available - waiting a bit.
11:29:06 T:9772 NOTICE: No more data available - waiting a bit.
11:29:06 T:9832 NOTICE: Waiting for data to be written
11:29:06 T:9772 NOTICE: No more data available - waiting a bit.
11:29:07 T:9832 NOTICE: Waiting for data to be written
11:29:07 T:9772 NOTICE: No more data available - waiting a bit.
11:29:08 T:9832 NOTICE: Waiting for data to be written

The only way out of this is to kill XBMC....

HELP !
Slight success now... I've commented out the part that waits for this data, and the stream starts downloading, but DVDPlayer is throwing an error:
11:37:17 T:3132 NOTICE: Started download thread
11:37:17 T:6940 NOTICE: Waiting for data to be written
11:37:18 T:6940 NOTICE: Waiting for data to be written
11:37:19 T:6940 NOTICE: Waiting for data to be written
11:37:19 T:3132 NOTICE: Decoding fragment 932501 of 932502
11:37:19 T:3132 NOTICE: \\.\pipe\bbcsports.flv
11:37:20 T:3132 NOTICE: Decoding fragment 932502 of 932502
11:37:20 T:3132 NOTICE: Decoding fragment 932503 of 932502
11:37:20 T:3132 NOTICE: Decoding fragment 932504 of 932502
11:37:20 T:3132 NOTICE: Decoding fragment 932505 of 932502
11:37:20 T:3132 NOTICE: Decoding fragment 932506 of 932502
11:37:20 T:3132 NOTICE: Decoding fragment 932507 of 932502
11:37:21 T:3132 NOTICE: Decoding fragment 932508 of 932502
11:37:21 T:3132 NOTICE: Decoding fragment 932509 of 932502
11:37:21 T:3132 NOTICE: Decoding fragment 932510 of 932502
11:37:21 T:6940 NOTICE: Now im playing... \\.\pipe\bbcsports.flv
11:37:21 T:10160 NOTICE: DVDPlayer: Opening: \\.\pipe\bbcsports.flv
11:37:21 T:10160 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:37:21 T:3132 NOTICE: Decoding fragment 932511 of 932502
11:37:21 T:9012 NOTICE: Creating InputStream
11:37:21 T:9012 ERROR: CDVDPlayer::OpenInputStream - error opening [\\.\pipe\bbcsports.flv]
Reply
#77
is pyCurl absolutely needed?

Can't one do persistent connections with httplib by reusing the HTTPConnection Object?
Reply
#78
OK - this just isn't working properly.

When I use predakanga's version it is pulling down the wrong bootstrap information. It looks like DVDPlayer doesn't recoginse named pipes either.

My version 0.0.2 http://code.google.com/p/bbcsports-addon...ip&can=2&q= is working fine for me on Windows and Linux.
Reply
#79
BlueCop: I tried your Akamai SecureHD Streaming Proxy on the olympic streams but cant get it working.
Perhaps you know whats going on...
Reply
#80
predakanga - Named Pipes with MPLayer are not supported:

http://www.mplayerhq.hu/DOCS/HTML/en/streaming.html


Reply
#81
@AddonScriptorDE:
I'm able to watch the olympic streams with a slightly modified version of your addon code and
with the proxy script providey by BlueCop.

If you still have problems getting it running, then have a look at my modified version at http://pastebin.com/AEPFYh5z

I just modified your playVideo() method to get the urls encoded and rewritten for the proxy.

Thanks to you guys, great work!!!!
Reply
#82
Commander9000: excellent!

I would make one change to set the mime type on the list item to prevent XBMC from hitting the proxy twice.

listitem.setProperty('mimetype', 'video/x-flv')
Reply
#83
(2012-07-31, 22:13)Commander9000 Wrote: @AddonScriptorDE:
I'm able to watch the olympic streams with a slightly modified version of your addon code and
with the proxy script providey by BlueCop.

If you still have problems getting it running, then have a look at my modified version at http://pastebin.com/AEPFYh5z

I just modified your playVideo() method to get the urls encoded and rewritten for the proxy.

Thanks to you guys, great work!!!!
Mhh, strange Huh
I tried the same, but couldnt get it working. It hangs on starting the playback...
Just getting thousands of "CEdl::ReadEdl" errors!

You're also running the rtmp streams through the proxy. Should only be applied to the akamaihd http urls...

Thanks for reporting your success!!!
Good to know its running - Except for me Sad

Edit: It was an issue under Eden - BlueCop has already fixed this...
Reply
#84
Whoops, sorry about the indent issues all, fixed a last minute issue before I committed in a plain text editor, it must have mixed my tab settings up.

dlake02: Damn, that's a shame about the named pipes not being supported... I'm installing XBMC in a windows VM at the minute to do some testing and see if there's any workaround. I'm curious though, what do you mean about it pulling down the wrong bootstrap information? If it's just that the bootstrap is only saying that x fragments are available, while the script is downloading fragments far ahead of that, that's fine - seems that the BBC are quite slow in updating their bootstrap; so long as the fragments are available, that's the important part.

Also, I suspect that the reason pycurl isn't working with your distributed version is because it relies on libcurl, which can sometimes have issues with mixing calling conventions. I've got a rewritten version using httplib2 instead, but I'm waiting to test on Windows before I upload it, will update in a few hours.

BlueCop: Nope, pycurl was just the closest thing to hand, heh
Reply
#85
predakanga - the issue that I got to was that the plugin was constantly waiting for new downloads. I had to take the entire section "if len....< 1000" out to get it to work at all.

I've made a few changes to the addon:

1) I'm now using httplib2 - this is much quicker than the old urllib, and means that I can get rid of the Navigator.py library.

2) I'm scraping the http://open.bbci.co.uk/olympicdata/publi...s/switcher page to get real-time information on the streams. So, I only populate the streams that are actually active, and I also include detail of what's on plus an icon for the sport.

predakanga - if you do find a way around the named pipe issue, I'll add to my code.
Reply
#86
BlueCop got the live feeds working, thanks! I included his Akamai Streaming Proxy, so this version should work out of the box.
12 Livefeeds + 1 Newsfeed, 47 LiveTV Channels, Live HD Events and all past events on demand.

The content is available in these countries! When your region is blocked you see an empty list.

Have fun watching the Olympics 2012 Smile
Download v0.0.4
Reply
#87
At last - one which works! Thanks!
Reply
#88
nothing for usa yetHuh
Nvidia Shield with Kodi 18
Reply
#89
rflores2323: I wanted to look at the website more but I don't have access to the NBC streams anymore. no cnbc or msnbc on my cable. I tried my internet log-in and it actually let me in the first time. It complained about the not subbing channels the second. I haven't been able to investigate further.

I am glad that AddonScriptorDE could use the proxy. I was originally working on it to add more stations to free cable. Thanks to KSV for the help again.
Reply
#90
predakanga - I've just discovered that VLC DOES support named pipes, so I modified my code to use VLC as an external player and then your named pipes config.

Now, there is something wrong with the named pipes implementation - the named pipe is created, but the "open" command in WriteFlvFile errors.

Do you have a working named-pipes solution on Windows ?

Thanks

D
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8

Logout Mark Read Team Forum Stats Members Help
[REQUEST] 2012 London Olympics 0