Support for Trickplay thumbnails in Playlet backend (#493)
* Support for Trickplay thumbnails in Playlet backend * Lint fix * typo --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
017c6f4539
commit
9ac3f0d9cd
8 files changed
+310
-15
No files matched your search
@@ -651,10 +651,11 @@ namespace HttpClient
|
||||
return m._text
|
||||
end if
|
||||
|
||||
if not m.IsSuccess()
|
||||
if type(m.event) <> "roUrlEvent"
|
||||
return invalid
|
||||
else
|
||||
m._text = m.event.GetString()
|
||||
end if
|
||||
m._text = m.event.GetString()
|
||||
return m._text
|
||||
end function
|
||||
|
||||
|
||||
@@ -181,10 +181,10 @@ namespace UrlUtils
|
||||
key = component
|
||||
value = ""
|
||||
hasValue = false
|
||||
if Instr(0, component, "=")
|
||||
keyValue = component.split("=")
|
||||
key = keyValue[0]
|
||||
value = keyValue[1].DecodeUriComponent()
|
||||
equalSignIndex = component.InStr("=")
|
||||
if equalSignIndex <> -1
|
||||
key = component.Left(equalSignIndex)
|
||||
value = component.Mid(equalSignIndex + 1).DecodeUriComponent()
|
||||
hasValue = true
|
||||
end if
|
||||
|
||||
|
||||
Reference in new issue
Block a user