mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-26 16:45:23 +00:00
Update MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs
Apply code review Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
04f23a0e73
commit
4f0615452b
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
|||
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)
|
||||
if (!item.IsInMixedFolder && item.ItemType.Equals(typeof(Movie)))
|
||||
if (!item.IsInMixedFolder && item.ItemType == typeof(Movie))
|
||||
{
|
||||
yield return Path.Combine(item.ContainingFolderPath, "movie.nfo");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue