• Jean Felder's avatar
    mpris: Do not interact with playlists view · a2444ee1
    Jean Felder authored
    The playlists interface from MPRIS has a method (ActivatePlaylist) to
    select and play a playlist. This method directly calls the
    "activate_playlist" method from PlaylistView. This is a bad design as
    MPRIS should not directly interact with a view.
    
    This is fixed by adding an "activate-playlist" signal to the
    Playlists. Then, PlaylistView listens to this signal in order to
    update the view and start the playlist accordingly.
    a2444ee1
mpris.py 31.2 KB