Fix content scanner creating false positive playlist entries that also have wrong label and crc32.

This commit is contained in:
rlnilsen 2019-02-21 04:24:07 +01:00
parent d46a60bb2b
commit e71b6d6d23

View File

@ -732,6 +732,9 @@ static int database_info_list_iterate_end_no_match(
if (db_state->crc != 0)
db_state->crc = 0;
if (db_state->archive_crc != 0)
db_state->archive_crc = 0;
return 0;
}
@ -857,6 +860,7 @@ static int database_info_list_iterate_found_match(
db_state->info = NULL;
db_state->crc = 0;
db_state->archive_crc = 0;
free(entry_path_str);
free(db_playlist_path);