From 9dabf4891bbea328df8fc62957142453e87c3248 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Mon, 30 May 2022 08:59:24 -0400 Subject: [PATCH] Add missing commas --- components/JFVideo.brs | 2 +- components/liveTv/LoadSheduleTask.brs | 6 +++--- components/photos/LoadPhotoTask.brs | 2 +- source/api/Items.brs | 2 +- source/api/constants.brs | 2 +- source/utils/Subtitles.brs | 2 +- source/utils/deviceCapabilities.brs | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/JFVideo.brs b/components/JFVideo.brs index 2df7627b..ee36a017 100644 --- a/components/JFVideo.brs +++ b/components/JFVideo.brs @@ -58,7 +58,7 @@ sub ReportPlayback(state = "update" as string) if m.top.position = invalid then return params = { - "ItemId": m.top.id + "ItemId": m.top.id, "PlaySessionId": m.top.PlaySessionId, "PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used "IsPaused": (m.top.state = "paused"), diff --git a/components/liveTv/LoadSheduleTask.brs b/components/liveTv/LoadSheduleTask.brs index 501cea12..8bef14cd 100644 --- a/components/liveTv/LoadSheduleTask.brs +++ b/components/liveTv/LoadSheduleTask.brs @@ -9,10 +9,10 @@ sub loadSchedule() params = { UserId: get_setting("active_user"), SortBy: "startDate", - EnableImages: false + EnableImages: false, EnableTotalRecordCount: false, - EnableUserData: false - channelIds: m.top.channelIds + EnableUserData: false, + channelIds: m.top.channelIds, MaxStartDate: m.top.endTime, MinEndDate: m.top.startTime } diff --git a/components/photos/LoadPhotoTask.brs b/components/photos/LoadPhotoTask.brs index bb0f50c7..c27f9210 100644 --- a/components/photos/LoadPhotoTask.brs +++ b/components/photos/LoadPhotoTask.brs @@ -6,7 +6,7 @@ sub loadItems() item = m.top.itemContent if item <> invalid params = { - maxHeight: 1080 + maxHeight: 1080, maxWidth: 1920 } m.top.results = ImageURL(item.Id, "Primary", params) diff --git a/source/api/Items.brs b/source/api/Items.brs index b110d684..3e21c332 100644 --- a/source/api/Items.brs +++ b/source/api/Items.brs @@ -46,7 +46,7 @@ function SearchMedia(query as string) "IncludeGenres": false, "IncludeStudios": false, "IncludeArtists": false, - "IncludeItemTypes": "TvChannel,Movie,BoxSet,Series,Episode,Video" + "IncludeItemTypes": "TvChannel,Movie,BoxSet,Series,Episode,Video", "EnableTotalRecordCount": false, "ImageTypeLimit": 1, "Recursive": true diff --git a/source/api/constants.brs b/source/api/constants.brs index d52853f6..5bd4ad7b 100644 --- a/source/api/constants.brs +++ b/source/api/constants.brs @@ -16,7 +16,7 @@ sub setConstants() ascending_black: "pkg:/images/icons/up_black.png", ascending_white: "pkg:/images/icons/up_white.png", descending_black: "pkg:/images/icons/down_black.png", - descending_white: "pkg:/images/icons/down_white.png" + descending_white: "pkg:/images/icons/down_white.png", check_black: "pkg:/images/icons/check_black.png", check_white: "pkg:/images/icons/check_white.png" } diff --git a/source/utils/Subtitles.brs b/source/utils/Subtitles.brs index 09244bcd..1b0b1f74 100644 --- a/source/utils/Subtitles.brs +++ b/source/utils/Subtitles.brs @@ -199,7 +199,7 @@ function sortSubtitles(id as string, MediaStreams) "Index": stream.index, "IsDefault": stream.IsDefault, "IsForced": stream.IsForced, - "IsExternal": stream.IsExternal + "IsExternal": stream.IsExternal, "IsEncoded": stream.DeliveryMethod = "Encode" } if stream.isForced diff --git a/source/utils/deviceCapabilities.brs b/source/utils/deviceCapabilities.brs index 17df556d..cf45f0d8 100644 --- a/source/utils/deviceCapabilities.brs +++ b/source/utils/deviceCapabilities.brs @@ -89,7 +89,7 @@ function getDeviceProfile() as object "VideoCodec": tsVideoCodecs, "Context": "Streaming", "Protocol": "hls", - "MaxAudioChannels": StrI(maxAudioChannels) ' Currently Jellyfin server expects this as a string + "MaxAudioChannels": StrI(maxAudioChannels), ' Currently Jellyfin server expects this as a string "MinSegments": "1", "BreakOnNonKeyFrames": true }, @@ -111,7 +111,7 @@ function getDeviceProfile() as object { "Condition": "LessThanEqual", "Property": "AudioChannels", - "Value": StrI(maxAudioChannels) ' Currently Jellyfin server expects this as a string + "Value": StrI(maxAudioChannels), ' Currently Jellyfin server expects this as a string "IsRequired": false } ]