Skip to content

Commit

Permalink
MythMusic: Don't stop playback when ejecting a CD/DVD drive
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Paul Harrison committed Aug 11, 2013
1 parent 3823b0e commit 68256e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/main.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 68256e3

Please sign in to comment.