Fix inability to play first track in library
This commit is contained in:
1 parent
9798dcb08e
commit
1fb2b35b75
1 file changed
+2
-7
+2
-7
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user