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 format key playerName truncates output #346

Open
o-alquimista opened this issue Dec 15, 2024 · 1 comment
Open

Metadata format key playerName truncates output #346

o-alquimista opened this issue Dec 15, 2024 · 1 comment
Assignees
Labels

Comments

@o-alquimista
Copy link

o-alquimista commented Dec 15, 2024

The player I am using is Amberol, installed from Flathub (flatpak). Its command name is io.bassi.Amberol.

To reproduce:

  1. Start Amberol and play something
  2. Run playerctl metadata --format "{{ playerName }}"

Expected output: io.bassi.Amberol
Actual output: io

On the other hand, playerctl -l shows the correct player name.

$ playerctl -l
io.bassi.Amberol

playerctl v2.4.1

@teodor6140
Copy link

This is not documented but you can use playerInstance to get the full name.

test.add('{{playerName}} - {{playerInstance}}',

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

3 participants