You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
757 B
29 lines
757 B
using System;
|
|
|
|
namespace MediaBrowser.Controller.Entities.TV
|
|
{
|
|
public class Season : Folder
|
|
{
|
|
/// <summary>
|
|
/// Store these to reduce disk access in Episode Resolver
|
|
/// </summary>
|
|
public string[] MetadataFiles { get; set; }
|
|
|
|
/// <summary>
|
|
/// Determines if the metafolder contains a given file
|
|
/// </summary>
|
|
public bool ContainsMetadataFile(string file)
|
|
{
|
|
for (int i = 0; i < MetadataFiles.Length; i++)
|
|
{
|
|
if (MetadataFiles[i].Equals(file, StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|
|
}
|