Remove optional commas
This commit is contained in:
parent
9dabf4891b
commit
b3008e045c
|
@ -61,7 +61,7 @@ sub ReportPlayback(state = "update" as string)
|
|||
"ItemId": m.top.id,
|
||||
"PlaySessionId": m.top.PlaySessionId,
|
||||
"PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used
|
||||
"IsPaused": (m.top.state = "paused"),
|
||||
"IsPaused": (m.top.state = "paused")
|
||||
}
|
||||
if m.top.content.live
|
||||
params.append({
|
||||
|
|
|
@ -31,7 +31,7 @@ function PlaystateDefaults(params = {} as object)
|
|||
'"SubtitleStreamIndex": 0,
|
||||
"IsPaused": false,
|
||||
'"IsMuted": false,
|
||||
"PositionTicks": 0,
|
||||
"PositionTicks": 0
|
||||
'"PlaybackStartTimeTicks": 0,
|
||||
'"VolumeLevel": 100,
|
||||
'"Brightness": 100,
|
||||
|
|
|
@ -30,7 +30,7 @@ sub saveToRegistry()
|
|||
users.push({
|
||||
id: m.top.id,
|
||||
username: m.top.username,
|
||||
server: get_setting("server"),
|
||||
server: get_setting("server")
|
||||
})
|
||||
set_setting("available_users", formatJson(users))
|
||||
end if
|
||||
|
|
|
@ -7,7 +7,7 @@ sub loadChannels()
|
|||
results = []
|
||||
|
||||
params = {
|
||||
UserId: get_setting("active_user"),
|
||||
UserId: get_setting("active_user")
|
||||
}
|
||||
|
||||
if m.top.filter = "Favorites"
|
||||
|
|
|
@ -9,7 +9,7 @@ sub loadProgramDetails()
|
|||
programIndex = m.top.ProgramIndex
|
||||
|
||||
params = {
|
||||
UserId: get_setting("active_user"),
|
||||
UserId: get_setting("active_user")
|
||||
}
|
||||
|
||||
url = Substitute("LiveTv/Programs/{0}", m.top.programId)
|
||||
|
|
|
@ -250,7 +250,7 @@ function GetDirectPlayProfiles() as object
|
|||
},
|
||||
{
|
||||
"Container": audio,
|
||||
"Type": "Audio",
|
||||
"Type": "Audio"
|
||||
}
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user