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 |