Closed FirestrikeX closed 5 years ago
The method you're calling to get a valid filename get_valid_filename from utils under watcher.py does not remove back slashes and forward slashes from stream titles leading to an error in writing the file
get_valid_filename
file_name = curr_time + " - " + self.streamer + " - " + get_valid_filename(self.stream_title) + ".flv"
Thank you. I'm changing to the better suited sanitize_filename. I didn't know this function existed.
Duplicate of #13
The method you're calling to get a valid filename
get_valid_filename
from utils under watcher.py does not remove back slashes and forward slashes from stream titles leading to an error in writing the filefile_name = curr_time + " - " + self.streamer + " - " + get_valid_filename(self.stream_title) + ".flv"