mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-23 16:34:24 +00:00
Replaced 'for each' with 'for i = 0 to ...'
This commit is contained in:
parent
d091a08d3b
commit
e0f70e57a0
@ -41,8 +41,11 @@ function PlaystateDefaults(params = {} as object)
|
||||
'"PlaySessionId": "",
|
||||
'"RepeatMode": "RepeatNone"
|
||||
}
|
||||
for each p in params.items()
|
||||
new_params[p.key] = p.value
|
||||
|
||||
paramsArray = params.items()
|
||||
for i = 0 to paramsArray.count() - 1
|
||||
item = paramsArray[i]
|
||||
new_params[item.key] = item.value
|
||||
end for
|
||||
return FormatJson(new_params)
|
||||
end function
|
||||
|
Loading…
x
Reference in New Issue
Block a user