using System;
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
///
/// Episode queued for analysis.
///
public class QueuedEpisode
{
///
/// Gets or sets the series name.
///
public string SeriesName { get; set; } = string.Empty;
///
/// Gets or sets the season number.
///
public int SeasonNumber { get; set; }
///
/// Gets or sets the episode id.
///
public Guid EpisodeId { get; set; }
///
/// Gets or sets the series id.
///
public Guid SeriesId { get; set; }
///
/// Gets the state of the episode.
///
public EpisodeState State => Plugin.Instance!.GetState(EpisodeId);
///
/// Gets or sets the full path to episode.
///
public string Path { get; set; } = string.Empty;
///
/// Gets or sets the name of the episode.
///
public string Name { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether an episode is Anime.
///
public bool IsAnime { get; set; }
///
/// Gets or sets a value indicating whether an item is a movie.
///
public bool IsMovie { get; set; }
///
/// Gets or sets the timestamp (in seconds) to stop searching for an introduction at.
///
public int IntroFingerprintEnd { get; set; }
///
/// Gets or sets the timestamp (in seconds) to start looking for end credits at.
///
public int CreditsFingerprintStart { get; set; }
///
/// Gets or sets the total duration of this media file (in seconds).
///
public int Duration { get; set; }
}