It would be helpful to support loading the password from a separate file, because it would allow to keep secrets separate from configuration.
Specifically it would help with using mpdscribble as a NixOS module, because NixOS auto-generates a world readable configuration file, which, in the current setup, has to contain the password.
Something like:
[last.fm]
url = http://post.audioscrobbler.com/
username = foobar
password_file = /var/secret/mpdscribble_password
It would be helpful to support loading the password from a separate file, because it would allow to keep secrets separate from configuration.
Specifically it would help with using mpdscribble as a NixOS module, because NixOS auto-generates a world readable configuration file, which, in the current setup, has to contain the password.
Something like: