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
|
if m.top.position = invalid then return
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"ItemId": m.top.id
|
"ItemId": m.top.id,
|
||||||
"PlaySessionId": m.top.PlaySessionId,
|
"PlaySessionId": m.top.PlaySessionId,
|
||||||
"PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used
|
"PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used
|
||||||
"IsPaused": (m.top.state = "paused"),
|
"IsPaused": (m.top.state = "paused"),
|
||||||
|
|
|
@ -9,10 +9,10 @@ sub loadSchedule()
|
||||||
params = {
|
params = {
|
||||||
UserId: get_setting("active_user"),
|
UserId: get_setting("active_user"),
|
||||||
SortBy: "startDate",
|
SortBy: "startDate",
|
||||||
EnableImages: false
|
EnableImages: false,
|
||||||
EnableTotalRecordCount: false,
|
EnableTotalRecordCount: false,
|
||||||
EnableUserData: false
|
EnableUserData: false,
|
||||||
channelIds: m.top.channelIds
|
channelIds: m.top.channelIds,
|
||||||
MaxStartDate: m.top.endTime,
|
MaxStartDate: m.top.endTime,
|
||||||
MinEndDate: m.top.startTime
|
MinEndDate: m.top.startTime
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ sub loadItems()
|
||||||
item = m.top.itemContent
|
item = m.top.itemContent
|
||||||
if item <> invalid
|
if item <> invalid
|
||||||
params = {
|
params = {
|
||||||
maxHeight: 1080
|
maxHeight: 1080,
|
||||||
maxWidth: 1920
|
maxWidth: 1920
|
||||||
}
|
}
|
||||||
m.top.results = ImageURL(item.Id, "Primary", params)
|
m.top.results = ImageURL(item.Id, "Primary", params)
|
||||||
|
|
|
@ -46,7 +46,7 @@ function SearchMedia(query as string)
|
||||||
"IncludeGenres": false,
|
"IncludeGenres": false,
|
||||||
"IncludeStudios": false,
|
"IncludeStudios": false,
|
||||||
"IncludeArtists": false,
|
"IncludeArtists": false,
|
||||||
"IncludeItemTypes": "TvChannel,Movie,BoxSet,Series,Episode,Video"
|
"IncludeItemTypes": "TvChannel,Movie,BoxSet,Series,Episode,Video",
|
||||||
"EnableTotalRecordCount": false,
|
"EnableTotalRecordCount": false,
|
||||||
"ImageTypeLimit": 1,
|
"ImageTypeLimit": 1,
|
||||||
"Recursive": true
|
"Recursive": true
|
||||||
|
|
|
@ -16,7 +16,7 @@ sub setConstants()
|
||||||
ascending_black: "pkg:/images/icons/up_black.png",
|
ascending_black: "pkg:/images/icons/up_black.png",
|
||||||
ascending_white: "pkg:/images/icons/up_white.png",
|
ascending_white: "pkg:/images/icons/up_white.png",
|
||||||
descending_black: "pkg:/images/icons/down_black.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_black: "pkg:/images/icons/check_black.png",
|
||||||
check_white: "pkg:/images/icons/check_white.png"
|
check_white: "pkg:/images/icons/check_white.png"
|
||||||
}
|
}
|
||||||
|
|
|
@ -199,7 +199,7 @@ function sortSubtitles(id as string, MediaStreams)
|
||||||
"Index": stream.index,
|
"Index": stream.index,
|
||||||
"IsDefault": stream.IsDefault,
|
"IsDefault": stream.IsDefault,
|
||||||
"IsForced": stream.IsForced,
|
"IsForced": stream.IsForced,
|
||||||
"IsExternal": stream.IsExternal
|
"IsExternal": stream.IsExternal,
|
||||||
"IsEncoded": stream.DeliveryMethod = "Encode"
|
"IsEncoded": stream.DeliveryMethod = "Encode"
|
||||||
}
|
}
|
||||||
if stream.isForced
|
if stream.isForced
|
||||||
|
|
|
@ -89,7 +89,7 @@ function getDeviceProfile() as object
|
||||||
"VideoCodec": tsVideoCodecs,
|
"VideoCodec": tsVideoCodecs,
|
||||||
"Context": "Streaming",
|
"Context": "Streaming",
|
||||||
"Protocol": "hls",
|
"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",
|
"MinSegments": "1",
|
||||||
"BreakOnNonKeyFrames": true
|
"BreakOnNonKeyFrames": true
|
||||||
},
|
},
|
||||||
|
@ -111,7 +111,7 @@ function getDeviceProfile() as object
|
||||||
{
|
{
|
||||||
"Condition": "LessThanEqual",
|
"Condition": "LessThanEqual",
|
||||||
"Property": "AudioChannels",
|
"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
|
"IsRequired": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user