mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #185] Audio playback not detected in KDE media player #138
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Drarig29 on GitHub (Sep 19, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/185
The Linux desktop environment KDE has a media player in the notification bar. It can show the playing audio and you can control the music with it (play/pause, previous/next tracks).
This is an example with the regular Spotify app.
But
psstdoesn't show there. And I can't use my KDE global shortcuts to control the audio playback.@Drarig29 commented on GitHub (Sep 19, 2021):
Also, I use
neofetchin my terminal and the current song wasn't showing.This is an example with the regular Spotify app.
So I checked how it works:
github.com/dylanaraps/neofetch@429499e9b9/neofetch (L2868-L2878)It retrieves the playback with this command:
And it works with
psstasMUSIC_PLAYER...So I don't know what is missing in psst for KDE to be able to detect the audio playback.
@jpochyla commented on GitHub (Sep 20, 2021):
We're using the souvlaki crate for this.
@jpochyla commented on GitHub (Dec 24, 2021):
It looks like the souvlaki crate has fixed the issue, but we're intentionally pinned to an older version because
zbusdrags in a ton of cruft. Not sure what to do about this.@charliethomson commented on GitHub (Jan 19, 2022):
@jpochyla It looks like souvlaki 0.5.0 removes the zbus dep, 0.5.0 also fixes this issue, wanna verify and bump?
@jpochyla commented on GitHub (Jan 19, 2022):
Souvlaki 0.5 is in master already, forgot to close this.