浏览代码

Merge branch 'master-v4.3' of https://github.com/sle118/squeezelite-esp32 into master-v4.3

Sebastien L 1 年之前
父节点
当前提交
b0ce38bf14
共有 3 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      components/spotify/cspot/src/TrackReference.cpp
  2. 二进制
      server_certs/DigiCertGlobalRootCA.crt.56
  3. 二进制
      server_certs/r2m01.cer.28

+ 1 - 5
components/spotify/cspot/src/TrackReference.cpp

@@ -24,11 +24,7 @@ void TrackReference::decodeURI() {
       gid = bigNumAdd(gid, d);
       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;
       type = Type::EPISODE;
     }
     }
   }
   }

二进制
server_certs/DigiCertGlobalRootCA.crt.56


二进制
server_certs/r2m01.cer.28