Skip to content

Time remaining function #149

@vredesbyyrd

Description

@vredesbyyrd

Hi,

imho, having a function in the playerctl-cli to query a tracks remaining time would be a nice addition. Something like playerctl metadata --format "{{ duration(remaining-time) }}" --follow to view a countdown to 0:00.

I have used the library do get a counter of the remaining time, with varying degrees of success. But having a quick and easy solution with the cli could be handy. Lots of my collection includes long classical pieces, and imo just displaying remaining-time rather than position / length is a good way to free up needed space in a status bar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions