sublime_music.ui.main module
- class sublime_music.ui.main.DownloadStatusBox(song_id)[source]
Bases:
gi.overrides.Gtk.Box
- Parameters
song_id (str) –
- class sublime_music.ui.main.MainWindow(*args, **kwargs)[source]
Bases:
gi.repository.Gtk.ApplicationWindow
Defines the main window for Sublime Music.
- current_notification_hash = None
- current_other_providers: Tuple[sublime_music.config.ProviderConfiguration, ...] = ()
- search_idx = 0
- searches: Set[sublime_music.adapters.manager.Result] = {}
- update(app_config, player_manager, force=False)[source]
- Parameters
app_config (sublime_music.config.AppConfiguration) –
player_manager (sublime_music.players.manager.PlayerManager) –
force (bool) –
- update_song_download_progress(song_id, progress)[source]
- Parameters
song_id (str) –
progress (sublime_music.adapters.manager.DownloadProgress) –