* When called with -R, only remove art_cache and files.db in case users use an imporant directory as their db dir.
* Touch up log directory handling. If there is no log dir, but there is a db dir, store the log in the db dir.
This commit is contained in:
@ -84,8 +84,8 @@ struct lan_addr_s lan_addr[MAX_LAN_ADDR];
|
||||
sqlite3 * db;
|
||||
char dlna_no_conv[] = "DLNA.ORG_OP=01;DLNA.ORG_CI=0";
|
||||
char friendly_name[FRIENDLYNAME_MAX_LEN];
|
||||
char db_path[PATH_MAX] = DEFAULT_DB_PATH;
|
||||
char log_path[PATH_MAX] = DEFAULT_LOG_PATH;
|
||||
char db_path[PATH_MAX] = {'\0'};
|
||||
char log_path[PATH_MAX] = {'\0'};
|
||||
struct media_dir_s * media_dirs = NULL;
|
||||
struct album_art_name_s * album_art_names = NULL;
|
||||
struct client_cache_s clients[CLIENT_CACHE_SLOTS];
|
||||
|
Reference in New Issue
Block a user