Skip to content

Commit

Permalink
fix podcast won't play
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Oct 4, 2023
1 parent d2b3ae3 commit 4a530e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions 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 4a530e7

Please sign in to comment.