plex-mpv-shim
plex-mpv-shim copied to clipboard
logging.basicConfig(level=logging.DEBUG...) could be turned down by default?
As it stands, mpv_shim.py ships with:
logging.basicConfig(level=logging.DEBUG,
which sends one debug message per status update to STDERR, a stream of:
2021-09-13 13:25:34,357 [ DEBUG] timeline: TimelineManager::SendTimelineToSubscribers updating all subscribers
one per second, continuous.
I recoded it in the python3.9/ lib path, but can you document how to tune this via the .config/ path, or some cleaner way, or turn it down, (I went to INFO) and document where to turn it "up" in a Debugging section maybe?
(sorry if I missed this already being documented/done)