|
|
|
@ -47,6 +47,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
|
environmentVariables.Add("Lidarr_Release_AlbumCount", remoteAlbum.Albums.Count.ToString());
|
|
|
|
|
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_AlbumMBIds", string.Join("|", remoteAlbum.Albums.Select(e => e.ForeignAlbumId)));
|
|
|
|
|
environmentVariables.Add("Lidarr_Release_Title", remoteAlbum.Release.Title);
|
|
|
|
|
environmentVariables.Add("Lidarr_Release_Indexer", remoteAlbum.Release.Indexer ?? string.Empty);
|
|
|
|
|
environmentVariables.Add("Lidarr_Release_Size", remoteAlbum.Release.Size.ToString());
|
|
|
|
|