Skip to content

Commit

Permalink
docs: Rename ap-port option as ap_port (#1477)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Jiogo18 authored Jul 13, 2024
1 parent 94c8d4c commit 2547a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Possible configuration values are:
| `[notification_format]` | Set the text displayed in notifications<sup>[4]</sup> | 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
Expand Down

0 comments on commit 2547a4f

Please sign in to comment.