Skip to content

Music discovery tool that provides recommendations based on selected Lidarr artists, using Spotify or LastFM.

License

Notifications You must be signed in to change notification settings

TheWicklowWolf/Lidify

 
 

Repository files navigation

Build Status Docker Pulls

image

Music discovery tool that provides recommendations based on selected Lidarr artists.

Note:

As of November 2024 changes to the Spotify API prevent its use in this application, see #24 for details.
This application now exclusively supports Last.fm. To integrate it, log in to your Last.fm account and create an API account at this page. Then, copy the provided API key and secret into the Docker Compose configuration.

Run using docker-compose

services:
  lidify:
    image: thewicklowwolf/lidify:latest
    container_name: lidify
    volumes:
      - /path/to/config:/lidify/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 5000:5000
    restart: unless-stopped
    environment:
      - last_fm_api_key=<insert>
      - last_fm_api_secret=<insert>
      - mode=LastFM

Configuration via environment variables

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.
  • lidarr_address: The URL for Lidarr. Defaults to http://192.168.1.2:8686. Can be configured from the application as well.
  • lidarr_api_key: The API key for Lidarr. Defaults to ``. Can be configured from the application as well.
  • root_folder_path: The root folder path for music. Defaults to /data/media/music/. Can be configured from the application as well.
  • spotify_client_id: The Client ID for Spotify. Defaults to ``. Can be configured from the application as well, but see #24 .
  • spotify_client_secret: The Client Secret for Spotify. Defaults to ``. Can be configured from the application as well, but see #24 .
  • fallback_to_top_result: Whether to use the top result if no match is found. Defaults to False.
  • lidarr_api_timeout: Timeout duration for Lidarr API calls. Defaults to 120.
  • quality_profile_id: Quality profile ID in Lidarr. Defaults to 1.
  • metadata_profile_id: Metadata profile ID in Lidarr. Defaults to 1
  • search_for_missing_albums: Whether to start searching for albums when adding artists. Defaults to False
  • dry_run_adding_to_lidarr: Whether to run without adding artists in Lidarr. Defaults to False
  • app_name: Name of the application. Defaults to Lidify.
  • app_rev: Application revision. Defaults to 0.01.
  • app_url: URL of the application. Defaults to Random URL.
  • last_fm_api_key: The API key for LastFM. Defaults to ``.
  • last_fm_api_secret: The API secret for LastFM. Defaults to ``.
  • mode: Mode for discovery (Spotify or LastFM). Defaults to Spotify.
  • auto_start: Whether to run automatically at startup. Defaults to False.
  • auto_start_delay: Delay duration for Auto Start in Seconds (if enabled). Defaults to 60.

image

image


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