From 19800a4e8187d0b3ef7ef2e74873b8213a0b374a Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Mon, 21 Oct 2024 16:12:04 +0000 Subject: [PATCH] Update API docs --- .../api/components_home_LoadItemsTask.bs.html | 1 + docs/api/source_api_Items.bs.html | 4 ++-- .../source_utils_deviceCapabilities.bs.html | 20 +++++-------------- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/docs/api/components_home_LoadItemsTask.bs.html b/docs/api/components_home_LoadItemsTask.bs.html index 3e7c33249..ef033c920 100644 --- a/docs/api/components_home_LoadItemsTask.bs.html +++ b/docs/api/components_home_LoadItemsTask.bs.html @@ -75,6 +75,7 @@ params["DisableFirstEpisode"] = false params["limit"] = 24 params["EnableTotalRecordCount"] = false + params["EnableResumable"] = false maxDaysInNextUp = userSettings["ui.details.maxdaysnextup"].ToInt() if isValid(maxDaysInNextUp) diff --git a/docs/api/source_api_Items.bs.html b/docs/api/source_api_Items.bs.html index 1c9607f10..a7bfe263d 100644 --- a/docs/api/source_api_Items.bs.html +++ b/docs/api/source_api_Items.bs.html @@ -49,8 +49,8 @@ ' force the server to transcode AAC profiles we don't support to MP3 instead of the usual AAC ' TODO: Remove this after server adds support for transcoding AAC from one profile to another - if LCase(selectedAudioStream.Codec) = "aac" - if LCase(selectedAudioStream.Profile) = "main" or LCase(selectedAudioStream.Profile) = "he-aac" + if selectedAudioStream.Codec <> invalid and LCase(selectedAudioStream.Codec) = "aac" + if selectedAudioStream.Profile <> invalid and LCase(selectedAudioStream.Profile) = "main" or LCase(selectedAudioStream.Profile) = "he-aac" for each rule in deviceProfile.TranscodingProfiles if rule.Container = "ts" or rule.Container = "mp4" if rule.AudioCodec = "aac" diff --git a/docs/api/source_utils_deviceCapabilities.bs.html b/docs/api/source_utils_deviceCapabilities.bs.html index df7644c15..9c720e119 100644 --- a/docs/api/source_utils_deviceCapabilities.bs.html +++ b/docs/api/source_utils_deviceCapabilities.bs.html @@ -303,21 +303,11 @@ end if ' AV1 - for each container in transcodingContainers - if di.CanDecodeVideo({ Codec: "av1", Container: container }).Result - if container = "mp4" - ' check for codec string before adding it - if mp4VideoCodecs.Instr(0, ",av1") = -1 - mp4VideoCodecs = mp4VideoCodecs + ",av1" - end if - else if container = "ts" - ' check for codec string before adding it - if tsVideoCodecs.Instr(0, ",av1") = -1 - tsVideoCodecs = tsVideoCodecs + ",av1" - end if - end if - end if - end for + ' CanDecodeVideo() returns false for AV1 when the container is provided + ' Manually add AV1 to the mp4VideoCodecs list if support is detected + if di.CanDecodeVideo({ Codec: "av1" }).Result + mp4VideoCodecs = mp4VideoCodecs + ",av1" + end if ' AUDIO CODECS for each container in transcodingContainers