Merge pull request #44 from pyaniz/master

Fixed operand failing when running init
This commit is contained in:
Joshua M. Boniface 2022-12-24 13:08:58 -05:00 committed by GitHub
commit dcbb485330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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