bergware/dynamix

S3 sleep check active Plex streams

Opened this issue · 3 comments

I am thinking of adding a setting where the server won't go to sleep when someone is streaming from Plex. Just wondering whether this feature would be considered useful and would be accepted into the plugin.

Asking because there wouldn't be much use for me making this custom when it will be removed with every update of the plugin.

Any reason why this cant be achieved by monitoring the Ethernet Traffic?
That is already implemented and it works for more that one specific media center server (eg Plex, Emby, Jellyfin etc)

That's my current setup, however the ethernet traffic may have a million other causes. In my case seeding Linux ISO torrents usually keeps my server from going to sleep.

(Another feature I thought of would be excluding some containers' traffic from the amount of traffic being checked. This seems way more complex to implement, though.)

Could you start creating a custom sulution to test it?
For example I thought about filtering the trafic assertiation by IP range or route based on what will work and hardcode it into the script as proof of concept?
Plex filtering is maybe to specific but a flag for internal trafic only would be useable for more usecases.