Hi I have a python script that looks for a video stream, if the stream is found it will do something.
When streamlink does NOT find a stream it displays a message (this is standard functionality) "Could not get video info - ERROR: Video unavailable".
In the documentation it says you can write to a log file but I am at a loss... this is what I call
streams = streamlink.streams (channel_stream)
How do I complete that statement to have streamlink to log to /var/stramlink.log
Thanks in advance. h
From the documentation it looks like you can set log file settings on a streamlink session using an instance of the session:
These settings can be set something like: