Skip to content

In metadata --follow, reset position to 0 when track changes #351

@xPMo

Description

@xPMo

The players I am using are Strawberry and Finamp. These do not output MediaPlayer2.Player Seeked events when the track changes, so when using player metadata --follow, playerctl will continue to increment the position rather than reset it to 0.

hecking the MPRIS spec, I believe this is incorrect.

This signal does not need to be emitted when playback starts or when the track changes, unless the track is starting at an unexpected position. An expected position would be the last known one when going from Paused to Playing, and 0 when going from Stopped to Playing.

(Thanks for playerctl(d), it's been an awesome project for so many years!)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions