diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,6 @@ #include "music.h" #include "httpd.h" +#include "server.h" #include <glib.h> #include <glib-object.h> @@ -19,6 +20,7 @@ int main(int argc, char **argv) { music_init(argv[1]); music_scan_root(); + server_start(); httpd_start(); signal(SIGINT, sig_handler); @@ -28,6 +30,7 @@ int main(int argc, char **argv) { g_main_loop_unref(main_loop); httpd_stop(); + server_stop(); music_free(); return 0; |