Dmap.ControlPlayer¶
- Implementations:
None
Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Play state |
||
r/w |
Playing time (ms) |
||
r/w |
Repeat state |
||
r/w |
Shufle state |
||
r/w |
Volume |
Signals¶
None
Fields¶
None
Class Details¶
- class Dmap.ControlPlayer¶
- Bases:
- Structure:
- cue_clear()¶
- cue_play(records, index)¶
- Parameters:
records ([
Dmap.Record
]) – a list of recordsindex (
int
) – an index
- next_item()¶
- now_playing_artwork(width, height)¶
- now_playing_record()¶
- Returns:
the currently playing record.
- Return type:
- pause()¶
- play_pause()¶
- prev_item()¶
- do_cue_clear() virtual¶
- do_cue_play(records, index) virtual¶
- Parameters:
records ([
Dmap.Record
]) – a list of recordsindex (
int
) – an index
- do_next_item() virtual¶
- do_now_playing_artwork(width, height) virtual¶
- do_now_playing_record() virtual¶
- Returns:
the currently playing record.
- Return type:
- do_pause() virtual¶
- do_play_pause() virtual¶
- do_prev_item() virtual¶
Property Details¶
- Dmap.ControlPlayer.props.play_state¶
- Name:
play-state
- Type:
- Default Value:
- Flags:
Play state
- Dmap.ControlPlayer.props.playing_time¶
-
Playing time (ms)
- Dmap.ControlPlayer.props.repeat_state¶
- Name:
repeat-state
- Type:
- Default Value:
- Flags:
Repeat state
- Dmap.ControlPlayer.props.shuffle_state¶
-
Shufle state