sublime_music.ui.main module

class sublime_music.ui.main.DownloadStatusBox(song_id)[source]

Bases: gi.overrides.Gtk.Box

Parameters

song_id (str) –

__init__(song_id)[source]

Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.

Parameters

song_id (str) –

update_progress(progress_fraction)[source]
Parameters

progress_fraction (float) –

class sublime_music.ui.main.MainWindow(*args, **kwargs)[source]

Bases: gi.repository.Gtk.ApplicationWindow

Defines the main window for Sublime Music.

__init__(*args, **kwargs)[source]
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
update_song_download_progress(song_id, progress)[source]
Parameters