Environment
- sonn core: 4.0.0-beta.21
- Soloist: 1.3.8.36 build 1789106507 (20260911) (g5c3a2053ac)
- linux/x86_64
- Two Spotify accounts configured:
AccountA and AccountB
Note: Account names and Spotify usernames in the examples below have been anonymized.
Problem
When selecting content from the second Spotify account (AccountB), the content/queue layer resolves the account correctly, but the Soloist playback process is still started using the first account's (AccountA) store/session.
Reproduction
- Configure Spotify account
AccountA.
- Add Spotify account
AccountB.
- Select a track from
AccountB.
- Start playback.
Actual result
The content layer correctly resolves the track as belonging to AccountB:
resolvedTarget=spotify@AccountB:track:4fSWH9YqX5YGi7A5Yx5eOA
However, Soloist is started with:
store=/app/data/soloist/account-AccountA/data
and reports:
logged in as <spotify-user-A>
accountId=AccountA
The track can still play, but it is actually using AccountA's Spotify/Soloist session.
This is reproducible even after a clean core restart.
Concurrent playback
The problem becomes more visible when both accounts are used simultaneously.
While AccountB is actively playing in one zone, starting AccountA in another zone also tries to use:
/app/data/soloist/account-AccountA/data
and fails with:
Error: another session is running for data directory "/app/data/soloist/account-AccountA/data".
Expected result
Content selected from Spotify account AccountB should use a separate Soloist store/session, e.g.:
/app/data/soloist/account-AccountB/data
and authenticate as AccountB's Spotify account.
Additional observation
The account mapping appears to be correct in the content/queue layer but is lost or misapplied when the Soloist playback process is created.
Environment
AccountAandAccountBProblem
When selecting content from the second Spotify account (
AccountB), the content/queue layer resolves the account correctly, but the Soloist playback process is still started using the first account's (AccountA) store/session.Reproduction
AccountA.AccountB.AccountB.Actual result
The content layer correctly resolves the track as belonging to AccountB:
However, Soloist is started with:
and reports:
The track can still play, but it is actually using AccountA's Spotify/Soloist session.
This is reproducible even after a clean core restart.
Concurrent playback
The problem becomes more visible when both accounts are used simultaneously.
While AccountB is actively playing in one zone, starting AccountA in another zone also tries to use:
and fails with:
Expected result
Content selected from Spotify account
AccountBshould use a separate Soloist store/session, e.g.:and authenticate as AccountB's Spotify account.
Additional observation
The account mapping appears to be correct in the content/queue layer but is lost or misapplied when the Soloist playback process is created.