push-zusoquuoxstx #99

Merged
eric merged 6 commits from push-zusoquuoxstx into main 2026-06-07 15:14:08 +02:00
3 changed files with 7 additions and 7 deletions
Showing only changes of commit 46e269a290 - Show all commits

View File

@@ -1,6 +1,6 @@
[package]
name = "PMOMusic"
version = "0.3.49"
version = "0.3.50"
edition = "2024"
[dependencies]

View File

@@ -451,11 +451,11 @@ async function resumeOrPlayFromQueue(id: string) {
return play(id);
}
// Check if queue has content
if (
["STOPPED", "NO_MEDIA"].includes(state.transport_state) &&
snapshot.queue.items.length > 0
) {
// If queue has items, always try to play from queue regardless of transport
// state. After a sleep timer stop, the device may report an unknown/transient
// state ("load", network error → "UNKNOWN", etc.) that doesn't match the
// expected "STOPPED"/"NO_MEDIA" strings, yet the queue is non-empty.
if (snapshot.queue.items.length > 0) {
return api.resume(id);
}

View File

@@ -1 +1 @@
0.3.49
0.3.50