Package Details: playerctld-systemd-unit 1-1

Git Clone URL: https://aur.archlinux.org/playerctld-systemd-unit.git (read-only, click to copy)
Package Base: playerctld-systemd-unit
Description: A systemd user unit for playerctld
Upstream URL: https://wiki.archlinux.org/title/MPRIS#Playerctl
Licenses: GPL
Submitter: lukasdoesdev
Maintainer: lukasdoesdev
Last Packager: lukasdoesdev
Votes: 9
Popularity: 0.134204
First Submitted: 2022-06-04 18:51 (UTC)
Last Updated: 2022-06-04 18:51 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

Auerhuhn commented on 2025-05-06 13:24 (UTC)

@lukasdoesdev For your convenience, here’s a shell snippet that you can run to download and apply the patch:

cd playerctld-systemd-unit
curl -LO https://salsa.debian.org/-/snippets/782/raw/main/playerctld-systemd-unit.patch
git am playerctld-systemd-unit.patch
rm playerctld-systemd-unit.patch

Auerhuhn commented on 2025-05-06 13:15 (UTC) (edited on 2025-05-06 13:16 (UTC) by Auerhuhn)

Hi @lukasdoesdev,

Thanks for maintaining this PKGBUILD.

Would you consider the following fix to your unit file?

[Service]
Type=forking
ExecStart=/usr/bin/playerctld daemon
BusName=org.mpris.MediaPlayer2.playerctld

The fix allows systemd to correctly guess the main PID of the forked process, and to defer that guess until the bus name has appeared.

Regards
Claudia