exception woob.tools.application.media_player.InvalidMediaPlayer(player_name)

Bases: Exception

class woob.tools.application.media_player.MediaPlayer(logger=None)

Bases: object

Black magic invoking a media player to this world.

Presently, due to strong disturbances in the holidays of the ether world, the media player used is chosen from a static list of programs. See PLAYERS for more information.

play(media, player_name=None, player_args=None)

Play a media object, using programs from the PLAYERS list.

This function dispatch calls to either _play_default or _play_rtmp for special rtmp streams using SWF verification.

exception woob.tools.application.media_player.MediaPlayerNotFound

Bases: Exception