mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-13 22:00:22 +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 = {
|
||||
edge: ['DTS'],
|
||||
chromium: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.m2ts', '.ts'],
|
||||
firefox: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.m2ts', '.ts', '.3gp', '.mkv']
|
||||
chromium: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265'],
|
||||
firefox: ['DTS', 'AC3', 'HEVC', 'x265', 'H.265', '.3gp', '.mkv']
|
||||
}
|
||||
if (!('audioTracks' in HTMLVideoElement.prototype)) {
|
||||
exclusions[userBrowser].push('mutli audio', 'dual audio')
|
||||
|
|
@ -586,7 +586,7 @@ async function nyaaRss (media, episode) {
|
|||
<td>${i('leechers').innerHTML}</td>
|
||||
<td>${i('downloads').innerHTML}</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)
|
||||
})
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue