diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Data/Intro.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Data/Intro.cs index d3bbf22..8df7e79 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Data/Intro.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Data/Intro.cs @@ -1,5 +1,6 @@ using System; using System.Globalization; +using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace ConfusedPolarBear.Plugin.IntroSkipper.Data; @@ -8,6 +9,7 @@ namespace ConfusedPolarBear.Plugin.IntroSkipper.Data; /// Result of fingerprinting and analyzing two episodes in a season. /// All times are measured in seconds relative to the beginning of the media file. /// +[DataContract] public class Intro { /// @@ -54,6 +56,7 @@ public class Intro /// /// Gets or sets the Episode ID. /// + [DataMember] public Guid EpisodeId { get; set; } /// @@ -71,11 +74,13 @@ public class Intro /// /// Gets or sets the introduction sequence start time. /// + [DataMember] public double IntroStart { get; set; } /// /// Gets or sets the introduction sequence end time. /// + [DataMember] public double IntroEnd { get; set; } ///