Don't add duplicates (same fname, artist, album and title), issue #85

This commit is contained in:
ejurgensen
2015-01-14 22:06:27 +01:00
parent 4df4c50c35
commit 70365422b4
3 changed files with 33 additions and 0 deletions

View File

@@ -394,6 +394,9 @@ db_file_stamp_bypath(char *path, time_t *stamp, int *id);
struct media_file_info *
db_file_fetch_byid(int id);
int
db_file_is_duplicate(struct media_file_info *mfi);
int
db_file_add(struct media_file_info *mfi);