mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #10339 from leovan/master
This commit is contained in:
commit
1279df2032
@ -60,13 +60,13 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
yield return Path.ChangeExtension(item.Path, ".nfo");
|
|
||||||
|
|
||||||
// only allow movie object to read movie.nfo, not owned videos (which will be itemtype video, not movie)
|
// only allow movie object to read movie.nfo, not owned videos (which will be itemtype video, not movie)
|
||||||
if (!item.IsInMixedFolder && item.ItemType == typeof(Movie))
|
if (!item.IsInMixedFolder && item.ItemType == typeof(Movie))
|
||||||
{
|
{
|
||||||
yield return Path.Combine(item.ContainingFolderPath, "movie.nfo");
|
yield return Path.Combine(item.ContainingFolderPath, "movie.nfo");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
yield return Path.ChangeExtension(item.Path, ".nfo");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user