diff options
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 9019a3f..a937bc6 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -46,6 +46,13 @@ ApplicationWindow { Connections { target: dbus + onStopPlayback: { + player.stop() + playlist.clear() + playlistmodel.setSource(playlist) + playlistview.visible = false + } + onProcessPlaylistUpdate: { playlist.clear() playlist.addItems(mediaFiles) |