owntone-server/src/library/filescanner.h
chme d10c3672c6 [filescanner] Add support to save/add/delete local stored playlists
Allows creating/modifying of playlists in one of the configured library
directories.
2017-08-09 21:41:32 +02:00

30 lines
469 B
C

#ifndef __FILESCANNER_H__
#define __FILESCANNER_H__
#include "db.h"
/* Actual scanners */
int
scan_metadata_ffmpeg(const char *file, struct media_file_info *mfi);
void
scan_playlist(char *file, time_t mtime, int dir_id);
void
scan_smartpl(char *file, time_t mtime, int dir_id);
#ifdef ITUNES
void
scan_itunes_itml(char *file);
#endif
const char *
filename_from_path(const char *path);
char *
strip_extension(const char *path);
#endif /* !__FILESCANNER_H__ */