spotify-local icon indicating copy to clipboard operation
spotify-local copied to clipboard

Lib no longer working?

Open Dor-Sloim opened this issue 5 years ago • 3 comments

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.

Dor-Sloim avatar May 03 '20 10:05 Dor-Sloim

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 avatar Jan 31 '21 09:01 AbhayAysola

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

AbhayAysola avatar Jan 31 '21 09:01 AbhayAysola

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.

Dhyey-Thummar avatar Jun 15 '23 04:06 Dhyey-Thummar