[weboob] [PATCH 1/1] _play_proxy function to handle cookies and redirect using urllib2

Flo weboob at flo.fourcot.fr
Wed Apr 2 14:27:38 CEST 2014


Le 15/02/2014 21:12, Vincent Texier a écrit :
> Add an attribute "_play_proxy" to the video object to trigger _play_proxy.
> First module requiring _play_proxy : dailymotion.
> 

Hello,

sorry for the time of the reply. The _play_proxy does not work on my
computer, I got something like that :

:: Play_proxy streaming from
http://www.dailymotion.com/cdn/H264-848x480/video/x1ldpxo.mp4?auth=1396614037-2-kjgfex7p-9f67acfda10a1db4adca456da2593be5
:: to mplayer -fs "-fs"
mplayer -fs "-fs"
[...]
 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS
* * *

play_proxy broken pipe. Can't write anymore.


It looks like a fail of mplayer invocation.


Otherwise, please set a default for the "args" variable add in
_play_default (def _play_default(self, media, player_name, args=None)



More information about the weboob mailing list