Add remux option
All checks were successful
ci / Image build (push) Successful in 2m7s
ci / Deployment (push) Successful in 7s

This commit is contained in:
Joris Bertomeu
2025-08-25 15:13:25 +02:00
parent 3ee069c876
commit 4133204563
2 changed files with 21 additions and 6 deletions

View File

@@ -81,11 +81,24 @@
<div class="card shadow mt-3" *ngIf="loaded">
<div class="card-content p-3">
<form [formGroup]="processingForm" (ngSubmit)="onSubmit()">
<div class="flex flex-col mt-2">
<label>Wanted Resolution</label>
<select formControlName="wantedResolution" class="form-select">
<option [value]="res.name" *ngFor="let res of loaded.videoTracks">{{res.name}} ({{res.codec}} - {{humanFileSize(res.bandwidth)}})</option>
</select>
<div class="row mt-2">
<div class="col-9">
<div class="flex flex-col mt-2">
<label>Wanted Resolution</label>
<select formControlName="wantedResolution" class="form-select">
<option [value]="res.name" *ngFor="let res of loaded.videoTracks">{{res.name}} ({{res.codec}} - {{humanFileSize(res.bandwidth)}})</option>
</select>
</div>
</div>
<div class="col-3">
<label class="mb-2">Process remux</label>
<div class="form-check form-switch">
<input [ngModelOptions]="{standalone: true}" [(ngModel)]="processRemux" class="form-check-input" type="checkbox" role="switch" id="remuxProcess">
<label class="form-check-label" for="remuxProcess">
Process Full MKV Remux
</label>
</div>
</div>
</div>
<div class="row mt-2">
<div class="col-8">
@@ -97,7 +110,7 @@
</label>
</div>
</div>
<div class="col-4">
<div class="col-4" *ngIf="loaded.subtitles && loaded.subtitles.length > 0">
<label class="mb-2">Wanted Subtitles Tracks</label>
<div class="form-check form-switch" *ngFor="let sub of loaded.subtitles; let index = index">
<input [ngModelOptions]="{standalone: true}" [(ngModel)]="sub.selected" class="form-check-input" type="checkbox" role="switch" [id]="'sub_track_' + index">