Fix inability to play first track in library

This commit is contained in:
RandyTheSilly committed 2026-10-11 16:46:11 -04:00
1 parent 9798dcb08e
commit 1fb2b35b75
1 file changed
+2 -7
+2 -7
View File
@@ -230,16 +230,11 @@ Pebble.addEventListener("appmessage", function (dict) {
const subscope = payloadGet(dict.payload, "OUT_MENU_NAV_SUBSCOPE");
const seqId = payloadGet(dict.payload, "OUT_PLAY_SEQ_ID");
if (seqId) {
console.log("SEQ ID RECEIVED");
console.log("sessionId: " + jfSessionId);
console.log("seqId: " + seqId);
console.log("jfId: " + allJfIds[seqId]);
console.log("SEQ ID RECEIVED");
if (seqId !== undefined) {
callAPI("POST", cfg.PRIV_BASE_URL + "/Sessions/" + jfSessionId + "/Playing?playCommand=PlayNow&itemIds=" + allJfIds[seqId], null);
}
if (scope) {
if (scope !== undefined) {
let vanityList;
let seqIdList = [];
switch (scope) {