document new function

This commit is contained in:
sevenrats 2023-09-10 14:49:56 -04:00
parent dfb4dcbed2
commit 0f41e6506e

View File

@ -439,6 +439,8 @@ sub stopLoadingSpinner()
end if
end sub
' accepts the raw json string of /system/info/public and returns
' a boolean indicating if ProductName is "Jellyfin Server"
function isJellyfinServer(si as object) as boolean
d = ParseJson(si)
if isValid(d) and isValid(d.ProductName)