- 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

@@ -16,9 +16,13 @@ export class DownloadQueue {
return false
}
add(md5: string, chart: { name: string; artist: string; album: string; genre: string; year: string; charter: string }) {
add(
md5: string,
hasVideoBackground: boolean,
chart: { name: string; artist: string; album: string; genre: string; year: string; charter: string },
) {
if (!this.isChartInQueue(md5)) {
const chartDownload = new ChartDownload(md5, chart)
const chartDownload = new ChartDownload(md5, hasVideoBackground, chart)
this.downloadQueue.push(chartDownload)
chartDownload.on('progress', (message, percent) => emitIpcEvent('downloadQueueUpdate', {