core icon indicating copy to clipboard operation
core copied to clipboard

Playback stops on switching source

Open betadriver1995 opened this issue 11 months ago • 3 comments

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

betadriver1995 avatar Dec 28 '25 15:12 betadriver1995

Can you reproduce the issue on the testing branch?

rudyberends avatar Dec 31 '25 09:12 rudyberends

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.

bogi9999 avatar Dec 31 '25 10:12 bogi9999

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`

betadriver1995 avatar Jan 01 '26 13:01 betadriver1995