Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata ignores all but last key #332

Open
emperor06 opened this issue Jun 12, 2024 · 1 comment
Open

Metadata ignores all but last key #332

emperor06 opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels

Comments

@emperor06
Copy link

Player Lollypop on Arch Linux

The documentation suggests metadata can take multiple keys (metadata [KEY...]) but when passing multiple keys, only the last one is displayed.

Example:
$ playerctl metadata artist
MyBand

$ playerctl metadata title
MySong

$ playerctl metadata artist title
MySong

@emperor06
Copy link
Author

I think I've found where the problem is.
I've made a naive attempt at fixing it that works for me, but I'm really not familiar with glib and low-level string memory things so it may very well segfault or memleak.
Here's the attempt, just in case: emperor06@c3700b0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants