File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Source/Plex.ServerApi/PlexModels/Server/Sessions Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class Part
2121 public string Key { get ; set ; }
2222
2323 [ JsonPropertyName ( "size" ) ]
24- public int Size { get ; set ; }
24+ public long Size { get ; set ; }
2525
2626 [ JsonPropertyName ( "videoProfile" ) ]
2727 public string VideoProfile { get ; set ; }
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public class SessionMetadata
8585 public string ParentTitle { get ; set ; }
8686
8787 [ JsonPropertyName ( "rating" ) ]
88- public string Rating { get ; set ; }
88+ public double Rating { get ; set ; }
8989
9090 [ JsonPropertyName ( "studio" ) ]
9191 public string Studio { get ; set ; }
@@ -118,7 +118,7 @@ public class SessionMetadata
118118 public long ViewOffset { get ; set ; }
119119
120120 [ JsonPropertyName ( "year" ) ]
121- public string Year { get ; set ; }
121+ public int Year { get ; set ; }
122122
123123 [ JsonPropertyName ( "Media" ) ]
124124 public List < Medium > Media { get ; set ; }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class Stream
3232 public float FrameRate { get ; set ; }
3333
3434 [ JsonPropertyName ( "hasScalingMatrix" ) ]
35- public string HasScalingMatrix { get ; set ; }
35+ public bool HasScalingMatrix { get ; set ; }
3636
3737 [ JsonPropertyName ( "height" ) ]
3838 public int Height { get ; set ; }
@@ -50,13 +50,13 @@ public class Stream
5050 public string LanguageCode { get ; set ; }
5151
5252 [ JsonPropertyName ( "level" ) ]
53- public string Level { get ; set ; }
53+ public int Level { get ; set ; }
5454
5555 [ JsonPropertyName ( "profile" ) ]
5656 public string Profile { get ; set ; }
5757
5858 [ JsonPropertyName ( "refFrames" ) ]
59- public string RefFrames { get ; set ; }
59+ public int RefFrames { get ; set ; }
6060
6161 [ JsonPropertyName ( "scanType" ) ]
6262 public string ScanType { get ; set ; }
You can’t perform that action at this time.
0 commit comments