File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1390,6 +1390,14 @@ const selectEpisode = async (index) => {
13901390 currentActiveSite: currentActiveSiteInfo .value ? .key ,
13911391 originalSite: currentSiteInfo .value ? .key
13921392 })
1393+
1394+ // 检测选集URL本身是否为push://协议
1395+ if (episodeUrl .startsWith (' push://' )) {
1396+ console .log (' 🚀🚀🚀 选集URL本身为push://协议,直接处理推送逻辑:' , episodeUrl)
1397+ await handlePushProtocol (episodeUrl, routeName)
1398+ return
1399+ }
1400+
13931401 Message .info (' 正在解析播放地址...' )
13941402
13951403 // 调用T4播放API进行解析
@@ -1403,9 +1411,9 @@ const selectEpisode = async (index) => {
14031411 const parseResult = await videoService .parseEpisodePlayUrl (currentActiveSiteInfo .value .key , parseParams)
14041412 console .log (' 选集播放解析结果:' , parseResult)
14051413
1406- // 检测是否为push ://协议
1414+ // 检测T4播放API返回结果是否为push ://协议
14071415 if (parseResult .url && parseResult .url .startsWith (' push://' )) {
1408- console .log (' 🚀🚀🚀 检测到push ://协议,开始处理推送逻辑:' , parseResult .url )
1416+ console .log (' 🚀🚀🚀 T4播放API返回push ://协议,开始处理推送逻辑:' , parseResult .url )
14091417 await handlePushProtocol (parseResult .url , parseResult .flag )
14101418 return
14111419 }
You can’t perform that action at this time.
0 commit comments