Compare commits

..

No commits in common. "62400e4aa009e0de2057ad7ae3efc7b522176193" and "a46984d8ab0e624832deb7ed6f2ac190c4bdc872" have entirely different histories.

3 changed files with 6 additions and 13 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.6.73", "version": "4.6.72",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.6.73", "version": "4.6.72",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^1.6.0", "axios": "^1.6.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.6.73", "version": "4.6.72",
"description": "Twitch VOD Manager - Download Twitch VODs easily", "description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js", "main": "dist/main.js",
"author": "xRangerDE", "author": "xRangerDE",

View File

@ -3293,8 +3293,7 @@ function downloadVODPart(
args.push('--hls-duration', endTime); args.push('--hls-duration', endTime);
} }
// download-part-start in the debug log captures the same info console.log('Starting download:', streamlinkCmd.command, args);
// for support / forensics — no need to flood stdout too.
appendDebugLog('download-part-start', { itemId, command: streamlinkCmd.command, filename, args }); appendDebugLog('download-part-start', { itemId, command: streamlinkCmd.command, filename, args });
const proc = spawn(streamlinkCmd.command, args, { windowsHide: true }); const proc = spawn(streamlinkCmd.command, args, { windowsHide: true });
@ -3361,11 +3360,7 @@ function downloadVODPart(
proc.stdout?.on('data', (data: Buffer) => { proc.stdout?.on('data', (data: Buffer) => {
const line = data.toString(); const line = data.toString();
// No per-line stdout — streamlink emits 10-100 lines/sec during console.log('Streamlink:', line);
// an active download, which floods the terminal in dev and the
// electron-launched console in prod. Progress + tag parsing
// below extracts everything we need; failures get logged via
// appendDebugLog from the consumer side.
// Parse progress // Parse progress
const match = line.match(/(\d+\.\d+)%/); const match = line.match(/(\d+\.\d+)%/);
@ -6445,9 +6440,7 @@ function setupAutoUpdater() {
}); });
autoUpdater.on('download-progress', (progress) => { autoUpdater.on('download-progress', (progress) => {
// No per-tick stdout — the autoUpdater fires this ~10x/sec during console.log(`Download progress: ${progress.percent.toFixed(1)}%`);
// an in-flight download. The renderer banner is the user-visible
// surface; appendDebugLog already captures phase transitions.
if (mainWindow) { if (mainWindow) {
mainWindow.webContents.send('update-download-progress', { mainWindow.webContents.send('update-download-progress', {
percent: progress.percent, percent: progress.percent,