mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04: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:
@@ -46,10 +46,10 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
|||||||
[FieldDefinition(5, Label = "Update Library", Type = FieldType.Checkbox)]
|
[FieldDefinition(5, Label = "Update Library", Type = FieldType.Checkbox)]
|
||||||
public bool UpdateLibrary { get; set; }
|
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; }
|
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 string MapTo { get; set; }
|
||||||
|
|
||||||
public bool IsValid => !string.IsNullOrWhiteSpace(Host);
|
public bool IsValid => !string.IsNullOrWhiteSpace(Host);
|
||||||
|
|||||||
Reference in New Issue
Block a user