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