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.RdioQueue
Last song played
-
last_song_play_time
¶
-
last_source_played
¶ rdiosock.objects.source.RdioSource
Last source played
-
on_song_changed
¶ rdiosock.utils.EventHook
Song changed event
-
player_state
¶ rdiosock.objects.player_state.RdioPlayerState
Current Rdio player state
-
queue
¶ rdiosock.objects.queue.RdioQueue
Current Rdio player state
Properties
Changeable properties updated and changed via PubSub
-
volume
¶ float
Player volume (0.0 - 1.0)
NOTE: This property sends pubsub messages
-
shuffle
¶ bool
Player shuffle mode
NOTE: This property sends pubsub messages
-
repeat
¶ RdioPlayer.REPEAT_ALL
,RdioPlayer.REPEAT_ONE
,RdioPlayer.REPEAT_NONE
Player repeat mode
NOTE: This property sends pubsub messages
-
position
¶ int
Player position in seconds
NOTE: This property sends pubsub messages
Methods
-