Skip to content

Commit

Permalink
Merge pull request #88 from Ombrelin/master
Browse files Browse the repository at this point in the history
New batch of type corrections
  • Loading branch information
jensenkd authored Oct 10, 2022
2 parents 929eceb + 49fcbc9 commit 86c5ddf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Source/Plex.ServerApi/PlexModels/Server/Sessions/Part.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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<Medium> Media { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions Source/Plex.ServerApi/PlexModels/Server/Sessions/Stream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -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; }
Expand Down

0 comments on commit 86c5ddf

Please sign in to comment.