MCPcopy Index your code
hub / github.com/TheWicklowWolf/LidaTube

github.com/TheWicklowWolf/LidaTube @v0.14

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.14 ↗ · + Follow
51 symbols 118 edges 5 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

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

Core symbols most depended-on inside this repo

remove_song_keywords
called by 4
src/_matcher.py
remove_album_keywords
called by 2
src/_matcher.py
save_config_to_file
called by 2
src/LidaTube.py
add_items_to_download
called by 2
src/LidaTube.py
parse_sync_schedule
called by 2
src/LidaTube.py
load_environ_or_config_settings
called by 1
src/LidaTube.py
connect
called by 1
src/LidaTube.py
disconnect
called by 1
src/LidaTube.py

Shape

Method 25
Function 23
Route 2
Class 1

Languages

Python92%
TypeScript8%

Modules by API surface

src/LidaTube.py39 symbols
src/_matcher.py5 symbols
src/static/script.js4 symbols
src/_general.py3 symbols

For agents

$ claude mcp add LidaTube \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact