diff --git a/admin-root/config.html b/admin-root/config.html index 7dafaca1..8b86cbd3 100644 --- a/admin-root/config.html +++ b/admin-root/config.html @@ -36,6 +36,14 @@ take effect. Server Name + + Logfile + + + + Art Filename + + Run As diff --git a/src/configfile.c b/src/configfile.c index 2b093363..d1b15003 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -337,6 +337,10 @@ int config_write(WS_CONNINFO *pwsc) { fprintf(configfile,"db_dir\t\t%s\n",ws_getvar(pwsc,"db_dir")); fprintf(configfile,"rescan_interval\t%s\n",ws_getvar(pwsc,"rescan_interval")); fprintf(configfile,"always_scan\t%s\n",ws_getvar(pwsc,"always_scan")); + if(ws_getvar(pwsc,"art_filename") && strlen(ws_getvar(pwsc,"art_filename"))) + fprintf(configfile,"art_filename\t%s\n",ws_getvar(pwsc,"art_filename")); + if(ws_getvar(pwsc,"logfile") && strlen(ws_getvar(pwsc,"logfile"))) + fprintf(configfile,"logfile\t\t%s\n",ws_getvar(pwsc,"logfile")); fprintf(configfile,"process_m3u\t%s\n",ws_getvar(pwsc,"process_m3u")); fclose(configfile);