playing a new queue with shuffle enabled now starts at a random track.
This commit is contained in:
@@ -190,8 +190,17 @@ class QueueStore {
|
||||
EventsEmit(Events.RequestPrevious);
|
||||
}
|
||||
|
||||
setQueue(filePaths: string[], startIndex: number): void {
|
||||
EventsEmit(Events.RequestSetQueue, filePaths, startIndex);
|
||||
setQueue(
|
||||
filePaths: string[],
|
||||
startIndex: number,
|
||||
shuffleStart = false,
|
||||
): void {
|
||||
EventsEmit(
|
||||
Events.RequestSetQueue,
|
||||
filePaths,
|
||||
startIndex,
|
||||
shuffleStart,
|
||||
);
|
||||
}
|
||||
|
||||
addToQueue(filePath: string): void {
|
||||
|
||||
Reference in New Issue
Block a user