Clear playlist when starting radio
This commit is contained in:
@@ -191,18 +191,25 @@ namespace MusicPlayer
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NextButton.Enabled = true;
|
if (main.audio.CurrentSong is RadioStation)
|
||||||
NotifyMenuStripNextButton.Enabled = true;
|
|
||||||
|
|
||||||
if (ShuffleSongButton.Checked)
|
|
||||||
{
|
{
|
||||||
PreviousButton.Enabled = false;
|
main.currentPlayingList.Clear();
|
||||||
NotifyMenuStripPreviousButton.Enabled = false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PreviousButton.Enabled = true;
|
NextButton.Enabled = true;
|
||||||
NotifyMenuStripPreviousButton.Enabled = true;
|
NotifyMenuStripNextButton.Enabled = true;
|
||||||
|
|
||||||
|
if (ShuffleSongButton.Checked)
|
||||||
|
{
|
||||||
|
PreviousButton.Enabled = false;
|
||||||
|
NotifyMenuStripPreviousButton.Enabled = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PreviousButton.Enabled = true;
|
||||||
|
NotifyMenuStripPreviousButton.Enabled = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user