From c92eb1bf23a50d1f37462500249c77cd667334ec Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Sat, 27 May 2023 12:41:00 +0200 Subject: [PATCH] chore: update jassub feat: losssy subtitle rendering feat: support cat proxies fix: reduce references to cat --- docs/faq.md | 2 +- package.json | 4 +-- pnpm-lock.yaml | 8 ++--- src/renderer/src/App.svelte | 4 +-- .../lib/{NyaaBlock.svelte => CatBlock.svelte} | 5 +-- src/renderer/src/lib/RSSView.svelte | 10 +++--- src/renderer/src/lib/Settings.svelte | 34 +++++++++++++++---- src/renderer/src/modules/anime.js | 2 +- src/renderer/src/modules/subtitles.js | 6 ++-- 9 files changed, 49 insertions(+), 26 deletions(-) rename src/renderer/src/lib/{NyaaBlock.svelte => CatBlock.svelte} (91%) diff --git a/docs/faq.md b/docs/faq.md index 8de8bf4..2bbe5ef 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -33,7 +33,7 @@ No. This app cannot be ported to android in any way. Yes. For the home menu you can specify a different RSS feed to check when the app looks for new releases. Additionally you can just paste a torrent file/magnet link anywhere when using the app, and it will auto-detect what anime is playing. ## **Can I change what tracker torrents are found from?** -Not really. No other tracker has the kind of API/search functionality that Nyaa does, which the app uses to the fullest extent to make sure it finds the torrents it's looking for without false-positives. +Not really. No other tracker has the kind of API/search functionality which is required, which Miru uses to the fullest extent to make sure it finds the torrents it's looking for without false-positives. ## **How is this different from sequential qBit?** Unlike qBit's sequential, this will prioritise downloading torrent pieces directly needed for playback, which with the user seeking isn't always just sequential. diff --git a/package.json b/package.json index dc54908..b0ca6a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Miru", - "version": "3.10.8", + "version": "3.11.0", "author": "ThaUnknown_ ", "description": "Stream anime torrents, real-time with no waiting for downloads.", "main": "src/index.js", @@ -111,7 +111,7 @@ "discord-rpc": "4.0.1", "electron-log": "^4.4.8", "electron-updater": "^4.6.5", - "jassub": "1.6.2", + "jassub": "1.7.1", "js-levenshtein": "^1.1.6", "matroska-subtitles": "github:ThaUnknown/matroska-subtitles#redist", "mime": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6fb1b58..ffb2e29 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ specifiers: electron-log: ^4.4.8 electron-notarize: ^1.2.2 electron-updater: ^4.6.5 - jassub: 1.6.2 + jassub: 1.7.1 js-levenshtein: ^1.1.6 matroska-subtitles: github:ThaUnknown/matroska-subtitles#redist mime: ^3.0.0 @@ -35,7 +35,7 @@ dependencies: discord-rpc: 4.0.1 electron-log: 4.4.8 electron-updater: 4.6.5 - jassub: 1.6.2 + jassub: 1.7.1 js-levenshtein: 1.1.6 matroska-subtitles: github.com/ThaUnknown/matroska-subtitles/446d0628ff0bcf13eb95184777615f3a0e6d8ae8 mime: 3.0.0 @@ -1858,8 +1858,8 @@ packages: minimatch: 3.1.2 dev: true - /jassub/1.6.2: - resolution: {integrity: sha512-xmQlG+Dzs6jHouCFw6VjWAl01PSkCA/1w91zDgCsWXMPFWvsMdcx65UohxL2RsZoEn/mSTSLHnaPHSCJvTaaWg==} + /jassub/1.7.1: + resolution: {integrity: sha512-xvrF/4/4ifJCxyF9wgmNW/fzvKuqrvU3OKl1B4373STaCPhblMHkRCHDN6DnRdeI9jUyriWDPcKT97cg38YbNw==} dependencies: rvfc-polyfill: 1.0.4 dev: false diff --git a/src/renderer/src/App.svelte b/src/renderer/src/App.svelte index 9512f34..773c897 100644 --- a/src/renderer/src/App.svelte +++ b/src/renderer/src/App.svelte @@ -21,7 +21,7 @@ import Menubar from './lib/Menubar.svelte' import Toasts from './lib/Toasts.svelte' import 'quartermoon/css/quartermoon-variables.css' - import NyaaBlock from './lib/NyaaBlock.svelte' + import CatBlock from './lib/CatBlock.svelte' import { wrapEnter } from '@/modules/util.js' setContext('view', view) @@ -44,7 +44,7 @@ on:click={() => ($sidebar = !$sidebar)} on:keydown={wrapEnter(() => ($sidebar = !$sidebar))} tabindex='0' role='button' /> - + diff --git a/src/renderer/src/lib/NyaaBlock.svelte b/src/renderer/src/lib/CatBlock.svelte similarity index 91% rename from src/renderer/src/lib/NyaaBlock.svelte rename to src/renderer/src/lib/CatBlock.svelte index b0a1b2b..ae09c6c 100644 --- a/src/renderer/src/lib/NyaaBlock.svelte +++ b/src/renderer/src/lib/CatBlock.svelte @@ -1,11 +1,12 @@