From 68256e384a60644dd985cc5e340978d7c060b8c1 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Sun, 11 Aug 2013 19:09:42 +0100 Subject: [PATCH] MythMusic: Don't stop playback when ejecting a CD/DVD drive Don't assume that all the tracks on the active playlist was removed when we receive a media changed event for an ejected CD/DVD. Fixes #11708. --- mythplugins/mythmusic/mythmusic/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythplugins/mythmusic/mythmusic/main.cpp b/mythplugins/mythmusic/mythmusic/main.cpp index 78e1319993f..9bff699e7a7 100644 --- a/mythplugins/mythmusic/mythmusic/main.cpp +++ b/mythplugins/mythmusic/mythmusic/main.cpp @@ -480,7 +480,7 @@ static void handleCDMedia(MythMediaDevice *cd) gMusicData->all_playlists->getActive()->removeAllCDTracks(); } - gPlayer->activePlaylistChanged(-1, true); + gPlayer->activePlaylistChanged(-1, false); gPlayer->sendCDChangedEvent(); return;