mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
fixes #2559 - movie.nfo being ignored
This commit is contained in:
parent
d826b98449
commit
401d82eea7
@ -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;
|
||||
|
@ -51,6 +51,11 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
//}
|
||||
|
||||
list.Add(Path.ChangeExtension(item.Path, ".nfo"));
|
||||
|
||||
if (!item.IsInMixedFolder)
|
||||
{
|
||||
list.Add(Path.Combine(item.ContainingFolderPath, "movie.nfo"));
|
||||
}
|
||||
}
|
||||
|
||||
return list;
|
||||
|
Loading…
Reference in New Issue
Block a user