librespot icon indicating copy to clipboard operation
librespot copied to clipboard

Allow connections from different accounts?

Open Hoeze opened this issue 6 years ago • 2 comments

Hi, I'd like to create a small Spotify Connect daemon running on our HTPC, which allows any Spotify application in the network to control it (maybe secured by an account whitelist..?). However, I just noticed that, when using a different account, the Spotify Web Player simply ignores librespot and the desktop client tells me that I have to buy premium, although I use librespot already with a premium account...

  • Is there a way to allow different Spotify accounts to control the daemon?
  • Is there a way to allow non-premium accounts to control the daemon? E.g. by simulating a standard web / desktop player?

Hoeze avatar Aug 28 '17 00:08 Hoeze

Did you try using discovery mode? I believe that should allow different (albeit premium) accounts to control librespot (but I may be wrong - I have not tested this).

My understanding is that librespot is intentionally limited to premium accounts so as to not provoke the ire of Spotify. As such, I think librespot presents itself as a spirc device that requires a premium account (correct me if I'm wrong).

rrbutani avatar Aug 28 '17 02:08 rrbutani

Yes, I understand the point with premium. However, I already need a premium account to connect to Spotify.

My target would be to allow playing playlists from different accounts, especially because of the "discover weekly" lists of different music flavours for different accounts. Of course I can let each guest export the playlist and play it directly from the premium account, but it would be cool if I could avoid that. Not all people have bought Spotify premium and requiring premium for that small convenience is unreasonable.

Is there a way to change that "spirc" identity? Or does "spirc" directly refer to a certain protocol? Using discovery mode causes Spotify to directly stream to librespot from the guest account I think..?

Hoeze avatar Aug 28 '17 13:08 Hoeze