New: Add path mapping for partial library updates in Plex Server Notifications

(cherry picked from commit de08d372677052f5dcf9ee689cd48282746bfbec)

Closes #8539
pull/8544/head
Qstick 2 years ago committed by Bogdan
parent 19a1f97be8
commit 9175c737d3

@ -46,10 +46,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
[FieldDefinition(5, Label = "Update Library", Type = FieldType.Checkbox)]
public bool UpdateLibrary { get; set; }
[FieldDefinition(6, Label = "Map Paths From", Type = FieldType.Textbox, Advanced = true, HelpText = "Radarr Path, Used to modify movie paths when Plex sees library path location differently from Radarr")]
[FieldDefinition(6, Label = "Map Paths From", Type = FieldType.Textbox, Advanced = true, HelpText = "Radarr path, used to modify movie paths when Plex sees library path location differently from Radarr")]
public string MapFrom { get; set; }
[FieldDefinition(7, Label = "Map Paths To", Type = FieldType.Textbox, Advanced = true, HelpText = "Plex Path, Used to modify movie paths when Plex sees library path location differently from Radarr")]
[FieldDefinition(7, Label = "Map Paths To", Type = FieldType.Textbox, Advanced = true, HelpText = "Plex path, used to modify movie paths when Plex sees library path location differently from Radarr")]
public string MapTo { get; set; }
public bool IsValid => !string.IsNullOrWhiteSpace(Host);

Loading…
Cancel
Save