Skip to content

Commit

Permalink
Update SDK to 1.4.7 (10.8 with enum backports)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Apr 7, 2024
1 parent e1d98df commit 138ae58
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ fun InfoRowSeriesStatus(
) {
Text(stringResource(R.string.lbl_ended))
}

SeriesStatus.UNRELEASED -> InfoRowItem(
contentDescription = stringResource(R.string.unreleased),
colors = InfoRowColors.Default,
) {
Text(stringResource(R.string.unreleased))
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@
<string name="clear_image_cache">Clear image cache</string>
<string name="clear_image_cache_content">Used: %1$s</string>
<string name="random">Random</string>
<string name="unreleased">Not yet released</string>
<plurals name="seconds">
<item quantity="one">%1$s second</item>
<item quantity="other">%1$s seconds</item>
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ detekt = "1.23.6"
gson = "2.8.9"
jellyfin-androidx-media = "1.2.1+1"
jellyfin-apiclient = "v0.7.10"
jellyfin-sdk = "1.4.6"
jellyfin-sdk = "1.4.7"
junit = "4.13.2"
koin = "3.5.4"
koin-compose = "3.5.4"
Expand Down
3 changes: 2 additions & 1 deletion playback/jellyfin/src/main/kotlin/mediastream/tracks.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ fun MediaStream.getMediaStreamTrack() = when (type) {

// Ignore other track types
MediaStreamType.EMBEDDED_IMAGE,
MediaStreamType.DATA -> null
MediaStreamType.DATA,
MediaStreamType.LYRIC -> null
}

private fun getAudioTrack(stream: MediaStream) = MediaStreamAudioTrack(
Expand Down

0 comments on commit 138ae58

Please sign in to comment.