livestreamer
livestreamer copied to clipboard
[question] how to setup a trigger when using --retry flags to wait for streams?
my livestreamer use case includes --retry-open
and --retry-streams
flags, to wait for twitch streams, and fire up mpv
as soon as the stream goes live. However, I've been wanting to be able to simultaneously start a web browser with chat window of that stream.
Because livestreamer
command is running both while waiting and when starting mpv
, I cannot use bash tricks like ;
or &&
to tie up the browser window to it.
How can I trigger another command the moment livestreamer
goes from standby to streaming?
Probably possible with an actual script. Not really a Livestreamer issue. Ask this nicely on unix.stackexchange.com and someone will probably do the script for you. :D
@tp0 I see, thanks for the suggestion. yeah stackexchange is a great resource.