Skip to content

Find and download missing Lidarr albums via yt-dlp.

License

Notifications You must be signed in to change notification settings

TheWicklowWolf/LidaTube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Docker Pulls

LidaTube is a tool for finding and fetching missing Lidarr albums via yt-dlp.

Run using docker-compose

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

Configuration via environment variables

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.

Sync Schedule

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.

Cookies (optional)

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.


https://hub.docker.com/r/thewicklowwolf/lidatube