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 RepeatCurrentSong { get; private set; }
public bool Shuffle { get; private set; } public bool Shuffle { get; private set; }
public bool Autoplay { 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 public uint MaxQueueSize
{ {
get => Queue.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) lock (locker)
{ {
//Stopped = true; Stopped = true;
//Queue.ResetCurrent(); Queue.ResetCurrent();
if (clearQueue) if (clearQueue)
Queue.Clear(); Queue.Clear();
Unpause(); Unpause();