Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/all/jellyfin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Jellyfin'
extClass = '.JellyfinFactory'
extVersionCode = 31
extVersionCode = 32
extNames = ["Jellyfin (1)", "Jellyfin (2)", "Jellyfin (3)"]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ class Jellyfin(private val suffix: String) : Source(), UnmeteredSource {
}

"Subtitle" -> {
if (media.supportsExternalStream) {
if (media.supportsExternalStream && media.codec != null) {
val subtitleUrl = baseUrl.toHttpUrl().newBuilder().apply {
addPathSegment("Videos")
addPathSegment(itemId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ data class MediaDto(
) {
@Serializable
data class MediaStreamDto(
val codec: String,
val codec: String? = null,
val index: Int,
val type: String,
val supportsExternalStream: Boolean,
Expand Down
Loading