View Single Post
  #1  
Old 05-19-2017, 03:03 PM
Drexx Drexx is offline
Junior Member
 
Join Date: Sep 2016
Posts: 3
Drexx is on a distinguished road
Default

Streamlink overwriting


How do I get streamlink to auto check, record and add a number or date after the filename so it doesn't ask if I want to overwrite the file? Currently it tells me the file already exists and asks if I want to overwrite. If I say no, the stream closes and I have to manually choose a new file name.

Currently using: streamlink https://www.cam4.com/model best -o model -retry-streams 120

What should it look like to:

Check url every 120 seconds.
If user is on: start recording
Add a number or date to file name to stop overwriting
If the stream closes, auto check until user comes back on.
Repeat process

Any help would be appreciated - thanks.
Reply With Quote