Simplify queue labels and show speed clearly (v3.8.3)
Remove duplicate part-progress wording in the queue by keeping part index in the meta line and using the progress line for transferred data/percent, while labeling throughput as Geschwindigkeit for clearer download monitoring.
This commit is contained in:
parent
885eec4741
commit
e91a397a5c
4
typescript-version/package-lock.json
generated
4
typescript-version/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "3.8.2",
|
"version": "3.8.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "3.8.2",
|
"version": "3.8.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.0",
|
"axios": "^1.6.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "3.8.2",
|
"version": "3.8.3",
|
||||||
"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",
|
||||||
|
|||||||
@ -335,7 +335,7 @@
|
|||||||
|
|
||||||
<div class="settings-card">
|
<div class="settings-card">
|
||||||
<h3>Updates</h3>
|
<h3>Updates</h3>
|
||||||
<p id="versionInfo" style="margin-bottom: 10px; color: var(--text-secondary);">Version: v3.8.2</p>
|
<p id="versionInfo" style="margin-bottom: 10px; color: var(--text-secondary);">Version: v3.8.3</p>
|
||||||
<button class="btn-secondary" onclick="checkUpdate()">Nach Updates suchen</button>
|
<button class="btn-secondary" onclick="checkUpdate()">Nach Updates suchen</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -346,7 +346,7 @@
|
|||||||
<div class="status-dot" id="statusDot"></div>
|
<div class="status-dot" id="statusDot"></div>
|
||||||
<span id="statusText">Nicht verbunden</span>
|
<span id="statusText">Nicht verbunden</span>
|
||||||
</div>
|
</div>
|
||||||
<span id="versionText">v3.8.2</span>
|
<span id="versionText">v3.8.3</span>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import { autoUpdater } from 'electron-updater';
|
|||||||
// ==========================================
|
// ==========================================
|
||||||
// CONFIG & CONSTANTS
|
// CONFIG & CONSTANTS
|
||||||
// ==========================================
|
// ==========================================
|
||||||
const APP_VERSION = '3.8.2';
|
const APP_VERSION = '3.8.3';
|
||||||
const UPDATE_CHECK_URL = 'http://24-music.de/version.json';
|
const UPDATE_CHECK_URL = 'http://24-music.de/version.json';
|
||||||
|
|
||||||
// Paths
|
// Paths
|
||||||
@ -1093,7 +1093,7 @@ function downloadVODPart(
|
|||||||
progress: -1, // Unknown total
|
progress: -1, // Unknown total
|
||||||
speed: formatSpeed(speed),
|
speed: formatSpeed(speed),
|
||||||
eta: '',
|
eta: '',
|
||||||
status: `Part ${partNum}/${totalParts}: ${formatBytes(downloadedBytes)}`,
|
status: `${formatBytes(downloadedBytes)} heruntergeladen`,
|
||||||
currentPart: partNum,
|
currentPart: partNum,
|
||||||
totalParts: totalParts,
|
totalParts: totalParts,
|
||||||
downloadedBytes: downloadedBytes
|
downloadedBytes: downloadedBytes
|
||||||
@ -1115,7 +1115,7 @@ function downloadVODPart(
|
|||||||
progress: percent,
|
progress: percent,
|
||||||
speed: '',
|
speed: '',
|
||||||
eta: '',
|
eta: '',
|
||||||
status: `Part ${partNum}/${totalParts}: ${percent.toFixed(1)}%`,
|
status: `${percent.toFixed(1)}%`,
|
||||||
currentPart: partNum,
|
currentPart: partNum,
|
||||||
totalParts: totalParts
|
totalParts: totalParts
|
||||||
});
|
});
|
||||||
|
|||||||
@ -46,11 +46,11 @@ function getQueueMetaText(item: QueueItem): string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (item.speed) {
|
if (item.speed) {
|
||||||
parts.push(item.speed);
|
parts.push(`Geschwindigkeit: ${item.speed}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.eta) {
|
if (item.eta) {
|
||||||
parts.push(`ETA ${item.eta}`);
|
parts.push(`Restzeit: ${item.eta}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!parts.length && item.status === 'pending') {
|
if (!parts.length && item.status === 'pending') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user