* Add file filters to inotify scanner. Now, for example, an audio-only directory should not have image or video files put in the database by the inotify auto-scanner.

This commit is contained in:
Justin Maggard
2009-04-02 02:40:35 +00:00
parent ea70f079f2
commit 608f3f902c
3 changed files with 56 additions and 4 deletions

View File

@ -15,6 +15,15 @@
#define VIDEO_DIR_ID "2$15"
#define IMAGE_DIR_ID "3$16"
int
is_video(const char * file);
int
is_audio(const char * file);
int
is_image(const char * file);
sqlite_int64
get_next_available_id(const char * table, const char * parentID);