[filescanner] Remove unnecessary query for file id in process_media

The previous query for db_file_stamp_bypath already retrieves the file
id for the given path.
This commit is contained in:
chme 2016-12-16 18:38:03 +01:00
parent 351725c8b2
commit af774ef175
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ filescanner_process_media(char *path, time_t mtime, off_t size, int type, struct
mfi = external_mfi;
if (stamp)
mfi->id = db_file_id_bypath(path);
mfi->id = id;
mfi->fname = strdup(filename);
if (!mfi->fname)