using System;
namespace MediaBrowser.Model.Entities.TV
{
public class Season : Folder
{
///
/// Store these to reduce disk access in Episode Resolver
///
public string[] MetadataFiles { get; set; }
///
/// Determines if the metafolder contains a given file
///
public bool ContainsMetadataFile(string file)
{
for (int i = 0; i < MetadataFiles.Length; i++)
{
if (MetadataFiles[i].Equals(file, StringComparison.OrdinalIgnoreCase))
{
return true;
}
}
return false;
}
}
}