Use the clear action to stop the internet radio
This commit is contained in:
@@ -226,6 +226,8 @@ public class PlayQueue {
|
||||
public synchronized void clear() {
|
||||
makeBackup();
|
||||
files.clear();
|
||||
setRandomSearchCriteria(null);
|
||||
setInternetRadio(null);
|
||||
index = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -504,7 +504,6 @@
|
||||
$("select#moreActions #removeSelected").prop("disabled", internetRadioEnabled);
|
||||
$("select#moreActions #download").prop("disabled", internetRadioEnabled);
|
||||
$("select#moreActions #appendPlaylist").prop("disabled", internetRadioEnabled);
|
||||
$("#clearQueue").toggleLink(!internetRadioEnabled);
|
||||
$("#shuffleQueue").toggleLink(!internetRadioEnabled);
|
||||
$("#repeatQueue").toggleLink(!internetRadioEnabled);
|
||||
$("#undoQueue").toggleLink(!internetRadioEnabled);
|
||||
|
||||
Reference in New Issue
Block a user