SongFilter: make Item an interface

Prepare to allow more complex expressions.
This commit is contained in:
Max Kellermann
2018-07-25 07:58:35 +02:00
parent 438366effc
commit 2cfccc1c34
5 changed files with 301 additions and 191 deletions

View File

@@ -248,7 +248,7 @@ handle_list(Client &client, Request args, Response &r)
return CommandResult::ERROR;
}
filter.reset(new SongFilter((unsigned)TAG_ARTIST,
filter.reset(new SongFilter(TAG_ARTIST,
args.shift()));
}