MagicDoubleM 108 Posted March 3, 2024 Posted March 3, 2024 How about having firing a webhook when playback reaches the credits, to be able to play with the lights?
Luke 38823 Posted March 3, 2024 Posted March 3, 2024 Hi, can't you do that now by writing some code with your webhook receiver to compare the current position against the runtime?
rbjtech 4810 Posted March 4, 2024 Posted March 4, 2024 Use chapters hidden markers - CreditStart ? (IntroStart/IntroEnd will also be there).... ?
Mibok 141 Posted March 4, 2024 Posted March 4, 2024 (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, 2024 by Mibok
rbjtech 4810 Posted March 4, 2024 Posted March 4, 2024 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
MagicDoubleM 108 Posted March 4, 2024 Author Posted March 4, 2024 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.
MagicDoubleM 108 Posted March 4, 2024 Author Posted March 4, 2024 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
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