sublime_music.ui.player_controls module
- class sublime_music.ui.player_controls.PlayerControls[source]
Bases:
gi.repository.Gtk.ActionBar
Defines the player controls panel that appears at the bottom of the window.
- connecting_icon_index = 0
- connecting_to_device_token = 0
- cover_art_update_order_token = 0
- current_device = None
- current_song = None
- offline_mode = False
- play_queue_update_order_token = 0
- update(app_config, force=False)[source]
- Parameters
app_config (sublime_music.config.AppConfiguration) –
force (bool) –
- update_cover_art(cover_art_filename, app_config, force=False, order_token=None, is_partial=False)[source]
- update_device_list(app_config)[source]
- Parameters
app_config (sublime_music.config.AppConfiguration) –
- update_scrubber(current, duration, song_stream_cache_progress)[source]
- Parameters
current (Optional[datetime.timedelta]) –
duration (Optional[datetime.timedelta]) –
song_stream_cache_progress (Optional[datetime.timedelta]) –