From ff926297dfaa30ecbe38e5226759e629b856b45f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 19 May 2018 23:30:39 +0200 Subject: [PATCH] - internetradio: clear playlist before loading a new one --- src/gui/audioplayer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index db5678b4c..48d993ba0 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -720,6 +720,9 @@ int CAudioPlayerGui::show() delete InetRadioInputChanger; + if (!m_playlist.empty()) + clearPlaylist(); + if (select >= 0) old_select = select; switch (select)