Skip to content

Commit 11c3df8

Browse files
authored
removes homething devicetype (#1471)
* removes homething devicetype fixes #1470 From the comments about "homething" support in spotify: "Did they ever release their homething product? I assumed not and guess they removed all support for it. We could just remove this footgun." * mention breaking homething change in Changelog
1 parent 09b4aa4 commit 11c3df8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4949
### Removed
5050

5151
- [core] Removed `get_canvases` from SpClient (breaking)
52+
- [core] DeviceType `homething` removed due to crashes on Android (breaking)
5253
- [metadata] Removed `genres` from Album (breaking)
5354
- [metadata] Removed `genre` from Artists (breaking)
5455

core/src/config.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ pub enum DeviceType {
7979
UnknownSpotify = 100,
8080
CarThing = 101,
8181
Observer = 102,
82-
HomeThing = 103,
8382
}
8483

8584
impl FromStr for DeviceType {
@@ -102,7 +101,6 @@ impl FromStr for DeviceType {
102101
"smartwatch" => Ok(Smartwatch),
103102
"chromebook" => Ok(Chromebook),
104103
"carthing" => Ok(CarThing),
105-
"homething" => Ok(HomeThing),
106104
_ => Err(()),
107105
}
108106
}
@@ -130,7 +128,6 @@ impl From<&DeviceType> for &str {
130128
UnknownSpotify => "UnknownSpotify",
131129
CarThing => "CarThing",
132130
Observer => "Observer",
133-
HomeThing => "HomeThing",
134131
}
135132
}
136133
}
@@ -169,7 +166,6 @@ impl From<DeviceType> for ProtoDeviceType {
169166
DeviceType::UnknownSpotify => ProtoDeviceType::UNKNOWN_SPOTIFY,
170167
DeviceType::CarThing => ProtoDeviceType::CAR_THING,
171168
DeviceType::Observer => ProtoDeviceType::OBSERVER,
172-
DeviceType::HomeThing => ProtoDeviceType::HOME_THING,
173169
}
174170
}
175171
}

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ fn get_setup() -> Setup {
14711471
speaker, tv, avr, stb, audiodongle, \
14721472
gameconsole, castaudio, castvideo, \
14731473
automobile, smartwatch, chromebook, \
1474-
carthing, homething",
1474+
carthing",
14751475
DeviceType::default().into(),
14761476
);
14771477

0 commit comments

Comments
 (0)