mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-25 17:35:07 -04:00
Fixed: Refreshing Plex library on a different OS
This commit is contained in:
@@ -102,12 +102,19 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||
{
|
||||
foreach (var location in section.Locations)
|
||||
{
|
||||
if (location.Path.PathEquals(rootFolderPath))
|
||||
try
|
||||
{
|
||||
_logger.Debug("Updating matching section location, {0}", location.Path);
|
||||
UpdateSectionPath(seriesRelativePath, section, location, settings);
|
||||
if (location.Path.PathEquals(rootFolderPath))
|
||||
{
|
||||
_logger.Debug("Updating matching section location, {0}", location.Path);
|
||||
UpdateSectionPath(seriesRelativePath, section, location, settings);
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
// Swallow argument exception that is thrown by path comparison when comparing paths from different OSes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user