erinxocon / spotify-local

Local control of the Spotify Client in python
https://erinxocon.github.io/spotify-local/
MIT License
19 stars 1 forks source link

Lib no longer working? #7

Open Dor-Sloim opened 4 years ago

Dor-Sloim commented 4 years ago

Hi, just found your library, trying to do a simple :

from spotify_local import SpotifyLocal

s = SpotifyLocal()
print(s.get_current_status())

But getting the following exception:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='pkfvvelrte.spotilocal.com', port=4381): Max retries exceeded with url: /simplecsrf/token.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x03503AF0>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed'))

Is the service no longer available? Thanks.

AbhayAysola commented 3 years ago

Got the same error, I think it's safe to assume this won't work. Also, did you find a replacement or an alternative for this?

AbhayAysola commented 3 years ago

Ah, just looked at one of the closed issues, it looks like the owner said it's deprecated. I actually wanted to use this so that I could connect to the local Spotify app instead of the Web API

Dhyey-Thummar commented 1 year ago

Same, I was looking into ways to control the Spotify app in Windows.

In Linux, there is a way: https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/td-p/4295625

But couldn't find anything similar to in windows.