Jump to content

Media Info Service or Trailer Service to get local trailers.


Recommended Posts

jachin99
Posted

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.  

PenkethBoy
Posted
"/emby/users/" + UserId + "/items/"+ Media.Id +"/LocalTrailers" + "?api_key=<apikey>"

 

Pulls back any local trailers the Item has

jachin99
Posted (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 by jachin99
PenkethBoy
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...