[GH-ISSUE #350] MacOS Native Media Player playback bar out-of-sync #240

Closed
opened 2026-02-28 14:31:34 +03:00 by kerem · 2 comments
Owner

Originally created by @royathan on GitHub (Oct 20, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/350

Describe the bug
On MacOS the native media player playback bar is not controllable and does not follow along with the same bar in the Psst application.

To Reproduce
Play any song via Psst on MacOS, then try to change to a different part of the song via the native MacOS media player.
As well, you can change the position in the song via Psst, and watch the progress not get reflected in the native media player.

Expected behavior
The native MacOS media player playback progress bar should allow you to control the position in the song.

Screenshots
image
image

Environment

  • OS: MacOS
  • Version: master branch 10/20/22, not sure where to find the version

Additional context
The souvlaki MediaControlEvent::SetPosition event hasn't been implemented yet in Psst, as well, the MacOS implementation in souvlaki itself isn't completed. As well, the update_media_control_metadata() method is only being called during play/pause and needs to have some of its code pulled out and used during a cmd::PLAY_SEEK event.

Originally created by @royathan on GitHub (Oct 20, 2022). Original GitHub issue: https://github.com/jpochyla/psst/issues/350 **Describe the bug** On MacOS the native media player playback bar is not controllable and does not follow along with the same bar in the Psst application. **To Reproduce** Play any song via Psst on MacOS, then try to change to a different part of the song via the native MacOS media player. As well, you can change the position in the song via Psst, and watch the progress not get reflected in the native media player. **Expected behavior** The native MacOS media player playback progress bar should allow you to control the position in the song. **Screenshots** <img width="496" alt="image" src="https://user-images.githubusercontent.com/56088145/196998421-620f04f7-8937-44c4-895e-c3e714e375d4.png"> <img width="293" alt="image" src="https://user-images.githubusercontent.com/56088145/196998459-725dffae-ee0b-4c33-a961-3eb772f13871.png"> **Environment** - OS: MacOS - Version: master branch 10/20/22, not sure where to find the version **Additional context** The [souvlaki](https://github.com/Sinono3/souvlaki/pull/28) `MediaControlEvent::SetPosition` event hasn't been implemented yet in Psst, as well, the MacOS implementation in souvlaki itself isn't completed. As well, the `update_media_control_metadata()` method is only being called during play/pause and needs to have some of its code pulled out and used during a `cmd::PLAY_SEEK` event.
kerem 2026-02-28 14:31:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@royathan commented on GitHub (Oct 20, 2022):

I'm working on this now. I've opened a PR to implement the SetPosition event for MacOS in souvlaki. Once that is handled I can open a PR with the rest of the changes listed in the Additional Context. Though depending on how long the souvlaki PR takes to get wrapped up I may work on the metadata updating as a separate branch.

<!-- gh-comment-id:1285810740 --> @royathan commented on GitHub (Oct 20, 2022): I'm working on this now. I've opened a [PR to implement the SetPosition event for MacOS in souvlaki](https://github.com/Sinono3/souvlaki/pull/28). Once that is handled I can open a PR with the rest of the changes listed in the **Additional Context**. Though depending on how long the souvlaki PR takes to get wrapped up I may work on the metadata updating as a separate branch.
Author
Owner

@Insprill commented on GitHub (Jan 12, 2023):

Closed with #351 and #352.

<!-- gh-comment-id:1379652365 --> @Insprill commented on GitHub (Jan 12, 2023): Closed with #351 and #352.
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/psst#240
No description provided.