|
|
@ -62,6 +62,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_In_Cinemas_Date", movie.MovieMetadata.Value.InCinemas.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_In_Cinemas_Date", movie.MovieMetadata.Value.InCinemas.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_Physical_Release_Date", movie.MovieMetadata.Value.PhysicalRelease.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_Physical_Release_Date", movie.MovieMetadata.Value.PhysicalRelease.ToString() ?? string.Empty);
|
|
|
|
|
|
|
|
environmentVariables.Add("Radarr_Movie_Overview", movie.MovieMetadata.Value.Overview);
|
|
|
|
environmentVariables.Add("Radarr_Release_Title", remoteMovie.Release.Title);
|
|
|
|
environmentVariables.Add("Radarr_Release_Title", remoteMovie.Release.Title);
|
|
|
|
environmentVariables.Add("Radarr_Release_Indexer", remoteMovie.Release.Indexer ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Release_Indexer", remoteMovie.Release.Indexer ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Release_Size", remoteMovie.Release.Size.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Release_Size", remoteMovie.Release.Size.ToString());
|
|
|
@ -97,6 +98,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_In_Cinemas_Date", movie.MovieMetadata.Value.InCinemas.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_In_Cinemas_Date", movie.MovieMetadata.Value.InCinemas.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_Physical_Release_Date", movie.MovieMetadata.Value.PhysicalRelease.ToString() ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_Physical_Release_Date", movie.MovieMetadata.Value.PhysicalRelease.ToString() ?? string.Empty);
|
|
|
|
|
|
|
|
environmentVariables.Add("Radarr_Movie_Overview", movie.MovieMetadata.Value.Overview);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Id", movieFile.Id.ToString());
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Id", movieFile.Id.ToString());
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_RelativePath", movieFile.RelativePath);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_RelativePath", movieFile.RelativePath);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Path", Path.Combine(movie.Path, movieFile.RelativePath));
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Path", Path.Combine(movie.Path, movieFile.RelativePath));
|
|
|
@ -190,6 +192,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
environmentVariables.Add("Radarr_Movie_Path", movie.Path);
|
|
|
|
environmentVariables.Add("Radarr_Movie_Path", movie.Path);
|
|
|
|
environmentVariables.Add("Radarr_Movie_ImdbId", movie.MovieMetadata.Value.ImdbId ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_ImdbId", movie.MovieMetadata.Value.ImdbId ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
|
|
|
|
environmentVariables.Add("Radarr_Movie_Overview", movie.MovieMetadata.Value.Overview);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Id", movieFile.Id.ToString());
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Id", movieFile.Id.ToString());
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_RelativePath", movieFile.RelativePath);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_RelativePath", movieFile.RelativePath);
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Path", Path.Combine(movie.Path, movieFile.RelativePath));
|
|
|
|
environmentVariables.Add("Radarr_MovieFile_Path", Path.Combine(movie.Path, movieFile.RelativePath));
|
|
|
@ -217,6 +220,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|
|
|
environmentVariables.Add("Radarr_Movie_ImdbId", movie.MovieMetadata.Value.ImdbId ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_ImdbId", movie.MovieMetadata.Value.ImdbId ?? string.Empty);
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_TmdbId", movie.MovieMetadata.Value.TmdbId.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_DeletedFiles", deleteMessage.DeletedFiles.ToString());
|
|
|
|
environmentVariables.Add("Radarr_Movie_DeletedFiles", deleteMessage.DeletedFiles.ToString());
|
|
|
|
|
|
|
|
environmentVariables.Add("Radarr_Movie_Overview", movie.MovieMetadata.Value.Overview);
|
|
|
|
|
|
|
|
|
|
|
|
if (deleteMessage.DeletedFiles && movie.MovieFile != null)
|
|
|
|
if (deleteMessage.DeletedFiles && movie.MovieFile != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|