修改720p

This commit is contained in:
test
2025-09-25 19:48:51 +08:00
parent d8f2e1c9c9
commit 27984da638
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ async function fetchURLByAndroid() {
`<tv generator-info-name="Tak" generator-info-url="https://github.com/develop202/migu_video/">\n`) `<tv generator-info-name="Tak" generator-info-url="https://github.com/develop202/migu_video/">\n`)
// 写入开头 // 写入开头
appendFile(path, `#EXTM3U x-tvg-url="https://develop202.github.io/migu_video/playback.xml,https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml,https://gh-proxy.com/https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml" catchup="append" catchup-source="&playbackbegin=\${(b)yyyyMMddHHmmss}&playbackend=\${(e)yyyyMMddHHmmss}"\n`) appendFile(path, `#EXTM3U x-tvg-url="https://gh-proxy.com/https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml" catchup="append" catchup-source="&playbackbegin=\${(b)yyyyMMddHHmmss}&playbackend=\${(e)yyyyMMddHHmmss}"\n`)
// 分类列表 // 分类列表
for (let i = 0; i < datas.length; i++) { for (let i = 0; i < datas.length; i++) {

View File

@@ -205,7 +205,7 @@ function getddCalcu720p(puData, programId) {
return "" return ""
} }
const words = ["e","2","","0"] const words = ["e", "2", "", "0"]
const thirdReplaceIndex = 2 const thirdReplaceIndex = 2
puData = puData.split(""); puData = puData.split("");
@@ -223,7 +223,7 @@ function getddCalcu720p(puData, programId) {
ddCalcu.push(words[i - 1]) ddCalcu.push(words[i - 1])
break; break;
case 2: case 2:
ddCalcu.push(words[i - 1]) ddCalcu.push(keys[parseInt(getDateString(new Date())[6])])
break; break;
case 3: case 3:
ddCalcu.push(keys[programId[thirdReplaceIndex]]) ddCalcu.push(keys[programId[thirdReplaceIndex]])