AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
76 stars 6 forks source link

New Event - New recording created #14

Closed Penkethboy closed 4 years ago

Penkethboy commented 4 years ago

When you add a new recording (manually) to LiveTV and/or a new recording is added to a (an Existing) Series recording - i guess after the EPG is updated.

Describe the solution you'd like A new event, time/date for when the start end of the recording will occur, Name, Series, Season, Episode, name of recording, channel number, Library name etc

Describe alternatives you've considered Reading the recording events periodically via the API - and reporting on them - clunky but works

AnthonyMusgrove commented 4 years ago

Great idea mate, absolutely perfect idea. And easy to implement too, there are events in the system for Timer creation and Series Timer creation, bare with me I'll get some of the variables available for these events, and we can integrate new events in for them :)

Penkethboy commented 4 years ago

Cool

Penkethboy commented 4 years ago

@AnthonyMusgrove Any update on this :)

AnthonyMusgrove commented 4 years ago

Alrighty! Issue #14 is complete, i've added two new events:

onRecordingTimerCreated and onRecordingTimerCancelled :)

Recording Timer CREATED : Timer ID:"0684a592ea448fbe53bf240a44a1a4dc" - Name:"300", Date_Start:"22/06/2020 8:30:00 PM", Date_End:"22/06/2020 10:55:00 PM" Recording Timer CANCELLED : Timer ID:"0684a592ea448fbe53bf240a44a1a4dc" - Name:-, Date_Start:-, Date_End:-