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
|
@ -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…
Reference in New Issue
Block a user