mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 04:34:18 +01:00
fixes #2559 - movie.nfo being ignored
This commit is contained in:
@@ -120,10 +120,14 @@ namespace MediaBrowser.Controller.Providers
|
||||
{
|
||||
file = _fileSystem.GetFileInfo(path);
|
||||
|
||||
if (file != null)
|
||||
if (file != null && file.Exists)
|
||||
{
|
||||
_fileCache.TryAdd(path, file);
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
return file;
|
||||
|
||||
Reference in New Issue
Block a user