Skip to content

Commit 6ba34b9

Browse files
authored
More Plex nullability fixes (#147)
1 parent eb3b339 commit 6ba34b9

File tree

1 file changed

+3
-3
lines changed
  • android/mediaprovider/plex/src/main/java/com/simplecityapps/provider/plex/http

1 file changed

+3
-3
lines changed

android/mediaprovider/plex/src/main/java/com/simplecityapps/provider/plex/http/QueryResult.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ data class Media(
4141
@Json(name = "id") val id: Int,
4242
@Json(name = "duration") val duration: Int?,
4343
@Json(name = "bitrate") val bitrate: Int?,
44-
@Json(name = "audioChannels") val audioChannels: Int,
45-
@Json(name = "audioCodec") val audioCodec: String,
46-
@Json(name = "container") val container: String,
44+
@Json(name = "audioChannels") val audioChannels: Int?,
45+
@Json(name = "audioCodec") val audioCodec: String?,
46+
@Json(name = "container") val container: String?,
4747
@Json(name = "Part") val parts: List<Part>
4848
)
4949

0 commit comments

Comments
 (0)