From e31dc3df20d2ba0b8763d115d89b7d3ebab9c7de Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 26 May 2018 23:57:14 -0400 Subject: [PATCH] Updated Custom Post Processing Scripts (markdown) --- Custom-Post-Processing-Scripts.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index af9ff5c..6fc6e2a 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -27,7 +27,8 @@ Lidarr can execute a custom script when new albums are imported or a artist is r | lidarr_download_client | The client the torrent/NZB was passed to | | lidarr_download_id | The hash of the torrent/NZB file downloaded (used to uniquely identify the download in the download client) | -##### On Download/On Upgrade ##### + +##### On Album Download ##### | Environment Variable | Details | |---|---| @@ -57,6 +58,24 @@ Lidarr can execute a custom script when new albums are imported or a artist is r | lidarr_download_client | The client the torrent/NZB was passed to | | lidarr_download_id | The hash of the torrent/NZB file downloaded (used to uniquely identify the download in the download client) | +##### On Track Download/On Upgrade ##### + +| Environment Variable | Details | +|---|---| +| lidarr_eventtype | Download | +| lidarr_artist_id | Internal ID of the artist | +| lidarr_artist_name | Name of the artist | +| lidarr_artist_path | Full path to the artist | +| lidarr_artist_mbid | MusicBrainz ID for the artist | +| lidarr_artist_type | Type of the artist, Person, Group, etc. | +| lidarr_album_title | Title of the downloaded album. | +| lidarr_addedrelativepaths | Pipe (`\|`) separated list of files that were added to import this file | +| lidarr_addedpaths| Pipe (`\|`) separated list of full paths for files that were added to import this file | +| lidarr_deletedrelativepaths | Pipe (`\|`) separated list of files that were deleted to import this file | +| lidarr_deletedpaths| Pipe (`\|`) separated list of full paths for files that were deleted to import this file | +| lidarr_download_client | The client the torrent/NZB was passed to | +| lidarr_download_id | The hash of the torrent/NZB file downloaded (used to uniquely identify the download in the download client) | + ##### On Rename ##### | Environment Variable | Details |