#include "music.h" #include "httpd.h" #include #include int main(int argc, char **argv) { g_type_init(); music_init(argv[1]); music_scan_root(); httpd_start(); GMainLoop *main_loop = g_main_loop_new(NULL, FALSE); g_main_loop_run(main_loop); httpd_stop(); music_free(); return 0; }