From 105e800cc1a60fce0944bf682b14e3acdacd4638 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 4 Oct 2023 15:51:55 -0700 Subject: [PATCH] fix podcast on Spotify - release --- components/spotify/cspot/src/TrackReference.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/spotify/cspot/src/TrackReference.cpp b/components/spotify/cspot/src/TrackReference.cpp index 2a5f6bfe1..3b3b70319 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; } }