From d6551d1072b4869e5c282931267a40235fc20858 Mon Sep 17 00:00:00 2001 From: Thomas Amland Date: Mon, 21 Oct 2024 18:27:16 +0200 Subject: [PATCH] ignore error code 0 from savePlayQueue --- src/shared/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/api.ts b/src/shared/api.ts index a11f12d..b6873dc 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -333,7 +333,7 @@ export class API { await this.fetch('rest/savePlayQueue', params) } catch (err: any) { // ignore missing required parameter error - if (err.code === 10) { + if (err.code === 0 || err.code === 10) { return } throw err