Keo 3 Posted December 14, 2018 Share Posted December 14, 2018 (edited) 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 December 14, 2018 by Keo Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted December 14, 2018 Share Posted December 14, 2018 (edited) 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 December 14, 2018 by PenkethBoy Link to comment Share on other sites More sharing options...
Keo 3 Posted December 14, 2018 Author Share Posted December 14, 2018 (edited) 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 December 14, 2018 by Keo Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 14, 2018 Share Posted December 14, 2018 Hi, what version of Emby Server, and what platform do you have it installed on? Link to comment Share on other sites More sharing options...
Keo 3 Posted December 14, 2018 Author Share Posted December 14, 2018 Hi, what version of Emby Server, and what platform do you have it installed on? QNAP 3.5.3.0 Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 15, 2018 Share Posted December 15, 2018 What QNAP model? Link to comment Share on other sites More sharing options...
Keo 3 Posted December 15, 2018 Author Share Posted December 15, 2018 What QNAP model? QNAP TS-451+ (8GB RAM version) 4-Bay Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 15, 2018 Share Posted December 15, 2018 How did you install Emby Server? Link to comment Share on other sites More sharing options...
Keo 3 Posted December 16, 2018 Author Share Posted December 16, 2018 How did you install Emby Server? Using this: https://emby.media/nas-server.html Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 16, 2018 Share Posted December 16, 2018 Can you please attach an emby server log? thanks. Link to comment Share on other sites More sharing options...
Keo 3 Posted December 16, 2018 Author Share Posted December 16, 2018 Can you please attach an emby server log? thanks. Log.txt Link to comment Share on other sites More sharing options...
Luke 37060 Posted December 16, 2018 Share Posted December 16, 2018 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 More sharing options...
Luke 37060 Posted March 14, 2020 Share Posted March 14, 2020 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 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