fix: exclude ASW releases due to malformed metadata

This commit is contained in:
ThaUnknown 2022-06-05 13:50:40 +02:00
parent 9f99b4e235
commit 1fa0d1437c
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "2.3.0",
"version": "2.3.1",
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"main": "src/index.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",

View file

@ -86,7 +86,7 @@
let fileMedia = null
const exclusions = ['DTS']
const exclusions = ['DTS', '[ASW]']
const video = document.createElement('video')

View file

@ -2,7 +2,7 @@
import { writable } from 'svelte/store'
const toasts = writable({})
let index = 0
export function addToast(opts) {
export function addToast (opts) {
// type, click, title, text
toasts.update(toasts => {
const i = ++index
@ -13,7 +13,7 @@
return toasts
})
}
function close(index) {
function close (index) {
toasts.update(toasts => {
if (toasts[index]) {
delete toasts[index]