Revert "Stop works as it used to before. Auto rpl disabled."

This reverts commit fd410bc856.
This commit is contained in:
samvaio 2017-07-14 00:54:23 +05:30
parent 202c5e98a5
commit f26a7de704

View File

@ -62,7 +62,7 @@ namespace NadekoBot.Services.Music
public bool RepeatCurrentSong { get; private set; }
public bool Shuffle { get; private set; }
public bool Autoplay { get; private set; }
public bool RepeatPlaylist { get; private set; } = false;
public bool RepeatPlaylist { get; private set; } = true;
public uint MaxQueueSize
{
get => Queue.MaxQueueSize;
@ -442,12 +442,12 @@ namespace NadekoBot.Services.Music
}
}
public void Stop(bool clearQueue = true)
public void Stop(bool clearQueue = false)
{
lock (locker)
{
//Stopped = true;
//Queue.ResetCurrent();
Stopped = true;
Queue.ResetCurrent();
if (clearQueue)
Queue.Clear();
Unpause();