sublime_music.ui.playlists module

class sublime_music.ui.playlists.EditPlaylistDialog(parent, playlist)[source]

Bases: gi.overrides.Gtk.Dialog

Parameters
__init__(parent, playlist)[source]
Parameters
get_data(self, key: str)[source]
Return type

Dict[str, Any]

class sublime_music.ui.playlists.PlaylistDetailPanel[source]

Bases: gi.repository.Gtk.Overlay

__init__()[source]
editing_playlist_song_list: bool = False
hide_loading_all()[source]
make_label(text=None, name=None, **params)[source]
Parameters
Return type

gi.overrides.Gtk.Label

offline_mode = False
on_expand_collapse_click(_)[source]
on_play_all_clicked(_)[source]
on_playlist_edit_button_click(_)[source]
on_playlist_list_download_all_button_click(_)[source]
on_playlist_model_row_move(*args)[source]
on_shuffle_all_button(_)[source]
on_song_activated(_, idx, col)[source]
Parameters
  • idx (gi.overrides.Gtk.TreePath) –

  • col (Any) –

on_song_button_press(tree, event)[source]
Parameters
  • tree (gi.overrides.Gtk.TreeView) –

  • event (gi.overrides.Gdk.EventButton) –

Return type

bool

on_view_refresh_click(_)[source]
playlist_details_expanded = False
playlist_id = None
reordering_playlist_song_list: bool = False
show_loading_all()[source]
update(app_config, force=False)[source]
Parameters
update_playlist_artwork(cover_art_filename, app_config, force=False, order_token=None, is_partial=False)[source]
Parameters
update_playlist_view(playlist, app_config=None, force=False, order_token=None, is_partial=False)[source]
Parameters
update_playlist_view_order_token = 0
class sublime_music.ui.playlists.PlaylistList[source]

Bases: gi.overrides.Gtk.Box

class PlaylistModel(playlist_id, name)[source]

Bases: gi.overrides.GObject.Object

Parameters
  • playlist_id (str) –

  • name (str) –

__init__(playlist_id, name)[source]
Parameters
  • playlist_id (str) –

  • name (str) –

do_get_property(pspec)
do_set_property(pspec, value)
name
playlist_id
__init__()[source]

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

cancel_button_clicked(_)[source]
confirm_button_clicked(_)[source]
create_playlist(playlist_name)[source]
Parameters

playlist_name (str) –

new_entry_activate(entry)[source]
Parameters

entry (gi.repository.Gtk.Entry) –

offline_mode = False
on_list_refresh_click(_)[source]
on_new_playlist_clicked(_)[source]
update(app_config=None, force=False)[source]
Parameters
update_list(playlists, app_config=None, force=False, order_token=None, is_partial=False)[source]
Parameters
class sublime_music.ui.playlists.PlaylistsPanel(*args, **kwargs)[source]

Bases: gi.overrides.Gtk.Paned

Defines the playlists panel.

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