dbUtils: return multiple tag values per song

When collecting tag values for the result set, add all of a song's tag
values of the searched type.  This affects the "list" command.
Previously, "list" only considered the first tag value of a song.
This commit is contained in:
Max Kellermann
2009-12-27 16:49:04 +01:00
parent 915d1d0738
commit d66c055fec
2 changed files with 1 additions and 1 deletions

View File

@@ -246,7 +246,6 @@ visitTag(struct client *client, struct strset *set,
for (unsigned i = 0; i < tag->num_items; i++) {
if (tag->items[i]->type == tagType) {
strset_add(set, tag->items[i]->value);
return;
}
}