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.
HOME_DIR is _spotifyd owned and I don't see how the unprivileged user can open a site as your regular user. > +For a headless system, this file can simply be copied over. > That said, I no longer use spotifyd and would be happy for someone to take over maintainer ship. Just please make sure, that README instructions remain as easy and clear as possible, so both authentication and running as unprivileged ports user continue to just work after a quick look at this file.