Enable serial detection from GDI files. (#16171)

This commit is contained in:
zoltanvb 2024-01-28 17:51:20 +01:00 committed by GitHub
parent c4c1fb18af
commit 00d01c844e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -614,9 +614,7 @@ static int task_database_iterate_playlist(
case FILE_TYPE_GDI:
gdi_prune(db, name);
db_state->serial[0] = '\0';
/* There are no serial databases, so don't bother with
serials at the moment */
if (0 && task_database_gdi_get_serial(name, db_state->serial, sizeof(db_state->serial)))
if (task_database_gdi_get_serial(name, db_state->serial, sizeof(db_state->serial)))
db->type = DATABASE_TYPE_SERIAL_LOOKUP;
else
{