Remix.run Logo
cfunderburg an hour ago

So, the app I'm working on now supports scrobbling to both last.fm and ListenBrains.

With the former, I build the app with my own API_KEY and SHARED_SECRET, then the actual user has to add their username/password, which gets stored in the Apple keychain.

With the latter, I don't need a API KEY built into the app, and they just login with a username and a token.

Would I be right that I could just duplicate the listenbrainz code with that new endpoint and it would work the same way?

tsiry an hour ago | parent [-]

Mostly yes, but with one important detail. Rocksky has a minimal ListenBrainz-compatible API, so duplicating the ListenBrainz integration and pointing it to the Rocksky endpoint should work for basic auth + submit/scrobble. The current limitation is that Rocksky doesn't implement the full ListenBrainz API yet, so anything beyond auth + submitting listens may not work the same way. I'm trying to keep this path as simple as possible because compatibility with existing scrobblers is important for adoption.