Commit graph

19 commits

Author SHA1 Message Date
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +02:00
Vincent Texier
7a72b94b37 Fix bug dailymotion not playing video with "Server returned 403: Forbidden"
Dailymotion video url send cookies then use a 302 redirect to the real video url
The real video url check the cookies sent in the request.

Some mediaplayer (mplayer) can not handle this.

So we use pure python urllib2 to handle this and load the video.
The video bytes are piped to the mediaplayer.

Others modules might need this.
They just have to set the "_play_proxy" boolean attribute to the video object.

Signed-off-by: Vincent Texier <vit@free.fr>
2014-04-21 09:33:31 +02:00
Laurent Bachelier
a3306cc222 Add mpv to default players
It's another fork of mplayer, more active than mplayer2.
2014-01-08 08:06:18 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
e407fd1dfa Add mplayer2 support 2013-01-25 13:46:55 +01:00
Romain Bignon
1006e9ff83 ability to give several arguments in 'player_name' config option 2013-01-14 22:29:50 +01:00
Julien Hebert
16edbd9141 prise en charge du rtmp 2012-12-10 18:07:49 +01:00
Julien Hebert
d5ea1ffc2c on est pas sous apple. 2012-12-10 18:07:49 +01:00
Laurent Bachelier
53915bf6b5 Better way of testing the start of a string 2012-02-04 02:08:56 +01:00
Romain Bignon
f99c6b31a8 reorganize players order 2011-06-30 15:21:30 +02:00
Romain Bignon
d600e763b3 do not run player in background (closes #664) 2011-05-18 11:44:20 +02:00
Nicolas Duhamel
6b3ac71621 mediaplayer fix license 2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8671361ede fix mediaplayer 2011-04-20 09:26:32 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
e36251076c fix calling _play_default() method (closes #446) 2010-12-08 10:09:41 +01:00
Christophe Benz
93f8a50b4f clean media player code, ability to configure player in videoob and radioob 2010-11-29 07:25:13 +01:00
Romain Bignon
73cc25fadb fix when rtmpdump is missing and for canalplus 2010-11-09 23:27:51 +01:00
Romain Bignon
a9f6ec93aa renamed VideoPlayer to MediaPlayer 2010-10-15 18:29:10 +02:00
Renamed from weboob/tools/application/video_player.py (Browse further)