15 lines
3.5 KiB
JSON
15 lines
3.5 KiB
JSON
[
|
|
{
|
|
"id": "MakeMKV Notification",
|
|
"result": {
|
|
"structured": "TRIGGER: When a webhook with ID -CB387ndlPmk9iPXqqP-Zprk8 is received via POST or PUT method, restricted to local network only. CONDITIONS: None. ACTIONS: Based on the webhook payload event field, perform one of the following notification sequences: 1. If event is 'automatic_disc_ripper_started', send a low importance blue notification titled '🎬 MakeMKV Service Started' to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 2. If event is 'disc_rip_started', send a normal importance orange notification titled '📀 Disc Ripping Started' with disc details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 3. If event is 'disc_rip_terminated', send a high importance notification (green for SUCCESS, red otherwise) with a conditional title and disc details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 4. If event is 'disc_rip_skipped' AND (reason is 'SERVICE_FIRST_RUN' OR last_skip_notification [input_datetime.last_skip_notification] is unset OR more than 1 hour has passed since its last value), then set last skip notification datetime [input_datetime.last_skip_notification] to current time and send a low importance yellow notification titled '⏭️ Disc Skipped' with disc details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 5. If event is 'disc_eject_failed', send a high importance deep orange notification titled '⚠️ Disc Eject Failed' with error details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 6. If event is 'gui_disc_rip_started', send a normal importance purple notification titled '🖥️ Manual Rip Started' with disc details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 7. If event is 'gui_disc_rip_terminated', send a high importance notification (green for SUCCESS, red otherwise) with a conditional title and disc details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 8. If event is 'gui_raw', send a low importance blue-grey notification titled '🔧 MakeMKV Debug' with status details to mobile app notification [notify.mobile_app_noah_kamaras_iphone]. 9. For any other event, send a normal importance grey notification titled '❓ Unknown MakeMKV Event' with raw payload to mobile app notification [notify.mobile_app_noah_kamaras_iphone].",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered when a specific webhook request is received from the local network.",
|
|
"conditions": "There are no conditions that must be met before the actions are executed.",
|
|
"action": "Depending on the type of event reported in the webhook data, a detailed notification is sent to the user's iPhone. The notifications cover various stages of the disc ripping process: service startup, disc ripping start and completion (both automatic and manual), skipped discs, eject failures, and debug messages. For skipped discs, a notification is only sent if it's the first run or if an hour has passed since the last skip notification, and it also updates a timestamp. Each notification has a custom title, message with relevant details like disc label and drive, and visual styling (importance level and color) appropriate for the event."
|
|
},
|
|
"human_like": "Sends detailed iPhone notifications for various events during the MakeMKV disc ripping process, keeping the user informed about progress, successes, failures, and skips.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |