So I'm wanting to make a plugin so that I can prevent my computer sleeping while there is an active stream, which seems simple enough. I've had a brief look at the API reference and can't see any notifications about when streaming starts/finishes, is it possible to get this information from the API? If not I guess I'll need to monitor which processes are active, or manually hook the transcoder, but I thought I'd give the Plugin system a go first.
So I'm wanting to make a plugin so that I can prevent my computer sleeping while there is an active stream, which seems simple enough. I've had a brief look at the API reference and can't see any notifications about when streaming starts/finishes, is it possible to get this information from the API? If not I guess I'll need to monitor which processes are active, or manually hook the transcoder, but I thought I'd give the Plugin system a go first.
Thanks
you can use the timeline API, but it'll only work for PlexPass user enabled servers.