jachin99 82 Posted April 17, 2020 Share Posted April 17, 2020 Per my feature request conversation with TeamB, I would like to explore my options to get the location of a local trailer. I looked at the swagger api docs, and the options that stood out to me were the TrailerService, and MediaInfoService. Under TrailerService I see a boolean property of hasTrailer but I don't want to end up with trailers from the trailer plugin or web trailers for the time being. I'll likely be using this information to help latts on the kodi forums understand Emby's API but I want to come into that conversation well equipped. I also like to learn things for myself. Thanks. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted April 17, 2020 Share Posted April 17, 2020 "/emby/users/" + UserId + "/items/"+ Media.Id +"/LocalTrailers" + "?api_key=<apikey>" Pulls back any local trailers the Item has Link to comment Share on other sites More sharing options...
jachin99 82 Posted April 17, 2020 Author Share Posted April 17, 2020 (edited) What if the application doesn't use an api key? I don't see any requirement in the Emby 4 Kodi plugin to use a key. Thanks. Edited April 17, 2020 by jachin99 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted April 17, 2020 Share Posted April 17, 2020 the api is either via user authentication or one generated by emby from the dashboard swagger provides an apikey when you run and use it with the plugin its different as its already loaded in emby 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