Syncify is a tool for synchronising and fetching content from Spotify or YouTube playlists via yt-dlp.
services:
syncify:
image: thewicklowwolf/syncify:latest
container_name: syncify
volumes:
- /path/to/config:/syncify/config
- /data/media/syncify:/syncify/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 5000:5000
environment:
- thread_limit=1
- crop_album_art=false
restart: unless-stopped
Certain values can be set via environment variables:
- PUID: The user ID to run the app with. Defaults to
1000
. - PGID: The group ID to run the app with. Defaults to
1000
. - thread_limit: Max number of threads to use. Defaults to
1
. - crop_album_art: Set this to
true
to force the creation of square album art instead of using the 16:9 aspect ratio from YouTube. Defaults tofalse
.
Use a comma-separated list of hours to search for new tracks (e.g. 2, 20
will initiate a search at 2 AM and 8 PM).
Note: There is a deadband of up to 10 minutes from the scheduled start time.
To utilize a cookies file with yt-dlp, follow these steps:
-
Generate Cookies File: Open your web browser and use a suitable extension (e.g. cookies.txt for Firefox) to extract cookies for a user on YT.
-
Save Cookies File: Save the obtained cookies into a file named
cookies.txt
and put it into the config folder.