Fix json parsing with invalid chars like \u0000 preventing some channels from loading
This commit is contained in:
1 parent
9a319eab75
commit
b5261d900f
27 files changed
+61
-32
No files matched your search
@@ -341,7 +341,7 @@ function SetCaptions(metadata as object, service as object, contentNode as objec
|
||||
return
|
||||
end if
|
||||
|
||||
isoLanguageList = ParseJson(ReadAsciiFile("libpkg:/config/ISO-639-1-to-ISO-639-2T.json5"))
|
||||
isoLanguageList = StringUtils.ParseJsonSafe(ReadAsciiFile("libpkg:/config/ISO-639-1-to-ISO-639-2T.json5"))
|
||||
instance = service.GetInstance()
|
||||
|
||||
subtitleTracks = []
|
||||
|
||||
Reference in new issue
Block a user