-
Notifications
You must be signed in to change notification settings - Fork 480
Closed
Labels
bugA functionality or parts of a program that do not work as intendedA functionality or parts of a program that do not work as intendedwontfixIssues that will not be fixed under any circumstancesIssues that will not be fixed under any circumstances
Description
Description
I'm using on_song_change_hook to update my status bar. When spotifyd triggers a "play" PLAYER_EVENT, I request the song name via playerctl and update my statusbar.
In version 0.3.2 "play" PLAYER_EVENT frequently gets triggered in the last few seconds (40 or so just before the "load" event) of the current song. The last output to stdout when the song starts playing is usually "change" and sometimes "endoftrack".
I have also checked if my script is the culprit by changing the on_song_change_hook to the following.
#!/bin/sh
echo "exiting..."
exit 0
Also, with this simple script the "play" even was delayed until just before the "load" event.
I am grateful and spotifyd makes me happy. Thank you.
To Reproduce
Installed from community repository of artix linux.
</details>
<!-- if you compiled spotifyd yourself. Alsa backend enabled by default unless compiled with the `--no-default-features` flag -->
**Compilation flags**
- [ ] dbus_mpris
- [x] dbus_keyring
- [x] alsa_backend
- [ ] portaudio_backend
- [x] pulseaudio_backend
- [x] rodio_backend
**Versions (please complete the following information):**
<!-- DO NOT use words like `latest`. Please specify the exact version/commit hash -->
- OS: Linux artix49 5.11.4-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 07 Mar 2021 19:53:46 +0000 x86_64 GNU/Linux
- Spotifyd: 0.3.2
- cargo: NA
<!-- **Additional context**
Add any other context about the problem here. -->
robinvd and Barbaross93
Metadata
Metadata
Assignees
Labels
bugA functionality or parts of a program that do not work as intendedA functionality or parts of a program that do not work as intendedwontfixIssues that will not be fixed under any circumstancesIssues that will not be fixed under any circumstances