Always resume

This commit is contained in:
Max Isom 2021-12-12 13:20:36 -05:00
parent f1756b9e9c
commit e4a8dde776
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
2 changed files with 26 additions and 15 deletions

View file

@ -235,6 +235,10 @@ export default class {
return null;
}
/**
* Returns queue, not including the current song.
* @returns {QueuedSong[]}
*/
getQueue(): QueuedSong[] {
return this.queue.slice(this.queuePosition + 1);
}