only store relevant info in the xml and make it a lot smaller
This commit is contained in:
parent
1cd4451c31
commit
1b6ca78e5c
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using System.Runtime.Serialization;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
||||||
@ -8,6 +9,7 @@ namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
|||||||
/// Result of fingerprinting and analyzing two episodes in a season.
|
/// Result of fingerprinting and analyzing two episodes in a season.
|
||||||
/// All times are measured in seconds relative to the beginning of the media file.
|
/// All times are measured in seconds relative to the beginning of the media file.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DataContract]
|
||||||
public class Intro
|
public class Intro
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -54,6 +56,7 @@ public class Intro
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Episode ID.
|
/// Gets or sets the Episode ID.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DataMember]
|
||||||
public Guid EpisodeId { get; set; }
|
public Guid EpisodeId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -71,11 +74,13 @@ public class Intro
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the introduction sequence start time.
|
/// Gets or sets the introduction sequence start time.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DataMember]
|
||||||
public double IntroStart { get; set; }
|
public double IntroStart { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the introduction sequence end time.
|
/// Gets or sets the introduction sequence end time.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DataMember]
|
||||||
public double IntroEnd { get; set; }
|
public double IntroEnd { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user