From 9c9c583b8198d3ba4587399d30b4f1babcec3c2c Mon Sep 17 00:00:00 2001 From: chme Date: Wed, 11 Jan 2017 18:14:33 +0100 Subject: [PATCH] [library] move declaration scan_metadata_ffmpeg back to filescanner.h --- src/filescanner.h | 3 +++ src/library.c | 1 + src/library.h | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) 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);