diff --git a/docs/api/module-misc.html b/docs/api/module-misc.html index 4fd55bd3e..3b6cd4bae 100644 --- a/docs/api/module-misc.html +++ b/docs/api/module-misc.html @@ -276,7 +276,7 @@
take an incomplete url string and use it to make educated guesses about
+the complete url. then tests these guesses to see if it can find a jf server
+returns the url of the server it found, or an empty string
Name | + + +Type | + + + + + +Description | +
---|---|---|
url |
+
+
+ + + +string + + + + + | + + + + + ++ |
accepts the raw json string of /system/info/public and returns
+a boolean indicating if ProductName is "Jellyfin Server"
Name | + + +Type | + + + + + +Description | +
---|---|---|
systemInfo |
+
+
+ + + +object + + + + + | + + + + + ++ |
Returns an array from a url - [ url, proto, host, port, subdir/params ]
+
Returns an array from a url = [ url, proto, host, port, subdir+params ]
If port or subdir are not found, an empty string will be added to the array
Proto must be declared or array will be empty
Take a jellyfin hostname and ensure it's a full url.
-prepend http or https and append default ports, and remove excess slashes
Name | - - -Type | - - - - - -Description | -
---|---|---|
url |
-
-
- - - -string - - - - - | - - - - - -- |
Name | + + +Type | + + + + + +Description | +
---|---|---|
ticks |
+
+
+ + + +longinteger + + + + + | + + + + + ++ |
ticks
input
this is the "educated guess" logic for inferServerUrl that generates a list of complete url's as candidates
+for the tests in inferServerUrl. takes an incomplete url as an arg and returns a list of extrapolated
+full urls.