LidaTube is a tool for finding and fetching missing Lidarr albums via yt-dlp.
services:
lidatube:
image: thewicklowwolf/lidatube:latest
container_name: lidatube
volumes:
- /path/to/config:/lidatube/config
- /data/media/lidatube:/lidatube/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 5000:5000
restart: unless-stopped
Certain values can be set via environment variables:
- lidarr_address: The URL for Lidarr. Defaults to
http://192.168.1.2:8686
. - lidarr_api_key: The API key for Lidarr. Defaults to ``.
- lidarr_api_timeout: Timeout duration for Lidarr API calls. Defaults to
120
. - thread_limit: Max number of threads to use. Defaults to
1
. - sleep_interval: Interval to sleep. Defaults to
0
. - fallback_to_top_result: Whether to use the top result if no match is found. Defaults to
False
. - library_scan_on_completion: Whether to scan Lidarr Library on completion. Defaults to
True
. - sync_schedule: Schedule times to run (comma seperated values in 24hr). Defaults to ``
- minimum_match_ratio: Minimum percentage for a match. Defaults to
90
- secondary_search: Method for secondary search (YTS or YTDLP). Defaults to
YTS
. - preferred_codec: Preferred codec (mp3). Defaults to
mp3
. - attempt_lidarr_import: Attempt to import each song directly into Lidarr. Defaults to
False
.
Use a comma-separated list of hours to start sync (e.g. 2, 20
will initiate a sync 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.