SpotifyAPI-NET icon indicating copy to clipboard operation
SpotifyAPI-NET copied to clipboard

[IMPORTANT] SpotifyLocalAPI not working

Open StepIg opened this issue 8 years ago • 47 comments

With the last version, has worked one time, but no more. Play and pause doesn't work.

StepIg avatar Jul 19 '18 12:07 StepIg

You're building an abstraction and my gut feeling is that someone should be able to gauge what it's for at a first glance of its name. Unless I'm missing something the word butler doesn't relate to authorization in any way. It's your library though - I only came here for discussion of the locally-hosted Spotify API which I used in one of my own Python-based projects ;)

jscholes avatar Jul 27 '18 08:07 jscholes

Now SpotifyLocalAPI.RunSpotify() doesn't run on Windows 10.

StepIg avatar Jul 27 '18 18:07 StepIg

Dat is jetzt natürlich nicht so geil 😆

renenienaber avatar Aug 08 '18 21:08 renenienaber

Hope this can get fixed. I am using the events from the local player. Any ideas for a workaround?

mmartain avatar Aug 09 '18 18:08 mmartain

@mmartain I've moved my code from events to timers taking needed info about tracks time, etc... from the webAPI. And all is ok.

StepIg avatar Aug 09 '18 19:08 StepIg

There will be no fix. The local API will be removed with the next commit, the project will have the following structure:

  • SpotifyAPI.Web (NuGet Package)
  • SpotifyAPI.Web.Auth (NuGet Package)
  • SpotifyAPI.Web.Example
  • SpotifyAPI.Web.Tests

I'm currently reworking SpotifyAPI.Web.Auth with a better internal HTTP Server and an additional "auth-method", where users have to register their own spotify dev application. This will be the only "secure" authentication method.

JohnnyCrazy avatar Aug 09 '18 20:08 JohnnyCrazy

Hi everyone,

3.0.0 has been published and the local API is not a part of this project anymore (expect the docs). I tried some approaches, like hooking into the spotify clients JS code, but in the end these are all hacky solutions. The WebAPI is really powerful and I think most of the functionalities should be portable.

Please visit #276 for a short changelog and if you have any arising questions, feel free to post them there! :)

JohnnyCrazy avatar Aug 24 '18 13:08 JohnnyCrazy