sublime_music.ui.artists module
- class sublime_music.ui.artists.AlbumsListWithSongs[source]
Bases:
gi.repository.Gtk.Overlay
- 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
artist (sublime_music.adapters.api_objects.Artist) –
app_config (sublime_music.config.AppConfiguration) –
force (bool) –
- 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
- 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]
- update_artist_view(artist, app_config, force=False, order_token=None, is_partial=False)[source]
- Parameters
artist (sublime_music.adapters.api_objects.Artist) –
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
is_partial (bool) –
- 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
artists (Sequence[sublime_music.adapters.api_objects.Artist]) –
app_config (Optional[sublime_music.config.AppConfiguration]) –
is_partial (bool) –