On 2025/03/08 12:09, Klemens Nanni wrote: > 08.03.2025 13:38, Pascal Stumpf пишет: > > --- pkg/README 8 Jan 2024 03:26:56 -0000 1.3 > > +++ pkg/README 8 Mar 2025 09:45:14 -0000 > > @@ -1,12 +1,7 @@ > > -With credentials in an XDG configuration file spotifyd is ready to run, > > e.g. > > -as daemon in ~/.xsession or on-demand via clients such as "spotify-qt": > > - > > - [spotifyd] > > - username = "u...@example.com" > > - password = "secret" > > - > > -Alternatively, the rc.d(8) script runs as dedicated user on the system > > D-Bus > > -where user keyring services (running on its session D-Bus) are unavailable. > > +Authentication via OAuth must be set up using "spotifyd authenticate", > > which > > +will redirect to a web browser, then create > > +${HOME_DIR}/cache/oauth/credentials.json.
Not new, but this doesn't follow README.template. > HOME_DIR is _spotifyd owned and I don't see how the unprivileged user can open > a site as your regular user. I'd suggest adding the user to group _spotifyd.