mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-27 00:10:43 +00:00
Update API docs
Some checks are pending
Automation 🤖 / Project board 📊 (push) Waiting to run
Automation 🤖 / Labeling 🏷️ (push) Waiting to run
build-dev / dev (push) Waiting to run
build-docs / docs (push) Waiting to run
build-prod / prod (push) Waiting to run
deploy-api-docs / deploy (push) Waiting to run
Some checks are pending
Automation 🤖 / Project board 📊 (push) Waiting to run
Automation 🤖 / Labeling 🏷️ (push) Waiting to run
build-dev / dev (push) Waiting to run
build-docs / docs (push) Waiting to run
build-prod / prod (push) Waiting to run
deploy-api-docs / deploy (push) Waiting to run
This commit is contained in:
parent
b33c5860bc
commit
700dcc2906
@ -423,15 +423,6 @@ end sub
|
||||
' createContinueWatchingRow: Creates a row displaying items the user can continue watching
|
||||
'
|
||||
sub createContinueWatchingRow()
|
||||
sectionName = tr("Continue Watching")
|
||||
|
||||
if not sectionExists(sectionName)
|
||||
nextUpRow = m.top.content.CreateChild("HomeRow")
|
||||
nextUpRow.title = sectionName
|
||||
nextUpRow.imageWidth = homeRowItemSizes.WIDE_POSTER[0]
|
||||
nextUpRow.cursorSize = homeRowItemSizes.WIDE_POSTER
|
||||
end if
|
||||
|
||||
' Load the Continue Watching Data
|
||||
m.LoadContinueWatchingTask.observeField("content", "updateContinueWatchingItems")
|
||||
m.LoadContinueWatchingTask.control = "RUN"
|
||||
|
@ -468,8 +468,8 @@ sub onVideoContentLoaded()
|
||||
' If IsForced, make sure to remember the Roku global setting so we
|
||||
' can set it back when the video is done playing.
|
||||
m.originalClosedCaptionState = m.top.globalCaptionMode
|
||||
m.top.globalCaptionMode = "On"
|
||||
end if
|
||||
m.top.globalCaptionMode = "On"
|
||||
m.top.subtitleTrack = m.top.availableSubtitleTracks[availableSubtitleTrackIndex].TrackName
|
||||
end if
|
||||
end if
|
||||
|
@ -213,19 +213,6 @@ function getTranscodingProfiles() as object
|
||||
'
|
||||
' AVC / h264 / MPEG4 AVC
|
||||
for each container in transcodingContainers
|
||||
if di.CanDecodeVideo({ Codec: "h264", Container: container }).Result
|
||||
if container = "mp4"
|
||||
' check for codec string before adding it
|
||||
if mp4VideoCodecs.Instr(0, ",h264") = -1
|
||||
mp4VideoCodecs = mp4VideoCodecs + ",h264"
|
||||
end if
|
||||
else if container = "ts"
|
||||
' check for codec string before adding it
|
||||
if tsVideoCodecs.Instr(0, ",h264") = -1
|
||||
tsVideoCodecs = tsVideoCodecs + ",h264"
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
if di.CanDecodeVideo({ Codec: "mpeg4 avc", Container: container }).Result
|
||||
if container = "mp4"
|
||||
' check for codec string before adding it
|
||||
@ -303,11 +290,9 @@ function getTranscodingProfiles() as object
|
||||
end if
|
||||
|
||||
' AV1
|
||||
' 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
|
||||
' direct streaming av1 is not supported on roku
|
||||
' force a full transcode by omitting av1 from the transcoding profile
|
||||
' https://community.roku.com/t5/Roku-Developer-Program/HLS-fMP4-No-Audio/td-p/607399
|
||||
|
||||
' AUDIO CODECS
|
||||
for each container in transcodingContainers
|
||||
|
Loading…
Reference in New Issue
Block a user