Add missing commas
This commit is contained in:
parent
2296fde437
commit
9dabf4891b
|
@ -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"),
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user