We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d35c5f commit d881f46Copy full SHA for d881f46
1 file changed
core/src/version.rs
@@ -19,6 +19,9 @@ pub const BUILD_ID: &str = env!("LIBRESPOT_BUILD_ID");
19
/// The protocol version of the Spotify desktop client.
20
pub const SPOTIFY_VERSION: u64 = 117300517;
21
22
+/// The semantic version of the Spotify desktop client.
23
+pub const SPOTIFY_SEMANTIC_VERSION: &str = "1.2.31.1205.g4d59ad7c";
24
+
25
/// The protocol version of the Spotify mobile app.
26
pub const SPOTIFY_MOBILE_VERSION: &str = "8.6.84";
27
@@ -28,6 +31,6 @@ pub const FALLBACK_USER_AGENT: &str = "Spotify/117300517 Linux/0 (librespot)";
28
31
pub fn spotify_version() -> String {
29
32
match std::env::consts::OS {
30
33
"android" | "ios" => SPOTIFY_MOBILE_VERSION.to_owned(),
- _ => SPOTIFY_VERSION.to_string(),
34
+ _ => SPOTIFY_SEMANTIC_VERSION.to_string(),
35
}
36
0 commit comments