Compare commits

..

No commits in common. "5e383a6e1251691a9e2690d838871b337a9cbcf0" and "19555ce87253cb7c229d0595786e1d8109cc06a7" have entirely different histories.

5 changed files with 5 additions and 10 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.6.132", "version": "4.6.131",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.6.132", "version": "4.6.131",
"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.132", "version": "4.6.131",
"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

@ -99,7 +99,7 @@
<span id="formatTemplate" class="clip-radio-label">{date}_{part}.mp4 (benutzerdefiniert)</span> <span id="formatTemplate" class="clip-radio-label">{date}_{part}.mp4 (benutzerdefiniert)</span>
</label> </label>
<div id="clipFilenameTemplateWrap" class="clip-template-wrap"> <div id="clipFilenameTemplateWrap" class="clip-template-wrap" style="display:none;">
<input type="text" id="clipFilenameTemplate" value="{date}_{part}.mp4" placeholder="{date}_{part}.mp4" class="clip-modal-template-input" oninput="updateFilenameExamples()"> <input type="text" id="clipFilenameTemplate" value="{date}_{part}.mp4" placeholder="{date}_{part}.mp4" class="clip-modal-template-input" oninput="updateFilenameExamples()">
<div id="clipTemplateHelp" class="clip-modal-hint">Platzhalter: {title} {id} {channel} {date} {part} {trim_start} {trim_end} {trim_length} {date_custom="yyyy-MM-dd"}</div> <div id="clipTemplateHelp" class="clip-modal-hint">Platzhalter: {title} {id} {channel} {date} {part} {trim_start} {trim_end} {trim_length} {date_custom="yyyy-MM-dd"}</div>
<div id="clipTemplateLint" class="template-lint ok">Template-Check: OK</div> <div id="clipTemplateLint" class="template-lint ok">Template-Check: OK</div>

View File

@ -975,7 +975,7 @@ function getSelectedFilenameFormat(): 'simple' | 'timestamp' | 'template' | 'par
function updateFilenameTemplateVisibility(): void { function updateFilenameTemplateVisibility(): void {
const selected = getSelectedFilenameFormat(); const selected = getSelectedFilenameFormat();
const wrap = byId('clipFilenameTemplateWrap'); const wrap = byId('clipFilenameTemplateWrap');
wrap.classList.toggle('shown', selected === 'template'); wrap.style.display = selected === 'template' ? 'block' : 'none';
} }
interface TemplatePreviewContext { interface TemplatePreviewContext {

View File

@ -338,14 +338,9 @@ body {
} }
.clip-template-wrap { .clip-template-wrap {
display: none;
margin-top: 10px; margin-top: 10px;
} }
.clip-template-wrap.shown {
display: block;
}
/* Template-Guide button below the clip-template input small offset /* Template-Guide button below the clip-template input small offset
from the lint badge that sits directly above it. Was a one-off from the lint badge that sits directly above it. Was a one-off
inline style on the button. */ inline style on the button. */