1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

New: Add Languages to Webhook Notifications

(cherry picked from commit e039dc45e267cf717e00c0a49ba637012f37e3d7)

Closes #10733
This commit is contained in:
Stevie Robinson
2024-12-02 01:16:36 +01:00
committed by Bogdan
parent a6d727fe2a
commit 9a107cc8d7
3 changed files with 10 additions and 0 deletions
@@ -1,4 +1,6 @@
using System;
using System.Collections.Generic;
using NzbDrone.Core.Languages;
using NzbDrone.Core.MediaFiles;
namespace NzbDrone.Core.Notifications.Webhook
@@ -21,6 +23,7 @@ namespace NzbDrone.Core.Notifications.Webhook
IndexerFlags = movieFile.IndexerFlags.ToString();
Size = movieFile.Size;
DateAdded = movieFile.DateAdded;
Languages = movieFile.Languages;
if (movieFile.MediaInfo != null)
{
@@ -38,6 +41,7 @@ namespace NzbDrone.Core.Notifications.Webhook
public string IndexerFlags { get; set; }
public long Size { get; set; }
public DateTime DateAdded { get; set; }
public List<Language> Languages { get; set; }
public WebhookMovieFileMediaInfo MediaInfo { get; set; }
public string SourcePath { get; set; }
public string RecycleBinPath { get; set; }