output/PipeWire: map tags "Date" and "Comment"

This commit is contained in:
Max Kellermann
2023-03-06 07:47:55 +01:00
parent e8994b43a0
commit d5fafa1340
2 changed files with 4 additions and 0 deletions

View File

@@ -945,6 +945,8 @@ PipeWireOutput::SendTag(const Tag &tag)
} tag_map[] = {
{ TAG_ARTIST, PW_KEY_MEDIA_ARTIST },
{ TAG_TITLE, PW_KEY_MEDIA_TITLE },
{ TAG_DATE, PW_KEY_MEDIA_DATE },
{ TAG_COMMENT, PW_KEY_MEDIA_COMMENT },
};
struct spa_dict_item items[1 + std::size(tag_map)];