fix podcast on Spotify - release

This commit is contained in:
philippe44
2023-10-04 15:51:55 -07:00
parent ab09f009f7
commit 105e800cc1

View File

@@ -24,11 +24,7 @@ void TrackReference::decodeURI() {
gid = bigNumAdd(gid, d); gid = bigNumAdd(gid, d);
} }
#if __cplusplus >= 202002L if (uri.find("episode:") != std::string::npos) {
if (uri.starts_with("episode")) {
#else
if (uri.find("episode") == 0) {
#endif
type = Type::EPISODE; type = Type::EPISODE;
} }
} }