diff --git a/components/spotify/cspot/src/TrackReference.cpp b/components/spotify/cspot/src/TrackReference.cpp index 2a5f6bfe..3b3b7031 100644 --- a/components/spotify/cspot/src/TrackReference.cpp +++ b/components/spotify/cspot/src/TrackReference.cpp @@ -24,11 +24,7 @@ void TrackReference::decodeURI() { gid = bigNumAdd(gid, d); } -#if __cplusplus >= 202002L - if (uri.starts_with("episode")) { -#else - if (uri.find("episode") == 0) { -#endif + if (uri.find("episode:") != std::string::npos) { type = Type::EPISODE; } }