mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-07 18:24:19 -04:00
fixes #353 - Path not found stopping library scan
This commit is contained in:
parent
92cd71143d
commit
db607a618b
@ -536,6 +536,8 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
Parallel.ForEach(files, f =>
|
Parallel.ForEach(files, f =>
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
{
|
||||||
|
if (f.Exists)
|
||||||
{
|
{
|
||||||
var item = ResolvePath(f, parent) as T;
|
var item = ResolvePath(f, parent) as T;
|
||||||
|
|
||||||
@ -547,6 +549,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.ErrorException("Error resolving path {0}", ex, f.FullName);
|
_logger.ErrorException("Error resolving path {0}", ex, f.FullName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user