Handle Jellyfin versions before 10.9
This commit is contained in:
parent
edd03afee7
commit
6634e46b8c
|
@ -1,23 +0,0 @@
|
||||||
using System;
|
|
||||||
using NzbDrone.Common.Exceptions;
|
|
||||||
|
|
||||||
namespace NzbDrone.Core.Notifications.Emby
|
|
||||||
{
|
|
||||||
public class MediaBrowserException : NzbDroneException
|
|
||||||
{
|
|
||||||
public MediaBrowserException(string message)
|
|
||||||
: base(message)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public MediaBrowserException(string message, params object[] args)
|
|
||||||
: base(message, args)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public MediaBrowserException(string message, Exception innerException)
|
|
||||||
: base(message, innerException)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -92,9 +92,11 @@ namespace NzbDrone.Core.Notifications.Emby
|
||||||
|
|
||||||
return paths.ToHashSet();
|
return paths.ToHashSet();
|
||||||
}
|
}
|
||||||
catch (InvalidOperationException ex)
|
catch (InvalidOperationException)
|
||||||
{
|
{
|
||||||
throw new MediaBrowserException("Could not find series by name", ex);
|
_logger.Trace("Could not find series by name.");
|
||||||
|
|
||||||
|
return new HashSet<string>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue