mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-12-02 19:26:47 +00:00
Making the linter happy
This commit is contained in:
parent
7b7793129e
commit
2f8df90f55
@ -103,11 +103,11 @@ sub SetUpVideoOptions(streams)
|
||||
if streams[i].VideoType = "VideoFile"
|
||||
codec = ""
|
||||
if streams[i].mediaStreams <> invalid and streams[i].mediaStreams.Count() > 0 then codec = streams[i].mediaStreams[0].displayTitle
|
||||
videos.push({
|
||||
"Title": streams[i].Name,
|
||||
"Description": tr("Video"),
|
||||
"Selected": m.top.selectedVideoStreamId = streams[i].id,
|
||||
"StreamID": streams[i].id,
|
||||
videos.push({
|
||||
"Title": streams[i].Name,
|
||||
"Description": tr("Video"),
|
||||
"Selected": m.top.selectedVideoStreamId = streams[i].id,
|
||||
"StreamID": streams[i].id,
|
||||
"video_codec": codec
|
||||
})
|
||||
end if
|
||||
|
@ -43,7 +43,7 @@ sub itemContentChanged()
|
||||
end if
|
||||
m.top.findNode("video_codec").visible = videoIdx <> invalid
|
||||
m.top.findNode("audio_codec").visible = audioIdx <> invalid
|
||||
|
||||
|
||||
end sub
|
||||
|
||||
function getRuntime() as integer
|
||||
|
Loading…
Reference in New Issue
Block a user