You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SignIn does not set the Plex.URL field. Because of this if I sign in with a username and password I can't use any of the query methods (e.g. GetSessions()) because the HTTP request goes to fmt.Sprintf("%s/status/sessions", p.URL) (code). So I get an error: Get "/status/sessions": unsupported protocol scheme ""
To overcome this I'm calling SignIn(), then using Plex.Token in a call to New(). New() sets the URL.
Is my use of SignIn the intended way?
The text was updated successfully, but these errors were encountered:
SignIn
does not set thePlex.URL
field. Because of this if I sign in with a username and password I can't use any of the query methods (e.g.GetSessions()
) because the HTTP request goes tofmt.Sprintf("%s/status/sessions", p.URL)
(code). So I get an error:Get "/status/sessions": unsupported protocol scheme ""
To overcome this I'm calling
SignIn()
, then usingPlex.Token
in a call toNew()
.New()
sets the URL.Is my use of
SignIn
the intended way?The text was updated successfully, but these errors were encountered: