mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-21 07:21:56 +00:00
RSS fixes
This commit is contained in:
parent
7606ac98e0
commit
c62615a97a
1 changed files with 3 additions and 3 deletions
|
|
@ -556,8 +556,8 @@ async function nyaaSearch (media, episode) {
|
||||||
|
|
||||||
const exclusions = {
|
const exclusions = {
|
||||||
edge: ['DTS'],
|
edge: ['DTS'],
|
||||||
chromium: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.m2ts', '.ts'],
|
chromium: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265'],
|
||||||
firefox: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.m2ts', '.ts', '.3gp', '.mkv']
|
firefox: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.3gp', '.mkv']
|
||||||
}
|
}
|
||||||
if (!('audioTracks' in HTMLVideoElement.prototype)) {
|
if (!('audioTracks' in HTMLVideoElement.prototype)) {
|
||||||
exclusions[userBrowser].push('mutli audio', 'dual audio')
|
exclusions[userBrowser].push('mutli audio', 'dual audio')
|
||||||
|
|
@ -586,7 +586,7 @@ async function nyaaRss (media, episode) {
|
||||||
<td>${i('leechers').innerHTML}</td>
|
<td>${i('leechers').innerHTML}</td>
|
||||||
<td>${i('downloads').innerHTML}</td>
|
<td>${i('downloads').innerHTML}</td>
|
||||||
<td class="pointer">Play</td>`
|
<td class="pointer">Play</td>`
|
||||||
template.onclick = () => { addTorrent(i('infoHash').innerHTML, { media: media, episode: episode }) }
|
template.onclick = () => { client.addTorrent(i('infoHash').innerHTML, { media: media, episode: episode }) }
|
||||||
frag.appendChild(template)
|
frag.appendChild(template)
|
||||||
})
|
})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue