mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 17:47:08 +00:00
Fixed: Custom script execution when release processed via /push API
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
ae6f8190a4
commit
570a23e143
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public override void OnGrab(GrabMessage message)
|
|||
environmentVariables.Add("Lidarr_Release_AlbumReleaseDates", string.Join(",", remoteAlbum.Albums.Select(e => e.ReleaseDate)));
|
||||
environmentVariables.Add("Lidarr_Release_AlbumTitles", string.Join("|", remoteAlbum.Albums.Select(e => e.Title)));
|
||||
environmentVariables.Add("Lidarr_Release_Title", remoteAlbum.Release.Title);
|
||||
environmentVariables.Add("Lidarr_Release_Indexer", remoteAlbum.Release.Indexer);
|
||||
environmentVariables.Add("Lidarr_Release_Indexer", remoteAlbum.Release.Indexer ?? string.Empty);
|
||||
environmentVariables.Add("Lidarr_Release_Size", remoteAlbum.Release.Size.ToString());
|
||||
environmentVariables.Add("Lidarr_Release_Quality", remoteAlbum.ParsedAlbumInfo.Quality.Quality.Name);
|
||||
environmentVariables.Add("Lidarr_Release_QualityVersion", remoteAlbum.ParsedAlbumInfo.Quality.Revision.Version.ToString());
|
||||
|
|
Loading…
Reference in a new issue