2009-04-19 15:10:19 +02:00
|
|
|
|
|
|
|
#ifndef __FILESCANNER_H__
|
|
|
|
#define __FILESCANNER_H__
|
|
|
|
|
2009-06-07 18:58:02 +02:00
|
|
|
#include "db.h"
|
2009-04-19 15:10:19 +02:00
|
|
|
|
2013-08-14 23:40:55 +02:00
|
|
|
|
2009-04-19 15:10:19 +02:00
|
|
|
/* Actual scanners */
|
2017-01-11 18:14:33 +01:00
|
|
|
int
|
|
|
|
scan_metadata_ffmpeg(const char *file, struct media_file_info *mfi);
|
|
|
|
|
2009-04-20 17:34:39 +02:00
|
|
|
void
|
2017-10-15 00:09:44 +02:00
|
|
|
scan_playlist(const char *file, time_t mtime, int dir_id);
|
2009-04-20 16:27:56 +02:00
|
|
|
|
2015-04-12 06:49:38 +02:00
|
|
|
void
|
2017-10-15 00:09:44 +02:00
|
|
|
scan_smartpl(const char *file, time_t mtime, int dir_id);
|
2015-04-12 06:49:38 +02:00
|
|
|
|
2009-11-22 11:17:33 +01:00
|
|
|
#ifdef ITUNES
|
|
|
|
void
|
2017-10-15 00:09:44 +02:00
|
|
|
scan_itunes_itml(const char *file);
|
2009-11-22 11:17:33 +01:00
|
|
|
#endif
|
|
|
|
|
2017-03-11 08:14:23 +01:00
|
|
|
const char *
|
|
|
|
filename_from_path(const char *path);
|
|
|
|
|
2017-08-09 18:21:00 +02:00
|
|
|
char *
|
|
|
|
strip_extension(const char *path);
|
|
|
|
|
2009-04-19 15:10:19 +02:00
|
|
|
#endif /* !__FILESCANNER_H__ */
|