diff --git a/rffmpeg b/rffmpeg index 5010282..e532379 100755 --- a/rffmpeg +++ b/rffmpeg @@ -112,7 +112,7 @@ def load_config(): config["datedlogfiles"] = config_logging.get("datedlogfiles", False) if config["datedlogfiles"] is True: config["datedlogdir"] = config_logging.get("datedlogdir", "/var/log/jellyfin") - config["logfile"] = f"{config['datedlogdir']}/{datetime.today().strftime('%Y%m%d')}_rffmpeg.log" + config["logfile"] = config['datedlogdir'] + "/" + datetime.today().strftime('%Y%m%d') + "_rffmpeg.log" config["logdebug"] = config_logging.get("debug", False) # Parse the keys from the state group diff --git a/rffmpeg.yml.sample b/rffmpeg.yml.sample index 840c048..ab1b389 100644 --- a/rffmpeg.yml.sample +++ b/rffmpeg.yml.sample @@ -22,7 +22,7 @@ rffmpeg: # Use this base directory for Jellyfin-logging compatible dated log files if you enable "datedlogfiles" # Set this to your Jellyfin logging directory if it differs from the default - #datedlogdir: /var/log/jellyfin + #datedlogdir: "/var/log/jellyfin/" # Show debugging messages #debug: false