i tried to create spotify with claude "ai" bsed on librespot in python. i couldn't test login with password. if one has created the account with a google account or facebook account i could only get it to work with a cookie from the browser on the pc. you may have to run "/opt/wunderw/bin/python3.11 -m pip install /opt/meespot/wheels/pycryptodomex-3_23_0-cp37-abi3-li
nux_armv7l.whl " and "/opt/wunderw/bin/python3.11 -m pip install librespot". you can run this command, after you got sp_dc, sp_key and __Host-device_id without quotes: "wget -O - --post-data='{"cookies":"sp_dc=...; sp_key=...; __Host-device_id=..."}' --header="Content-Type: application/json" http://127.0.0.1:18889/login/"
Firefox (Desktop)
- Open Firefox and go to https://open.spotify.com
- Log in with your Spotify account (Facebook/Google/Apple login works here)
- Press F12 to open Developer Tools
- Click the Storage tab
- In the left sidebar, expand Cookies
- Click on https://open.spotify.com
- Find the cookie named sp_dc
- Double-click the Value column to select it
- Copy the value (Ctrl+C)
- In MeeSpot, paste as: sp_dc=YOUR_COPIED_VALUE
Chrome (Desktop)
- Open Chrome and go to https://open.spotify.com
- Log in with your Spotify account
- Press F12 to open Developer Tools
- Click the Application tab
- In the left sidebar, find Storage → Cookies
- Click on https://open.spotify.com
- Find the cookie named sp_dc
- Double-click the Value column to select it
- Copy the value (Ctrl+C)
- In MeeSpot, paste as: sp_dc=YOUR_COPIED_VALUE
Using a Cookie Extension (Easiest)
Recommended: Cookie-Editor
- Install Cookie-Editor extension:
- Go to https://open.spotify.com and log in
- Click the Cookie-Editor icon in your browser toolbar
- Find the cookie named sp_dc
- Click on it to see the value
- Copy the value
- In MeeSpot, paste as: sp_dc=YOUR_COPIED_VALUE
Comments
pherjung
Tue, 2025/12/30 - 17:23
Permalink
Why not contribute to https://github.com/sailfish-spotify/hutspot/? It already uses librespot ;)