added run.electron and removed some console.logs
This commit is contained in:
parent
7e660164b8
commit
1635012335
@ -8,8 +8,6 @@ export async function listSeasonCrunchy(q: string) {
|
||||
return
|
||||
}
|
||||
|
||||
console.log(q)
|
||||
|
||||
const { data, error } = await useFetch<CrunchySeasonsFetch>(`https://beta-api.crunchyroll.com/content/v2/cms/series/${q}/seasons`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
|
2
run.electron.bat
Normal file
2
run.electron.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
wait-on http://localhost:3000 && electron ./.output/src/electron/background.js
|
@ -290,8 +290,6 @@ export async function parseSubs(url: string, secret: string) {
|
||||
|
||||
var key = secret + '7fac1178830cfe0c'
|
||||
|
||||
console.log(key)
|
||||
|
||||
var parsedSubtitle = CryptoJS.enc.Base64.parse(data.substring(0, 24))
|
||||
var sec = CryptoJS.enc.Hex.parse(key)
|
||||
var som = data.substring(24)
|
||||
|
@ -167,7 +167,6 @@ async function checkPlaylists() {
|
||||
e.dataValues.dir,
|
||||
e.dataValues.format
|
||||
)
|
||||
console.log(e.dataValues.media)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -323,8 +322,6 @@ export async function downloadCrunchyrollPlaylist(
|
||||
|
||||
var playlist = await crunchyGetPlaylist(e)
|
||||
|
||||
console.log(playlist)
|
||||
|
||||
if (!playlist) {
|
||||
console.log('Playlist not found')
|
||||
return
|
||||
|
@ -14,9 +14,6 @@ export function getFFMPEGPath() {
|
||||
const ffmpeg = process.env.FFMPEG_PATH
|
||||
const ffprobe = process.env.FFPROBE_PATH
|
||||
|
||||
console.log(ffmpeg)
|
||||
console.log(ffprobe)
|
||||
|
||||
return { ffmpeg: ffmpeg, ffprobe: ffprobe }
|
||||
} else {
|
||||
const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe')
|
||||
|
@ -283,8 +283,6 @@ function convertToTimeFormat(time: number) {
|
||||
export async function ADNparseSub(raw: string, secret: string) {
|
||||
var key = secret + '7fac1178830cfe0c'
|
||||
|
||||
console.log(key)
|
||||
|
||||
var parsedSubtitle = CryptoJS.enc.Base64.parse(raw.substring(0, 24))
|
||||
var sec = CryptoJS.enc.Hex.parse(key)
|
||||
var som = raw.substring(24)
|
||||
|
Reference in New Issue
Block a user