Speedup startup rescan

This commit is contained in:
Julien BLACHE
2011-06-12 11:06:37 +02:00
parent 96c367f556
commit 1dfd27090e
3 changed files with 25 additions and 19 deletions

View File

@@ -326,7 +326,7 @@ void
db_file_inc_playcount(int id);
void
db_file_ping(char *path);
db_file_ping(int id);
char *
db_file_path_byid(int id);
@@ -343,8 +343,8 @@ db_file_id_byfile(char *filename);
int
db_file_id_byurl(char *url);
time_t
db_file_stamp_bypath(char *path);
void
db_file_stamp_bypath(char *path, time_t *stamp, int *id);
struct media_file_info *
db_file_fetch_byid(int id);