mabooth 0 Posted May 13, 2020 Share Posted May 13, 2020 @@chef I am trying to setup my Homeassistant and the Emby Latest Media Plugin and link it to my emby server. Home Assistant component to feed Upcoming Media Card with the latest releases on an Emby instance. as part of the configuration it is asking for my user_id. sensor:- platform: emby_upcoming_mediaapi_key: YOUR_EMBY_API_KEYuser_id: YOUR_EMBY_USER_IDhost: 192.168.1.4port: 8096ssl: Truemax: 5use_backdrop: trueinclude:- Movies- TV Shows I have tried looking in the user.db but that didn't work. The docs state the following. The id of the user you want to impersonate. Note: this is an id, not a username. Spy on Emby API calls to retrieve yours. (The Libraries and Medias that get retrieved depend on what that user has access to) not sure how to "Spy"? Regards, Link to comment Share on other sites More sharing options...
rbjtech 4287 Posted May 13, 2020 Share Posted May 13, 2020 Go into the Users Admin section, select the user - the UserID will be in the URL in your Browser Link to comment Share on other sites More sharing options...
mabooth 0 Posted May 13, 2020 Author Share Posted May 13, 2020 (edited) Hi, I think that is server ID not user_id. http://192.168.0.253:8096/web/index.html#!/settings?serverId=65c Anyway I think I have found it in the embyserver.txt found under User settings / advanced / logs 2020-05-13 17:55:35.267 Info HttpServer: HTTP Response 200 to 192.168.0.119. Time: 86ms. http://192.168.0.253:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items/Latest? xxxx redacted text Edited May 13, 2020 by mabooth Link to comment Share on other sites More sharing options...
rbjtech 4287 Posted May 13, 2020 Share Posted May 13, 2020 (edited) Hi, I think that is server ID not user_id. http://192.168.0.253:8096/web/index.html#!/settings?serverId=65c Anyway I think I have found it in the embyserver.txt found under User settings / advanced / logs 2020-05-13 17:55:35.267 Info HttpServer: HTTP Response 200 to 192.168.0.119. Time: 86ms. http://192.168.0.253:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items/Latest? xxxx redacted text No - it clearly states UserID in the URL .. or you can use the logs .. either way works ..web/index.html#!/useredit.html?userId= Edited May 13, 2020 by rbjtech Link to comment Share on other sites More sharing options...
mabooth 0 Posted May 13, 2020 Author Share Posted May 13, 2020 I see it now, under profile. Thanks, 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