[REQUEST] 2012 London Olympics

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
qurben Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #91
AddonScriptorDE: Awesome, it works very well. I do get some errors complaining that the proxy can not connect because the ports are busy, you should add some code to check whether the proxy is already running.
find quote
AddonScriptorDE Offline
Fan
Posts: 310
Joined: May 2012
Reputation: 14
Location: Germany
Post: #92
(2012-08-01 22:12)qurben Wrote:  AddonScriptorDE: Awesome, it works very well. I do get some errors complaining that the proxy can not connect because the ports are busy, you should add some code to check whether the proxy is already running.
My fault... I checked for the proxy with:
Code:
try:
  getUrl("http://127.0.0.1:64653/version")
  proxyIsRunning=True
except:
  proxyIsRunning=False
but I did this check before defining getUrl(): So proxyIsRunning always was set as "False"...
It's fixed now...
(This post was last modified: 2012-08-01 23:09 by AddonScriptorDE.)
find quote
ursli Offline
Senior Member
Posts: 138
Joined: Nov 2011
Reputation: 3
Post: #93
(2012-08-01 21:43)dlake02 Wrote:  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

Who cares about windows, release it anyway Big Grin Joke aside, if I understood right predakanga's code should work on linux in theory it just got some messed up captions? Are you planning to update your git code predakanga?
find quote
ailingcoot Offline
Senior Member
Posts: 200
Joined: Mar 2012
Reputation: 0
Post: #94
@AddonScriptorDE how to enter the proxy address for your add on??
(2012-08-01 22:12)qurben Wrote:  AddonScriptorDE: Awesome, it works very well. I do get some errors complaining that the proxy can not connect because the ports are busy, you should add some code to check whether the proxy is already running.
I didn't see proxy setting in this add on ?
(This post was last modified: 2012-08-02 16:19 by ailingcoot.)
find quote
ursli Offline
Senior Member
Posts: 138
Joined: Nov 2011
Reputation: 3
Post: #95
The proxy qurben is talking about is actually an internal one to make the Akamai streams work properly. There is no proxy for the enduser in the eurovision addon.
find quote
schumi2004 Offline
Fan
Posts: 642
Joined: Aug 2011
Reputation: 4
Post: #96
Is it also possible with this proxy to watch hulu streams outside the US?

[Image: watched-clearlogo.jpg]
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #97
it isn't that kind of proxy. It is only for a specific type of streaming that some providers have started using.

It doesn't bypass any restrictions from geo-checks. It just calculates the correct token to allow you to continue streaming. This required re-serving the data over a local http server because we needed to parse data from the video.
find quote
ailingcoot Offline
Senior Member
Posts: 200
Joined: Mar 2012
Reputation: 0
Post: #98
@Bluecop Thanks for your answer.
find quote
dlake02 Offline
Senior Member
Posts: 202
Joined: Feb 2011
Reputation: 4
Post: #99
predakanga

I've made some progress on the named pipe and discovered that mplayer DOES support named pipes on Windows.

So I first do this:

Quote:flv = win32pipe.CreateNamedPipe(r'\\.\pipe\bbcsport.flv', win32pipe.PIPE_ACCESS_DUPLEX, win32pipe.PIPE_TYPE_BYTE | win32pipe.PIPE_READMODE_BYTE | win32pipe.PIPE_WAIT, 50, 4096, 4096, 10000, None)
win32pipe.ConnectNamedPipe(flv, None)

Then I write to flv:

Quote:win32file.WriteFile(flv, flvHeader)

And then write the data:

Quote:win32file.WriteFile(flv, flvData)

I connect mplayer to the pipe:

Quote:mplayer \\.\pipe\bbcsport.flv

Problem. MPlayer starts; at least it says "FLV File Detected" which means it sees the FLVHeader, but it doesn't get any further than that, even though the download script is still writing to the named pipe.

I am thinking that win32file.WriteFile may be the wrong mode, but it is the only way I can see of writing to the named pipe ?

Do you have any ideas !

D
find quote
locomot1f Offline
Fan
Posts: 435
Joined: Mar 2011
Reputation: 1
Location: ohio
Post: #100
(2012-08-01 19:11)rflores2323 Wrote:  nothing for usa yetConfused

Sports Devil is a great alternative.... Undecided

the firstsports.eu should be working.

there are plenty of options out there. i'm in the USA also.
(This post was last modified: 2012-08-04 15:51 by locomot1f.)
find quote
Post Reply