Closed jrudess closed 3 years ago
It would be neat if pause
/unpause
commands could take a duration as optional parameter. After that time has elapsed, it would automatically revert to the previous state. This would also be useful (perhaps even more so) for the addtemp
command.
It'd also be great if paused/unpaused state persisted through restarts of the script.
@rarandom All good suggestions, thanks!
@rarandom Added an optional timer to pause command. This only works when pausing an individual streamer, and not for pausing an entire site. The unpause command has been removed and 'pause' is now a toggle.
To record someone for only 30s:
pause site streamer
pause site streamer 30
To pause someone for only 30s:
pause site streamer 30
Would it be possible to add Webhooks check support for Twitch? That way interval checks can be avoided with a large number of users. I've gotten time out errors from the Twitch API through interval checks and it has ended other scripts (haven't tested streamdvr) https://dev.twitch.tv/docs/api/webhooks-reference/#topic-stream-changed https://github.com/mtverlee/lars/issues/13
@camjac251 I stick to a 5 minute polling check, and only polling 3-4 streamers on twitch, so no bans, but I can see that with a large list or a short polling timer, you could get timed-out, or even IP banned.
It is possible to extend the Basic plugin to implement the twitch-api specific hooks you're interested in though it is not something I'm likely to look into for quite some time, but pull-requests are welcome.
To extend the webhooks feature request, would it be possible to support a metadata file saved alongside the stream containing the different titles during stream, twitch category changes, viewcount peak? It seems available through the API, maybe even a better way of checking if someone is online as well https://dev.twitch.tv/docs/api/reference/#get-streams https://discuss.dev.twitch.tv/t/webhook-twitch-start/21010
I have no more plans to implement the final two debug hooks to show live recorder output in the log pane. The files exist on disk and can be 'tail'ed to monitor the output during debug sessions, so there's very little value in having it done in the TUI.
List of TUI ideas as I think of them. Feel free to post your own. Most of the core code for any TUI features will apply to a future web-interface.
debugrecorder: true
, log pane shows live recorder output when streamer is active selection.