undo package update

This commit is contained in:
stratuma 2024-06-20 16:08:28 +02:00
parent dbbb113211
commit d38ef1685c
6 changed files with 1242 additions and 1521 deletions

View File

@ -29,17 +29,17 @@
"@types/node-cron": "^3.0.11", "@types/node-cron": "^3.0.11",
"concurrently": "^8.2.2", "concurrently": "^8.2.2",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"electron": "^30.1.2", "electron": "^30.0.8",
"electron-builder": "^24.13.3", "electron-builder": "^24.13.3",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0", "eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"long": "^5.2.3", "long": "^5.2.3",
"modclean": "3.0.0-beta.1", "modclean": "3.0.0-beta.1",
"nuxt": "^3.12.2", "nuxt": "^3.11.2",
"nuxt-icon": "^0.6.10", "nuxt-icon": "^0.6.10",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"sass": "^1.77.6", "sass": "^1.77.2",
"sass-loader": "^13.3.3", "sass-loader": "^13.3.3",
"tsc-watch": "^6.2.0", "tsc-watch": "^6.2.0",
"typescript": "^5.4.5", "typescript": "^5.4.5",
@ -51,15 +51,15 @@
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"electron-log": "^5.1.5", "electron-log": "^5.1.5",
"electron-settings": "^4.0.4", "electron-settings": "^4.0.4",
"electron-updater": "^6.2.1", "electron-updater": "^6.1.8",
"express": "^4.19.2", "express": "^4.19.2",
"fastify": "^4.28.0", "fastify": "^4.27.0",
"fluent-ffmpeg": "^2.1.3", "fluent-ffmpeg": "^2.1.3",
"jsencrypt": "^3.3.2", "jsencrypt": "^3.3.2",
"mpd-parser": "^1.3.0", "mpd-parser": "^1.3.0",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
"node-cron": "^3.0.3", "node-cron": "^3.0.3",
"protobufjs": "^7.3.2", "protobufjs": "^7.3.0",
"sequelize": "^6.37.3", "sequelize": "^6.37.3",
"sqlite3": "5.1.6", "sqlite3": "5.1.6",
"winston": "^3.13.0" "winston": "^3.13.0"

View File

@ -71,7 +71,7 @@
readonly readonly
/> />
</div> </div>
<div v-if="(service === 'crunchyroll')" class="relative flex flex-col text-sm text-center"> <div v-if="service === 'crunchyroll'" class="relative flex flex-col text-sm text-center">
Crunchyroll Download needs L3 Widevine keys that can be added in settings -> widevine Crunchyroll Download needs L3 Widevine keys that can be added in settings -> widevine
</div> </div>
<div v-if="!isLoggedInCR && service === 'crunchyroll'" class="relative flex flex-col"> <div v-if="!isLoggedInCR && service === 'crunchyroll'" class="relative flex flex-col">

File diff suppressed because it is too large Load Diff

View File

@ -812,7 +812,7 @@ export async function crunchyGetMetadata(q: string) {
}) })
if (response.ok) { if (response.ok) {
return await JSON.parse(await response.text()) as VideoMetadata return (await JSON.parse(await response.text())) as VideoMetadata
} else { } else {
const error = await response.text() const error = await response.text()

View File

@ -1273,7 +1273,16 @@ async function mergeParts(parts: { filename: string; url: string }[], downloadID
} }
} }
async function mergeVideoFile(video: string, chapter: string | null, audios: Array<string>, subs: Array<string>, path: string, filename: string, format: 'mp4' | 'mkv', downloadID: number) { async function mergeVideoFile(
video: string,
chapter: string | null,
audios: Array<string>,
subs: Array<string>,
path: string,
filename: string,
format: 'mp4' | 'mkv',
downloadID: number
) {
const locales: Array<{ const locales: Array<{
locale: string locale: string
name: string name: string

View File

@ -190,44 +190,43 @@ export interface VideoPlaylistNoGEO {
geo: string | undefined geo: string | undefined
} }
export interface VideoMetadata { export interface VideoMetadata {
intro: { intro: {
approverId: string, approverId: string
distributionNumber: string, distributionNumber: string
end: number, end: number
seriesId: string, seriesId: string
start: number, start: number
title: string, title: string
type: string type: string
} }
credits: { credits: {
approverId: string, approverId: string
distributionNumber: string, distributionNumber: string
end: number, end: number
seriesId: string, seriesId: string
start: number, start: number
title: string, title: string
type: string type: string
} }
preview: { preview: {
approverId: string, approverId: string
distributionNumber: string, distributionNumber: string
end: number, end: number
seriesId: string, seriesId: string
start: number, start: number
title: string, title: string
type: string type: string
} }
recap: { recap: {
approverId: string, approverId: string
distributionNumber: string, distributionNumber: string
end: number, end: number
seriesId: string, seriesId: string
start: number, start: number
title: string, title: string
type: string type: string
} }
lastUpdated: Date, lastUpdated: Date
mediaId: string mediaId: string
} }