RdioPlayer¶
-
class
rdiosock.player.RdioPlayer(sock)[source]¶ Class Constants
-
REPEAT_ALL¶
-
REPEAT_ONE¶
-
REPEAT_NONE¶
Fields
Un-changeable fields updated via PubSub
-
last_song_played¶ rdiosock.objects.queue.RdioQueueLast song played
-
last_song_play_time¶
-
last_source_played¶ rdiosock.objects.source.RdioSourceLast source played
-
on_song_changed¶ rdiosock.utils.EventHookSong changed event
-
player_state¶ rdiosock.objects.player_state.RdioPlayerStateCurrent Rdio player state
-
queue¶ rdiosock.objects.queue.RdioQueueCurrent Rdio player state
Properties
Changeable properties updated and changed via PubSub
-
volume¶ floatPlayer volume (0.0 - 1.0)
NOTE: This property sends pubsub messages
-
shuffle¶ boolPlayer shuffle mode
NOTE: This property sends pubsub messages
-
repeat¶ RdioPlayer.REPEAT_ALL,RdioPlayer.REPEAT_ONE,RdioPlayer.REPEAT_NONEPlayer repeat mode
NOTE: This property sends pubsub messages
-
position¶ intPlayer position in seconds
NOTE: This property sends pubsub messages
Methods
-