* added support for ap-port conf
* chore: Reindent table
* feat: Only set `ap_port` in session config if supplied by user
* docs: Update CHANGELOG
---------
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
* config / authentication: permit to call external program for getting credentials
You can add into your ncspot/config.toml like this:
```
creds_username = "mylogin"
creds_passeval = "pass my_pass_path_to_spot_password"
```
Or using any password manager who send your password.to stdout.
If a newline is detected it will be automatically removed
* Move credential commands into separate structure
Also add an option for a username command
* Document credential commands
---------
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
librespot stores a more secure token that is valid for a while, rely on this
instead.
On the flip side this requires users to re-enter their login data when their
token has expired.
If the token validity is too short we will have to come up with another
approach, e.g. OS keyrings.
fixes#447
- depend on specific librespot crates to remove clutter
- update versions
this should also help building on openbsd, as the unused librespot-connect
depended on the nix crate, which does not build on openbsd.