diff --git a/Source/Plex.ServerApi/PlexModels/Server/Sessions/Part.cs b/Source/Plex.ServerApi/PlexModels/Server/Sessions/Part.cs index 203797a..edc62d9 100644 --- a/Source/Plex.ServerApi/PlexModels/Server/Sessions/Part.cs +++ b/Source/Plex.ServerApi/PlexModels/Server/Sessions/Part.cs @@ -21,7 +21,7 @@ public class Part public string Key { get; set; } [JsonPropertyName("size")] - public int Size { get; set; } + public long Size { get; set; } [JsonPropertyName("videoProfile")] public string VideoProfile { get; set; } diff --git a/Source/Plex.ServerApi/PlexModels/Server/Sessions/SessionMetadata.cs b/Source/Plex.ServerApi/PlexModels/Server/Sessions/SessionMetadata.cs index bf97feb..ca01141 100644 --- a/Source/Plex.ServerApi/PlexModels/Server/Sessions/SessionMetadata.cs +++ b/Source/Plex.ServerApi/PlexModels/Server/Sessions/SessionMetadata.cs @@ -85,7 +85,7 @@ public class SessionMetadata public string ParentTitle { get; set; } [JsonPropertyName("rating")] - public string Rating { get; set; } + public double Rating { get; set; } [JsonPropertyName("studio")] public string Studio { get; set; } @@ -118,7 +118,7 @@ public class SessionMetadata public long ViewOffset { get; set; } [JsonPropertyName("year")] - public string Year { get; set; } + public int Year { get; set; } [JsonPropertyName("Media")] public List Media { get; set; } diff --git a/Source/Plex.ServerApi/PlexModels/Server/Sessions/Stream.cs b/Source/Plex.ServerApi/PlexModels/Server/Sessions/Stream.cs index 40f5207..13308b5 100644 --- a/Source/Plex.ServerApi/PlexModels/Server/Sessions/Stream.cs +++ b/Source/Plex.ServerApi/PlexModels/Server/Sessions/Stream.cs @@ -32,7 +32,7 @@ public class Stream public float FrameRate { get; set; } [JsonPropertyName("hasScalingMatrix")] - public string HasScalingMatrix { get; set; } + public bool HasScalingMatrix { get; set; } [JsonPropertyName("height")] public int Height { get; set; } @@ -50,13 +50,13 @@ public class Stream public string LanguageCode { get; set; } [JsonPropertyName("level")] - public string Level { get; set; } + public int Level { get; set; } [JsonPropertyName("profile")] public string Profile { get; set; } [JsonPropertyName("refFrames")] - public string RefFrames { get; set; } + public int RefFrames { get; set; } [JsonPropertyName("scanType")] public string ScanType { get; set; }