Skip to content

Commit

Permalink
fix podcast on Spotify - release
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Oct 4, 2023
1 parent ab09f00 commit 105e800
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/spotify/cspot/src/TrackReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 105e800

Please sign in to comment.