output/PipeWire: map tags "Date" and "Comment"
This commit is contained in:
parent
e8994b43a0
commit
d5fafa1340
2
NEWS
2
NEWS
|
@ -22,6 +22,8 @@ ver 0.24 (not yet released)
|
|||
- "one-shot" consume mode
|
||||
* tags
|
||||
- new tags "TitleSort", "Mood"
|
||||
* output
|
||||
- pipewire: map tags "Date" and "Comment"
|
||||
* switch to C++20
|
||||
- GCC 10 or clang 11 (or newer) recommended
|
||||
* static partition configuration
|
||||
|
|
|
@ -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)];
|
||||
|
|
Loading…
Reference in New Issue