You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make playback metadata fields configurable (#756)
- Add `playback_metadata_fields` option to config, allowing users to
control which metadata fields (repeat, shuffle, volume, device) are
shown in the playback UI.
- Update example config and documentation to reflect the new option.
- Users can now specify any combination and order of metadata fields to
display in the `{metadata}` section.
|`client_id`| the Spotify client's ID |`65b708073fc0480ea92a077233ca87bd`|
29
+
|`client_id_command`| a shell command that prints the Spotify client ID to stdout (overrides `client_id`) |`None`|
30
+
|`login_redirect_uri`| the redirect URI for authenticating the application |`http://127.0.0.1:8989/login`|
31
+
|`client_port`| the port that the application's client is running on to handle CLI commands |`8080`|
32
+
|`tracks_playback_limit`| the limit for the number of tracks played in a **tracks** playback |`50`|
33
+
|`playback_format`| the format of the text in the playback's window |`{status} {track} • {artists} {liked}\n{album}\n{metadata}`|
34
+
|`playback_metadata_fields`| list of ordered metadata fields to display in the playback UI's `{metadata}` section. Possible values: `"repeat"`, `"shuffle"`, `"volume"`, `"device"`|`["repeat", "shuffle", "volume", "device"]`|
35
+
|`notify_format`| the format of a notification (`notify` feature only) |`{ summary = "{track} • {artists}", body = "{album}" }`|
36
+
|`notify_timeout_in_secs`| the timeout (in seconds) of a notification (`notify` feature only) |`0` (no timeout) |
37
+
|`player_event_hook_command`| the hook command executed when there is a new player event |`None`|
38
+
|`ap_port`| the application's Spotify session connection port |`None`|
39
+
|`proxy`| the application's Spotify session connection proxy |`None`|
40
+
|`theme`| the application's theme |`default`|
41
+
|`app_refresh_duration_in_ms`| the duration (in ms) between two consecutive application refreshes |`32`|
42
+
|`playback_refresh_duration_in_ms`| the duration (in ms) between two consecutive playback refreshes |`0`|
43
+
|`page_size_in_rows`| a page's size expressed as a number of rows (for page-navigation commands) |`20`|
44
+
|`enable_media_control`| enable application media control support (`media-control` feature only) |`true` (Linux), `false` (Windows and MacOS) |
0 commit comments