diff --git a/src/filescanner.h b/src/filescanner.h index 2a858f99..1acdf61e 100644 --- a/src/filescanner.h +++ b/src/filescanner.h @@ -14,6 +14,9 @@ /* Actual scanners */ +int +scan_metadata_ffmpeg(const char *file, struct media_file_info *mfi); + int scan_metadata_icy(char *url, struct media_file_info *mfi); diff --git a/src/library.c b/src/library.c index 1cbb6176..9f9c1473 100644 --- a/src/library.c +++ b/src/library.c @@ -41,6 +41,7 @@ #include "commands.h" #include "conffile.h" #include "db.h" +#include "filescanner.h" #include "logger.h" #include "misc.h" #include "player.h" diff --git a/src/library.h b/src/library.h index b07a64bf..e137f520 100644 --- a/src/library.h +++ b/src/library.h @@ -64,9 +64,6 @@ struct library_source }; -int -scan_metadata_ffmpeg(const char *file, struct media_file_info *mfi); - void library_process_media(const char *path, time_t mtime, off_t size, enum data_kind data_kind, enum media_kind force_media_kind, bool force_compilation, struct media_file_info *external_mfi, int dir_id);