spotify-notify
spotify-notify copied to clipboard
Spotify service not connected
I just downloaded and started the script. Unfortunately it doesn't work. With -d I get the following output:
$ ./spotify-notify.py -d
Spotify-notify v0.6
>> No spotify process identifier found.
>> Connecting to spotify.
>> Failed to connect.
>> org.freedesktop.DBus.Error.ServiceUnknown: The name com.spotify.qt was not provided by any .service files
>> My pid: 7108
>> Looking for other processes named: spotify-notify.
>> Spotify service not connected.
>> Spotify service not connected.
>> Spotify service not connected.
>> Spotify service not connected.
>> Spotify service not connected.
>> Spotify service not connected.
>> Spotify service not connected.
^CTraceback (most recent call last):
File "./spotify-notify.py", line 476, in <module>
loop.run()
Hi,
the script tries to find spotify using 'which spotify' on the command line. Could you run this command and observe the output?
Also, you can manually edit SPOTIFY_PROCESS_NAME in the python file to the path of your Spotify binary to avoid the autodetection.