sublime_music.ui.artists module

class sublime_music.ui.artists.AlbumsListWithSongs[source]

Bases: gi.repository.Gtk.Overlay

__init__()[source]
on_song_selected(album_component)[source]
Parameters

album_component (sublime_music.ui.common.album_with_songs.AlbumWithSongs) –

update(artist, app_config, force=False)[source]
Parameters
class sublime_music.ui.artists.ArtistDetailPanel(*args, **kwargs)[source]

Bases: gi.overrides.Gtk.Box

Defines the artists list.

__init__(*args, **kwargs)[source]

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

artist_details_expanded = False
format_stats(artist)[source]
Parameters

artist (sublime_music.adapters.api_objects.Artist) –

Return type

str

get_artist_song_ids()[source]
Return type

List[str]

make_label(text=None, name=None, **params)[source]
Parameters
Return type

gi.overrides.Gtk.Label

on_download_all_click(_)[source]
on_expand_collapse_click(_)[source]
on_play_all_clicked(_)[source]
on_shuffle_all_button(_)[source]
on_view_refresh_click(*args)[source]
set_all_loading(loading_state)[source]
Parameters

loading_state (bool) –

update(app_config)[source]
Parameters

app_config (sublime_music.config.AppConfiguration) –

update_artist_artwork(cover_art_filename, app_config, force=False, order_token=None, is_partial=False)[source]
Parameters
update_artist_view(artist, app_config, force=False, order_token=None, is_partial=False)[source]
Parameters
update_order_token = 0
class sublime_music.ui.artists.ArtistList[source]

Bases: gi.overrides.Gtk.Box

__init__()[source]

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

update(artists, app_config=None, is_partial=False, **kwargs)[source]
Parameters
class sublime_music.ui.artists.ArtistsPanel(*args, **kwargs)[source]

Bases: gi.overrides.Gtk.Paned

Defines the arist panel.

__init__(*args, **kwargs)[source]
update(app_config, force=False)[source]
Parameters