diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b391870..5b39e754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.11.4 (unreleased) + +- ([#295](https://github.com/ramsayleung/rspotify/pull/295)) The `Tv` variant in `DeviceType` is actually case insensitive. + ## 0.11.3 (2021.11.29) - ([#281](https://github.com/ramsayleung/rspotify/issues/281)) The documentation website for the Spotify API has been changed, so the links in the `rspotify` crate have been updated. Unfortunately, the object model section has been removed, so we've had to delete most reference links in `rspotify-model`. From now on, you should refer to the endpoints where they are used to see their definition. diff --git a/rspotify-model/src/enums/types.rs b/rspotify-model/src/enums/types.rs index beed3877..9716a73e 100644 --- a/rspotify-model/src/enums/types.rs +++ b/rspotify-model/src/enums/types.rs @@ -95,6 +95,9 @@ pub enum DeviceType { Tablet, Smartphone, Speaker, + /// Though undocumented, it has been reported that the Web API returns both + /// 'Tv' and 'TV' as the type. + #[serde(alias = "TV")] Tv, Avr, Stb,