Remove optional commas

This commit is contained in:
Charles Ewert 2022-05-30 09:00:14 -04:00
parent 9dabf4891b
commit b3008e045c
6 changed files with 6 additions and 6 deletions

View File

@ -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({

View File

@ -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,

View File

@ -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

View File

@ -7,7 +7,7 @@ sub loadChannels()
results = []
params = {
UserId: get_setting("active_user"),
UserId: get_setting("active_user")
}
if m.top.filter = "Favorites"

View File

@ -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)

View File

@ -250,7 +250,7 @@ function GetDirectPlayProfiles() as object
},
{
"Container": audio,
"Type": "Audio",
"Type": "Audio"
}
]