From 2547a4f72327b48cf272dfaa581eb3c3c06be3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20L=C3=A9cuyer?= <30299784+Jiogo18@users.noreply.github.com> Date: Sat, 13 Jul 2024 11:38:55 +0200 Subject: [PATCH] docs: Rename `ap-port` option as `ap_port` (#1477) * docs: Rename `ap-port` option as `ap_port` The option is named `ap-port` in librespot. The option is named [`ap_port` in ConfigValues](https://github.com/hrkfdn/ncspot/blob/9624c03264bb4038138f03374c4bfb70db7bc850/src/config.rs#L105). In ncspot/config.toml `ap-port = 443` does nothing, librespot uses port 4070 `ap_port = 443` librespot uses HTTPS * chore(docs): Rename `ap_port` option in CHANGELOG --- CHANGELOG.md | 2 +- doc/users.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46c6011d..e20f381c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.1.1] - 2024-05-10 ### Added -- `ap-port` configuration variable to choose what Spotify access point port to use +- `ap_port` configuration variable to choose what Spotify access point port to use - Instructions for installation with `snap` ### Fixed diff --git a/doc/users.md b/doc/users.md index e8c66209..698e56af 100644 --- a/doc/users.md +++ b/doc/users.md @@ -267,7 +267,7 @@ Possible configuration values are: | `[notification_format]` | Set the text displayed in notifications[4] | See [notification formatting](#notification-formatting) | | | `[theme]` | Custom theme | See [custom theme](#theming) | | | `[keybindings]` | Custom keybindings | See [custom keybindings](#custom-keybindings) | | -| `ap-port` | Set ap-port for librespot (for restrictive firewalls) | `80`, `443`, `4070` | | +| `ap_port` | Set ap-port for librespot (for restrictive firewalls) | `80`, `443`, `4070` | | 1. If built with the `cover` feature. 2. By default the statusbar will show a play icon when a track is playing and