Part of elisa.core.player_registry View In Hierarchy
The PlayerRegistry has responsability to create and hold elisa.core.player.Player
instances. Additionally it can perform global actions on all the players at
the same time.
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 49 | Method | __init__ | Undocumented |
| 56 | Method | initialize | Undocumented |
| 64 | Method | deinitialize | Undocumented |
| 69 | Method | create_player | Returns a new player instance. |
| 83 | Method | remove_player | Remove player_instance Player |
| 100 | Method | play_sound | Play the sound located at uri. If the simple audio player
is already
|
| 112 | Method | play_all | Set all players into playing mode. |
| 118 | Method | pause_all | Pause all players. |
| 124 | Method | stop_all | Stop all currently instantiated players. |
| 130 | Method | mute_all | Mute all players. |
| 136 | Method | unmute_all | Unmute all players. |
| Parameters | player_instance | Player instance to remove
(type: Player
) |
uri. If the simple audio player
is already playing, the playback is stopped. The playback of the other
players is not touched in any way.
| Parameters | uri | the uri of the sound to play
(type: elisa.core.media_uri.MediaUri
) |