Kilian von Pflugk 0d4bb295cc 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-08-08 04:48:01 -04: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();
}
}