anthonws 40 Posted December 14, 2019 Share Posted December 14, 2019 What would be the quickest and dirtiest way of using the Emby API? I've seen there's an API wrapper for Emby called EmbyPy. Any samples or hints to start would be appreciated. Cheers, anthonws. Link to comment Share on other sites More sharing options...
Jdiesel 1114 Posted December 14, 2019 Share Posted December 14, 2019 If you go to the bottom of the dashboard there should be a link "API" that will take you to the swagger interface. From there you can play around generating api requests quite easily. 1 Link to comment Share on other sites More sharing options...
anthonws 40 Posted December 14, 2019 Author Share Posted December 14, 2019 (edited) If you go to the bottom of the dashboard there should be a link "API" that will take you to the swagger interface. From there you can play around generating api requests quite easily. Thanks! So, if I need to get container and coded info on a given movie, I assume that I have to get the entire list of available Items where "IncludeItemTypes=Movie". http://localhost:8096/emby/Items?Recursive=true&IncludeItemTypes=Movie&api_key=xxxxxxxx After that, I would do a for each, on the Movie "Id", to get the steam info, correct? http://localhost:8096/emby/Videos/7/stream?Container=mkv&api_key=xxxxxxxx Except it's not working EDIT: Ok, scratch that. It seems like I need to filter by "VideoCodec" parameter to get what I want. Still, I would expect that playback info to be available to query via the Item directly... Edited December 14, 2019 by anthonws 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