Update MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs

Apply code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
SenorSmartyPants 2023-02-27 12:01:29 -06:00
parent 04f23a0e73
commit 4f0615452b
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}