backward compatibility for podcastsoff2

This commit is contained in:
amd64fox
2023-03-16 04:28:11 +03:00
parent e304ca5383
commit ae18996221

View File

@@ -122,7 +122,7 @@
"do": "" "do": ""
}, },
"match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)", "match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)",
"replace": "$1 for (let i = 0; i < e.length; i++) { const key = e.children?.[i]?.key || e[i]?.key; if (!key || key.includes('episode') || key.includes('show')) { return null;}};" "replace": "$1 for (let i = 0; i < (e.children ? e.children.length : e.length); i++) {const key = (e.children?.[i] || e[i])?.key; if (!key || key.includes('episode') || key.includes('show')) { return null;}};"
}, },
"adsectionsoff": { "adsectionsoff": {
"version": { "version": {