mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 11:32:34 -05:00
add status update
This commit is contained in:
parent
a9a006754e
commit
46aecff93a
13
src/main.c
13
src/main.c
@ -317,23 +317,14 @@ int main(int argc, char *argv[]) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
DPRINTF(ERR_DEBUG,"Scanning MP3s\n");
|
||||
printf("Scanning MP3s\n");
|
||||
|
||||
if(scan_init(config.mp3dir)) {
|
||||
perror("scan_init");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Dump of database:\n");
|
||||
handle=db_enum_begin();
|
||||
while(pmp3=db_enum(&handle)) {
|
||||
printf("File: %s\n",pmp3->fname);
|
||||
}
|
||||
db_enum_end();
|
||||
|
||||
|
||||
#endif
|
||||
printf("Done... starting server\n");
|
||||
|
||||
/* start up the web server */
|
||||
ws_config.web_root=config.web_root;
|
||||
|
Loading…
x
Reference in New Issue
Block a user