[GH-ISSUE #96] Playback stops on switching source #45

Closed
opened 2026-02-27 19:28:05 +03:00 by kerem · 3 comments
Owner

Originally created by @betadriver1995 on GitHub (Dec 28, 2025).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/96

When I switch from playing Spotify to playing a Radio within my zone favourites, audio playback within the Loxone app stops working completely, Only way to start playback again is through starting playback from MA WebUI.

Lox-Audioserver v3.1.0
MA v2.6.3

Originally created by @betadriver1995 on GitHub (Dec 28, 2025). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/96 When I switch from playing Spotify to playing a Radio within my zone favourites, audio playback within the Loxone app stops working completely, Only way to start playback again is through starting playback from MA WebUI. Lox-Audioserver v3.1.0 MA v2.6.3
kerem closed this issue 2026-02-27 19:28:05 +03:00
Author
Owner

@rudyberends commented on GitHub (Dec 31, 2025):

Can you reproduce the issue on the testing branch?

<!-- gh-comment-id:3701837425 --> @rudyberends commented on GitHub (Dec 31, 2025): Can you reproduce the issue on the testing branch?
Author
Owner

@bogi9999 commented on GitHub (Dec 31, 2025):

I just checked this.
When Spotify was running, I couldn't actually play any radio stations from the zone favorites. But it was enough to stop playback in the Loxone app.
However, it worked in another test.
In version 3.1.0 and MA 2.6.3.
Seems to be sporadic.
The entire environment runs on Sonos.

<!-- gh-comment-id:3701927444 --> @bogi9999 commented on GitHub (Dec 31, 2025): I just checked this. When Spotify was running, I couldn't actually play any radio stations from the zone favorites. But it was enough to stop playback in the Loxone app. However, it worked in another test. In version 3.1.0 and MA 2.6.3. Seems to be sporadic. The entire environment runs on Sonos.
Author
Owner

@betadriver1995 commented on GitHub (Jan 1, 2026):

Can you reproduce the issue on the testing branch?

I switched to the testing branch using docker compose and the container does not even start with the following error log in portainer:

`npm install --include=optional sharp

  • Ensure your package manager supports multi-platform installation:

    See https://sharp.pixelplumbing.com/install#cross-platform

  • Add platform-specific dependencies:

    npm install --os=linux --cpu=x64 sharp

  • Consult the installation documentation:

    See https://sharp.pixelplumbing.com/install

    at Object. (/app/node_modules/sharp/lib/sharp.js:120:9)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object. (/app/node_modules/sharp/lib/constructor.js:10:1)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

Node.js v20.19.6

/app/node_modules/sharp/lib/sharp.js:120

throw new Error(help.join('\n'));

^

Error: Could not load the "sharp" module using the linux-x64 runtime

Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture

Possible solutions:

  • Ensure optional dependencies can be installed:

    npm install --include=optional sharp

  • Ensure your package manager supports multi-platform installation:

    See https://sharp.pixelplumbing.com/install#cross-platform

  • Add platform-specific dependencies:

    npm install --os=linux --cpu=x64 sharp

  • Consult the installation documentation:

    See https://sharp.pixelplumbing.com/install

    at Object. (/app/node_modules/sharp/lib/sharp.js:120:9)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object. (/app/node_modules/sharp/lib/constructor.js:10:1)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

Node.js v20.19.6

/app/node_modules/sharp/lib/sharp.js:120

throw new Error(help.join('\n'));

^

Error: Could not load the "sharp" module using the linux-x64 runtime

Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture

Possible solutions:

  • Ensure optional dependencies can be installed:

    npm install --include=optional sharp

  • Ensure your package manager supports multi-platform installation:

    See https://sharp.pixelplumbing.com/install#cross-platform

  • Add platform-specific dependencies:

    npm install --os=linux --cpu=x64 sharp

  • Consult the installation documentation:

    See https://sharp.pixelplumbing.com/install

    at Object. (/app/node_modules/sharp/lib/sharp.js:120:9)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object. (/app/node_modules/sharp/lib/constructor.js:10:1)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

Node.js v20.19.6

/app/node_modules/sharp/lib/sharp.js:120

throw new Error(help.join('\n'));

^

Error: Could not load the "sharp" module using the linux-x64 runtime

Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture

Possible solutions:

  • Ensure optional dependencies can be installed:

    npm install --include=optional sharp

  • Ensure your package manager supports multi-platform installation:

    See https://sharp.pixelplumbing.com/install#cross-platform

  • Add platform-specific dependencies:

    npm install --os=linux --cpu=x64 sharp

  • Consult the installation documentation:

    See https://sharp.pixelplumbing.com/install

    at Object. (/app/node_modules/sharp/lib/sharp.js:120:9)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object. (/app/node_modules/sharp/lib/constructor.js:10:1)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

Node.js v20.19.6`

<!-- gh-comment-id:3703716873 --> @betadriver1995 commented on GitHub (Jan 1, 2026): > Can you reproduce the issue on the testing branch? I switched to the testing branch using docker compose and the container does not even start with the following error log in portainer: `npm install --include=optional sharp - Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies: npm install --os=linux --cpu=x64 sharp - Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object.<anonymous> (/app/node_modules/sharp/lib/sharp.js:120:9) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/app/node_modules/sharp/lib/constructor.js:10:1) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) Node.js v20.19.6 /app/node_modules/sharp/lib/sharp.js:120 throw new Error(help.join('\n')); ^ Error: Could not load the "sharp" module using the linux-x64 runtime Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture Possible solutions: - Ensure optional dependencies can be installed: npm install --include=optional sharp - Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies: npm install --os=linux --cpu=x64 sharp - Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object.<anonymous> (/app/node_modules/sharp/lib/sharp.js:120:9) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/app/node_modules/sharp/lib/constructor.js:10:1) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) Node.js v20.19.6 /app/node_modules/sharp/lib/sharp.js:120 throw new Error(help.join('\n')); ^ Error: Could not load the "sharp" module using the linux-x64 runtime Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture Possible solutions: - Ensure optional dependencies can be installed: npm install --include=optional sharp - Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies: npm install --os=linux --cpu=x64 sharp - Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object.<anonymous> (/app/node_modules/sharp/lib/sharp.js:120:9) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/app/node_modules/sharp/lib/constructor.js:10:1) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) Node.js v20.19.6 /app/node_modules/sharp/lib/sharp.js:120 throw new Error(help.join('\n')); ^ Error: Could not load the "sharp" module using the linux-x64 runtime Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture Possible solutions: - Ensure optional dependencies can be installed: npm install --include=optional sharp - Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies: npm install --os=linux --cpu=x64 sharp - Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object.<anonymous> (/app/node_modules/sharp/lib/sharp.js:120:9) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object.<anonymous> (/app/node_modules/sharp/lib/constructor.js:10:1) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) Node.js v20.19.6`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#45
No description provided.