mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-23 21:55:55 -05:00
Initial changes for db
This commit is contained in:
parent
6f4df7885b
commit
62ea6d2fa8
@ -24,6 +24,10 @@ take effect.
|
||||
<TD>MP3 Dir</TD>
|
||||
<TD><INPUT TYPE="TEXT" @READONLY@ NAME="MP3_DIR" SIZE="80" VALUE="@MP3_DIR@"></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Database Dir</TD>
|
||||
<TD><INPUT TYPE="TEXT" @READONLY@ NAME="DB_DIR" SIZE="80" VALUE="@DB_DIR@"></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Port</TD>
|
||||
<TD><INPUT TYPE="TEXT" @READONLY@ NAME="PORT" VALUE="@PORT@"></TD>
|
||||
|
@ -473,7 +473,7 @@ int main(int argc, char *argv[]) {
|
||||
DPRINTF(ERR_DEBUG,"Initializing database\n");
|
||||
|
||||
/* Initialize the database before starting */
|
||||
if(db_init("none")) {
|
||||
if(db_init(config.dbdir)) {
|
||||
perror("db_init");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user