jrudess / streamdvr

DVR for streaming entertainment
GNU General Public License v3.0
67 stars 16 forks source link

Future TUI ideas #108

Closed jrudess closed 3 years ago

jrudess commented 5 years ago

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.

rarandom commented 5 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.

jrudess commented 5 years ago

@rarandom All good suggestions, thanks!

jrudess commented 5 years ago

@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
camjac251 commented 5 years ago

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

jrudess commented 5 years ago

@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.

camjac251 commented 4 years ago

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

jrudess commented 3 years ago

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.