Skip to content

[BUG] The MPRIS track length must be in microseconds #159

@ungive

Description

@ungive

Preliminary Checks

  • I am using a recent version of the project.
  • I have read the FAQ section of the documentation.

Short Description

The track length is reported in milliseconds instead of microseconds

Steps to Reproduce

  1. Play music
  2. Run playerctl -p deezer metadata

Observed Behavior

Observe that the track length is reported in milliseconds, e.g. 186000.

$ playerctl -p deezer metadata
deezer mpris:length              186000

Expected Behavior

The track length should contain microseconds, e.g. 186000000.

Operating System

Not relevant

Project Version and Package

7.0.150

Environment Variables

Not relevant

Additional Information (Optional)

Spec: https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/#mpris:length

mpris:length

64-bit integer: The duration of the track in microseconds.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions