sublime_music.ui.common.album_with_songs module
- class sublime_music.ui.common.album_with_songs.AlbumWithSongs(album, cover_art_size=200, show_artist_name=True)[source]
Bases:
gi.overrides.Gtk.Box
- Parameters
album (sublime_music.adapters.api_objects.Album) –
cover_art_size (int) –
show_artist_name (bool) –
- __init__(album, cover_art_size=200, show_artist_name=True)[source]
Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.
- Parameters
album (sublime_music.adapters.api_objects.Album) –
cover_art_size (int) –
show_artist_name (bool) –
- offline_mode = True
- update(app_config=None, force=False)[source]
- Parameters
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
- update_album_songs(album, app_config, force=False, order_token=None, is_partial=False)[source]
- Parameters
album (sublime_music.adapters.api_objects.Album) –
app_config (Optional[sublime_music.config.AppConfiguration]) –
force (bool) –
is_partial (bool) –