Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/8530e698782d16517359f594575bf9bfbb5cd6bb/MediaBrowser.Model/Entities/TV/Season.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|