mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #170] dbus failure should concur to not attempt #86
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#86
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 @sewnie on GitHub (Mar 26, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/170
Log and backtrace
After spotify-player realizes there is no dbus daemon running, it should instead simply stop sending requests when there isn't one available, instead of crashing immediately.
@aome510 commented on GitHub (Mar 26, 2023):
Looks like a third-party problem to me. It's kinda annoying sometimes when the third-party library doesn't implement error handling probably and just uses
unwrapwhich results in panicking the whole program.@sewnie commented on GitHub (Mar 26, 2023):
Hmm, so its either no dbus support or contact the repository? Damn
@aome510 commented on GitHub (Mar 26, 2023):
wdym by no dbus support? I thought the
dbusstill works fine. IIUC from the issue description, this issue seems to happen when the DBUS dies unexpectedly or something, which should happen rarely.@sewnie commented on GitHub (Mar 26, 2023):
I had no dbus session. And spotify-player was built with the features that depend on Spotify, such as mpris and notify.
@aome510 commented on GitHub (Mar 26, 2023):
Wait, it used to work fine for you right? Like the
notifyandmedia-controlfeature. I'm not familiar withdbus, so I don't know how you have no dbus session.@aome510 commented on GitHub (Mar 26, 2023):
FYI,
spotify_playerwithnotifyandmedia-controlstill works for me on my other Ubuntu machine.@sewnie commented on GitHub (Mar 26, 2023):
One would revoke all possible starting sessions, a way to do this is to unset the DBUS environmental variables.
@Sinono3 commented on GitHub (Jan 5, 2024):
This was just fixed in the latest version of Souvlaki. If dbus was not detected when attaching the media controls, it will return an error.
@sewnie commented on GitHub (Jan 6, 2024):
yay htanks