- Update API

- Add Chart Preview
- Add Drum Type dropdown when the "drums" instrument is selected
- Add Min/Max Year to advanced search
- Add Track Hash to advanced search
- Add "Download Video Backgrounds" setting
- Updated and improved detected chart issues
This commit is contained in:
Geomitron
2024-07-16 15:20:58 -05:00
parent 627896a8c8
commit 353994b8e1
43 changed files with 1808 additions and 510 deletions

View File

@@ -158,6 +158,12 @@
Chart Folder
</label>
</div>
<div class="flex">
<label class="label cursor-pointer" for="downloadVideos">
<input id="downloadVideos" type="checkbox" checked="checked" class="checkbox mr-1" [formControl]="downloadVideos" />
Download Video Backgrounds
</label>
</div>
</div>
<div class="form-control">

View File

@@ -14,6 +14,7 @@ export class SettingsComponent implements OnInit {
public chartFolderName: FormControl<string>
public isSng: FormControl<boolean>
public downloadVideos: FormControl<boolean>
public isCompactTable: FormControl<boolean>
public artistColumn: FormControl<boolean>
@@ -44,6 +45,8 @@ export class SettingsComponent implements OnInit {
this.isSng = new FormControl<boolean>(ss.isSng, { nonNullable: true })
this.isSng.valueChanges.subscribe(value => settingsService.isSng = value)
this.downloadVideos = new FormControl<boolean>(ss.downloadVideos, { nonNullable: true })
this.downloadVideos.valueChanges.subscribe(value => settingsService.downloadVideos = value)
this.isCompactTable = new FormControl<boolean>(settingsService.isCompactTable, { nonNullable: true })
this.isCompactTable.valueChanges.subscribe(value => ss.isCompactTable = value)
@@ -91,10 +94,6 @@ export class SettingsComponent implements OnInit {
})
}
async downloadVideos(isChecked: boolean) {
this.settingsService.downloadVideos = isChecked
}
async getLibraryDirectory() {
const result = await window.electron.invoke.showOpenDialog({
title: 'Choose library folder',