Jump to content

Sending information based upon movie library


Keo

Recommended Posts

Hi all,

 

I have a library that contains nothing but stubs which are all of my movies in Vudu.  What I would like to do is use the EMBY API to call a Hubitat application endpoint to turn on a switch when ever one of those movies are selected.

 

I've started reading the api docs, but I am having problems finding a way to pull back when a client selects a movie in the vudu stub library.

 

I'd also like to trigger the call to the Hubitat API when ever a movie in the "Vudu" library is selected.

 

Does this make sense?  Is there a better way for me to explain this to get help?

 

Thanks in advance for your help.

Edited by Keo
Link to comment
Share on other sites

PenkethBoy

what do you mean by "select"?

 

/sessions/playing

 

end point would give you info on whats being played in emby

 

Have you looked at the swagger info available via your server dashboard landing page (scroll to bottom and click "API")

Edited by PenkethBoy
Link to comment
Share on other sites

what do you mean by "select"?

 

Well...  I am using stubs to represent my media which resides on Vudu, so a video never actually plays.  Also depending on the client I may or may not receive a popup that says please insert the disk.  For instance, the firetv client doesn't even offer a play button when the video is a disk stub.

 

So I was hoping to trigger an event when the cover art is selected.

 

The final result is I am am going to send a TTS event to my Alexa device via hubitat which announces "The video you've selected is available on vudu."

 

/sessions/playing

 

end point would give you info on whats being played in emby

 

Have you looked at the swagger info available via your server dashboard landing page (scroll to bottom and click "API")

 

Thanks for the tip!

I looked at swagger, but I couldn't get it to authenticate to actually test anything.  The following error is after I click on authenticate.

Errors
Hide
 
Fetch errorFailed to fetch http://localhost:8096/openapi
Fetch errorPossible cross-origin (CORS) issue? The URL origin (http://localhost:8096) does not match the page (http://swagger.emby.media). Check the server returns the correct 'Access-Control-Allow-*' headers.
Edited by Keo
Link to comment
Share on other sites

Ok, thank you. I'm surprised you're having trouble using our swagger docs, but this shouldn't be a problem in the upcoming 3.6 release. You can always jump on the beta channel if you want. Thanks.

Link to comment
Share on other sites

  • 1 year later...

Hi all,

 

I have a library that contains nothing but stubs which are all of my movies in Vudu.  What I would like to do is use the EMBY API to call a Hubitat application endpoint to turn on a switch when ever one of those movies are selected.

 

I've started reading the api docs, but I am having problems finding a way to pull back when a client selects a movie in the vudu stub library.

 

I'd also like to trigger the call to the Hubitat API when ever a movie in the "Vudu" library is selected.

 

Does this make sense?  Is there a better way for me to explain this to get help?

 

Thanks in advance for your help.

 

@@Keo

 

https://emby.media/community/index.php?/topic/83683-hubitat-users-looking-for-testers/&do=findComment&comment=856777

Link to comment
Share on other sites

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...