Open jgsawyers opened 4 years ago
I like this plan. Just note that I think we're going to try to upgrade the script to Python 3 first, but this is great -- I've seen some of the logs getting messed up, probably due to thread safety.
I was just thinking this while I was poking at stuff yesterday. See Draft PR #92
Among other things I'd like to see in a future WebUI, would also be logging visible from a browser.
Throwing this out for discussion.... I've been using this on a local branch for awhile now to debug and troubleshoot issues. Rather than using print statements, I'd suggest we move to using logging throughout.
For example, here's what a startup, session start, and session end looks like when converted to logging at a debug level. (This includes
-nostats -hide_banner
args to ffmpeg to quiet it down a bit as well).