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",
"version": "4.6.73",
"version": "4.6.72",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "twitch-vod-manager",
"version": "4.6.73",
"version": "4.6.72",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",

View File

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

View File

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