User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:spotizerr [2025/03/25 07:39] willyservices:spotizerr [2025/03/25 08:28] (current) willy
Line 17: Line 17:
 chown spotizerr:media /var/log/spotizerr chown spotizerr:media /var/log/spotizerr
 su - spotizerr su - spotizerr
-wget https://raw.githubusercontent.com/Xoconoch/spotizerr/refs/heads/main/docker-compose.yaml+wget https://raw.githubusercontent.com/Xoconoch/spotizerr/refs/heads/main/docker-compose.yml
 </code> </code>
  
  
-<file - docker-compose.yaml>+<file - docker-compose.yml>
 name: spotizerr name: spotizerr
  
Line 78: Line 78:
  
 ===== Configuration ===== ===== Configuration =====
 +
 +You need to have your Spotify app on the phone and on the same network as the server.
 +
 +<code bash>
 +it clone --depth 1 https://github.com/dspearson/librespot-auth.git
 +podman run --rm -v "$(pwd)/librespot-auth":/app -w /app rust:latest cargo build --release
 +./librespot-auth/target/release/librespot-auth --name "mySpotifyAccount1" --class=computer
 +</code>
 +
 +open the app and add the device called mySpotifyAccount1
 +This file has the following format:
 +
 +{"username": "string" "auth_type": 1 "auth_data": "string"}
 +
 +The important ones are the "username" and "auth_data" parameters, these match the "username" and "credentials" sections respectively when adding/editing spotify credentials in Spotizerr.
 +
 +In the terminal, you can directly print these parameters using jq:
 +
 +jq -r '.username, .auth_data' credentials.json
 +
 +see [[https://github.com/Xoconoch/spotizerr|here]]
 +
 +work in progress
  
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information