[GH-ISSUE #99] Show correct track position on MPRIS #37

Closed
opened 2026-03-02 23:43:54 +03:00 by kerem · 5 comments
Owner

Originally created by @noelpilled on GitHub (Jan 6, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/99

Hi :)
It looks like MPRIS always shows the track position as 0, is it possible to output the correct position to MPRIS?
image
Track position is always a value similar to this.

Originally created by @noelpilled on GitHub (Jan 6, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/99 Hi :) It looks like MPRIS always shows the track position as 0, is it possible to output the correct position to MPRIS? ![image](https://user-images.githubusercontent.com/112933604/210920339-3b69c532-4676-4649-a266-4ef39b8e0ebd.png) Track position is always a value similar to this.
kerem 2026-03-02 23:43:54 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sewnie commented on GitHub (Jan 6, 2023):

can reproduce

<!-- gh-comment-id:1373253514 --> @sewnie commented on GitHub (Jan 6, 2023): can reproduce
Author
Owner

@aome510 commented on GitHub (Jan 28, 2023):

Should be fixed with #114. @noelpilled @apprehensions can you guys confirm?

<!-- gh-comment-id:1407294286 --> @aome510 commented on GitHub (Jan 28, 2023): Should be fixed with #114. @noelpilled @apprehensions can you guys confirm?
Author
Owner

@sewnie commented on GitHub (Jan 28, 2023):

yes they are fixed.

2023-01-28T05:40:31.108398Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s)
2023-01-28T05:40:31.238511Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s)
2023-01-28T05:40:50.623214Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:50.968240Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.097158Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.239205Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.374257Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.504358Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.640315Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.769300Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:51.900316Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)
2023-01-28T05:40:52.030323Z  INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s)

though, these arent picked up. which are supported by my MPRIS dockapp as seen in #108

<!-- gh-comment-id:1407300341 --> @sewnie commented on GitHub (Jan 28, 2023): yes they are fixed. ```2023-01-28T05:40:30.722329Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:31.108398Z INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s) 2023-01-28T05:40:31.238511Z INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s) 2023-01-28T05:40:50.623214Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:50.968240Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.097158Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.239205Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.374257Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.504358Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.640315Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.769300Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:51.900316Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) 2023-01-28T05:40:52.030323Z INFO spotify_player::media_control: Got a media control event: SeekBy(Forward, 10s) ``` though, these arent picked up. which are supported by my MPRIS dockapp as seen in #108
Author
Owner

@aome510 commented on GitHub (Jan 28, 2023):

2023-01-28T05:40:31.108398Z INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s)

Yeah SeekBy events are not supported atm, but it shouldn't be difficult to implement. Can you create an issue for that?

<!-- gh-comment-id:1407445842 --> @aome510 commented on GitHub (Jan 28, 2023): > 2023-01-28T05:40:31.108398Z INFO spotify_player::media_control: Got a media control event: SeekBy(Backward, 10s) Yeah `SeekBy` events are not supported atm, but it shouldn't be difficult to implement. Can you create an issue for that?
Author
Owner

@sewnie commented on GitHub (Jan 28, 2023):

nope, its a really minor thing anyway.

<!-- gh-comment-id:1407446258 --> @sewnie commented on GitHub (Jan 28, 2023): nope, its a really minor thing anyway.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#37
No description provided.