diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e8682f9..face1c8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - [core] Removed `get_canvases` from SpClient (breaking) +- [core] DeviceType `homething` removed due to crashes on Android (breaking) - [metadata] Removed `genres` from Album (breaking) - [metadata] Removed `genre` from Artists (breaking) diff --git a/core/src/config.rs b/core/src/config.rs index 0b17690e..1b81123c 100644 --- a/core/src/config.rs +++ b/core/src/config.rs @@ -79,7 +79,6 @@ pub enum DeviceType { UnknownSpotify = 100, CarThing = 101, Observer = 102, - HomeThing = 103, } impl FromStr for DeviceType { @@ -102,7 +101,6 @@ impl FromStr for DeviceType { "smartwatch" => Ok(Smartwatch), "chromebook" => Ok(Chromebook), "carthing" => Ok(CarThing), - "homething" => Ok(HomeThing), _ => Err(()), } } @@ -130,7 +128,6 @@ impl From<&DeviceType> for &str { UnknownSpotify => "UnknownSpotify", CarThing => "CarThing", Observer => "Observer", - HomeThing => "HomeThing", } } } @@ -169,7 +166,6 @@ impl From for ProtoDeviceType { DeviceType::UnknownSpotify => ProtoDeviceType::UNKNOWN_SPOTIFY, DeviceType::CarThing => ProtoDeviceType::CAR_THING, DeviceType::Observer => ProtoDeviceType::OBSERVER, - DeviceType::HomeThing => ProtoDeviceType::HOME_THING, } } } diff --git a/src/main.rs b/src/main.rs index 0447bda7..b14a57a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1471,7 +1471,7 @@ fn get_setup() -> Setup { speaker, tv, avr, stb, audiodongle, \ gameconsole, castaudio, castvideo, \ automobile, smartwatch, chromebook, \ - carthing, homething", + carthing", DeviceType::default().into(), );