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

View File

@ -71,7 +71,7 @@
readonly
/>
</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
</div>
<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) {
return await JSON.parse(await response.text()) as VideoMetadata
return (await JSON.parse(await response.text())) as VideoMetadata
} else {
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<{
locale: string
name: string

View File

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