diff --git a/src/net/downloader.c b/src/net/downloader.c index ffead91a8029b5f77134f3e4b781e1b52a6ae6c7..7ccf0e5b31c4d10213db209d15fed1b5548c8217 100644 --- a/src/net/downloader.c +++ b/src/net/downloader.c @@ -353,7 +353,8 @@ __handle_got_json(volatile sqlite3 *db, struct lkt_repo *repo, struct json_objec if (safe_json_get_long(kara_json, "unix_timestamp", ×tamp)) continue; filestamp = get_mtime(kara.filename); - if (database_get_timestamp(db) >= filestamp && filestamp > timestamp) { + if (database_get_timestamp(db) >= filestamp && filestamp > timestamp && + ! kara_metadata_read(&kara.mdt, kara.filename)) { LOG_INFO_SCT("REPO", "Ignore kara '%ld' with path '%s'", kara.id, kara.filename); continue; }