Kilian von Pflugk a7db712acf
add option to edit intros/credits (#223)
new API Endpoint: ´Episode/{Id}/Timestamps´

HTTP POST to update Timestamps.
HTTP GET to receive the unmodified Timestamps. If Intro/Outro not exists the API returns 0
2024-07-27 21:11:01 +00:00

20 lines
579 B
C#

namespace ConfusedPolarBear.Plugin.IntroSkipper.Data
{
/// <summary>
/// Result of fingerprinting and analyzing two episodes in a season.
/// All times are measured in seconds relative to the beginning of the media file.
/// </summary>
public class TimeStamps
{
/// <summary>
/// Gets or sets Introduction.
/// </summary>
public Intro Introduction { get; set; } = new Intro();
/// <summary>
/// Gets or sets Credits.
/// </summary>
public Intro Credits { get; set; } = new Intro();
}
}