mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
fixes #353 - Path not found stopping library scan
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user