2024-10-25 14:31:50 -04:00
|
|
|
// Copyright (C) 2024 Intro-Skipper contributors <intro-skipper.org>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-only.
|
2024-10-25 14:15:12 -04:00
|
|
|
|
2022-05-01 00:33:22 -05:00
|
|
|
using System;
|
|
|
|
|
2024-10-19 23:50:41 +02:00
|
|
|
namespace IntroSkipper.Data;
|
2022-05-01 00:33:22 -05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Episode queued for analysis.
|
|
|
|
/// </summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
public class QueuedEpisode
|
|
|
|
{
|
2022-05-01 00:33:22 -05:00
|
|
|
/// <summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
/// Gets or sets the series name.
|
2022-05-01 00:33:22 -05:00
|
|
|
/// </summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
public string SeriesName { get; set; } = string.Empty;
|
2022-05-01 00:33:22 -05:00
|
|
|
|
|
|
|
/// <summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
/// Gets or sets the season number.
|
2022-05-01 00:33:22 -05:00
|
|
|
/// </summary>
|
|
|
|
public int SeasonNumber { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
/// Gets or sets the episode id.
|
2022-05-01 00:33:22 -05:00
|
|
|
/// </summary>
|
|
|
|
public Guid EpisodeId { get; set; }
|
|
|
|
|
2024-09-21 18:06:11 +02:00
|
|
|
/// <summary>
|
2024-11-21 15:42:55 +01:00
|
|
|
/// Gets or sets the season id.
|
2024-09-21 18:06:11 +02:00
|
|
|
/// </summary>
|
2024-11-21 15:42:55 +01:00
|
|
|
public Guid SeasonId { get; set; }
|
2024-09-21 18:06:11 +02:00
|
|
|
|
2024-06-15 13:16:47 +02:00
|
|
|
/// <summary>
|
2024-11-21 15:42:55 +01:00
|
|
|
/// Gets or sets the series id.
|
2024-06-15 13:16:47 +02:00
|
|
|
/// </summary>
|
2024-11-21 15:42:55 +01:00
|
|
|
public Guid SeriesId { get; set; }
|
2024-06-15 13:16:47 +02:00
|
|
|
|
2022-05-01 00:33:22 -05:00
|
|
|
/// <summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
/// Gets or sets the full path to episode.
|
2022-05-01 00:33:22 -05:00
|
|
|
/// </summary>
|
2022-05-09 22:50:41 -05:00
|
|
|
public string Path { get; set; } = string.Empty;
|
2022-05-01 00:33:22 -05:00
|
|
|
|
2022-05-30 02:23:36 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the episode.
|
|
|
|
/// </summary>
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
2024-06-15 13:16:47 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether an episode is Anime.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public bool IsAnime { get; set; }
|
2024-06-15 13:16:47 +02:00
|
|
|
|
2024-10-18 14:15:09 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether an item is a movie.
|
|
|
|
/// </summary>
|
|
|
|
public bool IsMovie { get; set; }
|
|
|
|
|
2024-11-21 15:42:55 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether an episode has been analyzed.
|
|
|
|
/// </summary>
|
|
|
|
public bool IsAnalyzed { get; set; }
|
|
|
|
|
2022-05-01 00:33:22 -05:00
|
|
|
/// <summary>
|
2022-11-26 02:28:40 -06:00
|
|
|
/// Gets or sets the timestamp (in seconds) to stop searching for an introduction at.
|
2022-05-01 00:33:22 -05:00
|
|
|
/// </summary>
|
2022-10-31 01:00:39 -05:00
|
|
|
public int IntroFingerprintEnd { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2022-11-26 02:28:40 -06:00
|
|
|
/// Gets or sets the timestamp (in seconds) to start looking for end credits at.
|
2022-10-31 01:00:39 -05:00
|
|
|
/// </summary>
|
|
|
|
public int CreditsFingerprintStart { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the total duration of this media file (in seconds).
|
|
|
|
/// </summary>
|
|
|
|
public int Duration { get; set; }
|
2022-05-01 00:33:22 -05:00
|
|
|
}
|