MagicDoubleM 93 Posted March 3 Share Posted March 3 How about having firing a webhook when playback reaches the credits, to be able to play with the lights? Link to comment Share on other sites More sharing options...
Luke 37095 Posted March 3 Share Posted March 3 Hi, can't you do that now by writing some code with your webhook receiver to compare the current position against the runtime? Link to comment Share on other sites More sharing options...
rbjtech 4283 Posted March 4 Share Posted March 4 Use chapters hidden markers - CreditStart ? (IntroStart/IntroEnd will also be there).... ? Link to comment Share on other sites More sharing options...
Mibok 118 Posted March 4 Share Posted March 4 (edited) This feature request might be related and i'm taking the opportunity to boost this a little. I hope it could be done someday. https://emby.media/community/index.php?/topic/109042-end-credits-flag-home-automation/ Edited March 4 by Mibok Link to comment Share on other sites More sharing options...
rbjtech 4283 Posted March 4 Share Posted March 4 5 minutes ago, Mibok said: This feature request might be related and i'm taking the opportunity to boost this a little. I hope it could be done someday. https://emby.media/community/index.php?/topic/109042-end-credits-flag-home-automation/ @Luke FYI @Mibok So I believe you just need to request to have a 'Notification/Webhook' available for the 'secret' chapter markers - ie StartIntro EndIntro StartCredit I guess these should be in the 'Playback' section below. Emby will then fire a webhook, when the 'StartCredit' chapter marker is hit - thus turning on the lights, etc. This could 'maybe' get extended if the normal chapter name contained the word 'credit' also but that's getting into messy detection - re languages etc - probably better to stick with a set/fixed 'StartCredit' marker imo. Use the ChapterAPI plugin to create them (in Movies & TV) - or if you still have the old Introskip Plugin, that will detect them for you (in TV Shows). 1 Link to comment Share on other sites More sharing options...
MagicDoubleM 93 Posted March 4 Author Share Posted March 4 4 hours ago, rbjtech said: @Luke FYI @Mibok So I believe you just need to request to have a 'Notification/Webhook' available for the 'secret' chapter markers - ie StartIntro EndIntro StartCredit I guess these should be in the 'Playback' section below. Emby will then fire a webhook, when the 'StartCredit' chapter marker is hit - thus turning on the lights, etc. This could 'maybe' get extended if the normal chapter name contained the word 'credit' also but that's getting into messy detection - re languages etc - probably better to stick with a set/fixed 'StartCredit' marker imo. Use the ChapterAPI plugin to create them (in Movies & TV) - or if you still have the old Introskip Plugin, that will detect them for you (in TV Shows). Bingo, that was exactly what I was having in mind. Link to comment Share on other sites More sharing options...
MagicDoubleM 93 Posted March 4 Author Share Posted March 4 19 hours ago, Luke said: Hi, can't you do that now by writing some code with your webhook receiver to compare the current position against the runtime? I guess it would be possible, but I don't have that kind of control over the receiver (it's IFTTT) and a calculated time-stamp wouldn't be as accurate as these hidden chapter-marks. 1 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