Fix queue next / last in session player

This commit is contained in:
Rasmus Krämer 2023-12-25 19:54:04 +01:00
parent 61ec0d547d
commit 6aa4c1144d
No known key found for this signature in database
GPG key ID: B0AAA8ECA7290AF8
2 changed files with 3 additions and 2 deletions

View file

@ -74,6 +74,7 @@
- [Grady Hallenbeck](https://github.com/grhallenbeck)
- [DinuD](https://github.com/DinuD)
- [Kevin Tan (Valius)](https://github.com/valius)
- [Rasmus Krämer](https://github.com/rasmuslos)
# Emby Contributors

View file

@ -284,11 +284,11 @@ class SessionPlayer {
}
queue(options) {
sendPlayCommand(getCurrentApiClient(this), options, 'PlayNext');
sendPlayCommand(getCurrentApiClient(this), options, 'PlayLast');
}
queueNext(options) {
sendPlayCommand(getCurrentApiClient(this), options, 'PlayLast');
sendPlayCommand(getCurrentApiClient(this), options, 'PlayNext');
}
canPlayMediaType(mediaType) {