skuethe / MMM-Spotify

Spotify display and controller for MagicMirror
MIT License
68 stars 17 forks source link

I don't understand how the multi-account feature is supposed to work #195

Closed O5ten closed 1 year ago

O5ten commented 2 years ago

I have configured two accounts in my setup. Also i use no mouse & keyboard interaction on my end-device so i can't manually switch between them. Individually the accounts work fine if i set defaultAccount: X to select each account. But it seems that only one account can run at a time and it'll always be the defaultAccount: X. I was kind of expecting the currently active account to display the playback unless both are. If both are then i expect the defaultAccount to have priority.

Isn't this how most people would expect it to work or is it just me?

skuethe commented 2 years ago

But it seems that only one account can run at a time and it'll always be the defaultAccount: X

Yes.

Isn't this how most people would expect it to work or is it just me?

AFAIK you are the first to open an issue about that. So...

There are two possible solutions for using multi accounts:

  1. By having an input device (touch display, mouse / keyboard, ...) and using the provided buttons or
  2. By using notifications from other modules: this.sendNotification("SPOTIFY_ACCOUNT", 0) (see documentation)
skuethe commented 1 year ago

Closing due to inactivity. Feel free to re-open if something else is unclear.