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

mpris:length returns an s when i think it should return whatever x is #341

Open
maverik-io opened this issue Sep 13, 2024 · 0 comments
Open
Assignees
Labels

Comments

@maverik-io
Copy link

The player I am using is [io].

playerctl metadata --format "Total length: {{ duration(mpris:length) }}"

This command (mentioned in the readme) returns an error on my machine
Specifically, this one :-

Could not execute command: function duration can only be called on track position values

i'm using it to rice my waybar to make a player widget from scratch

@maverik-io maverik-io added the bug label Sep 13, 2024
@maverik-io maverik-io changed the title mpris:length returns an error mpris:length returns an s when i think it should return whatever x is Sep 13, 2024
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