diff --git a/CHANGELOG.md b/CHANGELOG.md index a11d932e..96a3b7be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,12 +70,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [connect] Add `pause` parameter to `Spirc::disconnect` method (breaking) - [connect] Add `volume_steps` to `ConnectConfig` (breaking) - [connect] Add and enforce rustdoc +- [connect] Add `audio/local` to the `supported_types` field of the device capabilities. - [playback] Add `track` field to `PlayerEvent::RepeatChanged` (breaking) - [playback] Add `PlayerEvent::PositionChanged` event to notify about the current playback position - [core] Add `request_with_options` and `request_with_protobuf_and_options` to `SpClient` - [core] Add `try_get_urls` to `CdnUrl` - [oauth] Add `OAuthClient` and `OAuthClientBuilder` structs to achieve a more customizable login process + ### Fixed - [test] Missing bindgen breaks crossbuild on recent runners. Now installing latest bindgen in addition. diff --git a/connect/src/state.rs b/connect/src/state.rs index a84de234..b4ee61b2 100644 --- a/connect/src/state.rs +++ b/connect/src/state.rs @@ -161,7 +161,11 @@ impl ConnectState { supports_gzip_pushes: true, // todo: enable after logout handling is implemented, see spirc logout_request supports_logout: false, - supported_types: vec!["audio/episode".into(), "audio/track".into()], + supported_types: vec![ + "audio/episode".into(), + "audio/track".into(), + "audio/local".into(), + ], supports_playlist_v2: true, supports_transfer_command: true, supports_command_request: true,