User Tools

Differences

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

Link to this comparison view

Next revision
Previous revision
services:spotizerr [2025/03/25 07:23] – created 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.yml>
-<file - docker-compose.yaml>+
 name: spotizerr name: spotizerr
  
Line 67: Line 66:
   spotizerr-net: {}   spotizerr-net: {}
 </file> </file>
 +
 +
 +<code bash>
 +podman compose pull
 +</code>
 +
 +
 +
 +===== Reverse Proxy =====
 +
 +
 +===== 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
 +
 +
 +===== Autostart =====
 +
 +<file - user-containers.spotizerr>
 +USER=spotizerr
 +DESCRIPTION="Spotify donwloader"
 +</file>
 +
 +<code bash>
 +ln -s user-containers user-containers.spotizerr
 +/etc/init.d/user-containers.spotizerr start
 +rc-update  user-containers.spotizerr
 +</code>
 +
 +

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