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