using Jellyfin.Database.Implementations.Entities;
namespace Jellyfin.Database.Implementations.MatchCriteria;
///
/// Matches folders containing descendants with a specific media stream type and language.
///
/// The type of media stream to match (Audio, Subtitle, etc.).
/// The language to match.
/// If not null, filters by internal (false) or external (true) streams. Only applicable to subtitles.
public sealed record HasMediaStreamType(
MediaStreamTypeEntity StreamType,
string Language,
bool? IsExternal = null) : FolderMatchCriteria;