VernoxVernax 4 Posted May 30, 2022 Share Posted May 30, 2022 Hello. I don't really get the thing with sessions. Are they supposed to be created per "watch-session". Like, restart chrome -> new session? Are they really only created using the /Users/AuthenticateByName endpoint? Currently, my python script authenticates the user on each start and closes the session on exit. This obviously creates a good amount of logs in my emby dashboard, which made me think, if I'm really doing this correctly. Should I just save "SessionInfo" and use that instead of authenticating each time? Link to comment Share on other sites More sharing options...
Luke 37094 Posted May 31, 2022 Share Posted May 31, 2022 Quote Should I just save "SessionInfo" and use that instead of authenticating each time? Hi, you should save the access token that you get after authenticating. https://github.com/MediaBrowser/Emby/wiki Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted May 31, 2022 Author Share Posted May 31, 2022 15 minutes ago, Luke said: Hi, you should save the access token that you get after authenticating. https://github.com/MediaBrowser/Emby/wiki Makes sense, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now