From c6e475671dca6c49385271e70102bc51b98e754d Mon Sep 17 00:00:00 2001 From: Pablo Yaniz Date: Fri, 23 Dec 2022 15:37:24 -0600 Subject: [PATCH 1/2] added quotes to file --- rffmpeg.yml.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rffmpeg.yml.sample b/rffmpeg.yml.sample index 840c048..bccc49d 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 From b9930e6a455be0f33879c2906f6bd09971a20f41 Mon Sep 17 00:00:00 2001 From: Pablo Yaniz Date: Fri, 23 Dec 2022 15:42:17 -0600 Subject: [PATCH 2/2] -q --- rffmpeg | 2 +- rffmpeg.yml.sample | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 bccc49d..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