Package Information
Available Nodes
Documentation
n8n-nodes-lidarr
This is an n8n community node for interacting with the Lidarr API. It allows you to automate your music library management through n8n workflows.
n8n is a fair-code licensed workflow automation platform.
Lidarr is a music collection manager for Usenet and BitTorrent users.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm
npm install n8n-nodes-lidarr
Manual installation
- Clone this repository
- Run
npm installto install dependencies - Run
npm run buildto build the node - Copy the built files to your n8n custom nodes directory
Operations
The Lidarr node supports the following resources and operations:
Artist
- Create: Add a new artist to your library
- Delete: Remove an artist from your library
- Get: Retrieve information about a specific artist
- Get All: Get all artists in your library
- Lookup: Search for an artist to add
- Update: Update an existing artist
Album
- Create: Add a new album (requires Foreign Album ID from Lookup operation)
- Delete: Remove an album
- Get: Get information about a specific album
- Get All: Get all albums (optionally filtered by artist)
- Lookup: Search for an album to add (returns MusicBrainz IDs needed for Create)
- Update: Update an existing album
Calendar
- Get: Get upcoming album releases
Command
- Execute: Execute a Lidarr command (e.g., Refresh Artist, Album Search, RSS Sync)
- Get: Get the status of a command
- Get All: Get all commands
Queue
- Get All: Get all items in the download queue
- Delete: Remove an item from the queue
System
- Get Status: Get system status information
Wanted
- Get Cutoff: Get albums that don't meet the quality cutoff
Credentials
To use this node, you need to configure Lidarr API credentials:
- Go to your Lidarr instance
- Navigate to Settings > General > Security
- Copy your API Key
- In n8n, create new Lidarr API credentials with:
- Host: Your Lidarr URL (default: http://localhost:8686)
- API Key: The API key from Lidarr
Usage Examples
Adding an Album
To add an album to your Lidarr library, you need to use a two-step process:
Lookup: Use the Album Lookup operation to search for the album you want to add
- Set Resource to "Album"
- Set Operation to "Lookup"
- Enter your search term (e.g., "Dark Side of the Moon Pink Floyd")
- This returns results with
foreignAlbumId(MusicBrainz ID)
Create: Use the Album Create operation to add the album
- Set Resource to "Album"
- Set Operation to "Create"
- Enter the
foreignAlbumIdfrom the Lookup result - Optionally set Artist ID, Monitored status, and other options
- Set "Search for New Album" to true to automatically search for the album after adding
The same workflow applies to adding artists (Artist Lookup → Artist Create).
Compatibility
- Lidarr API v1
- n8n version 0.174.0 or higher
Resources
License
Author
Martien - hello@martien.io