1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-16 07:19:51 +02:00

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

(cherry picked from commit de08d372677052f5dcf9ee689cd48282746bfbec)

Closes #8539
This commit is contained in:
Qstick 2022-04-21 22:49:09 -05:00 committed by Bogdan
parent 19a1f97be8
commit 9175c737d3

View File

@ -46,10 +46,10 @@ public PlexServerSettings()
[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);