improved library scan speeds, added library manager component

-libraries tab now opens a library manager
-choose library directory, manually soft scan and rescan
-batched db queues
-mp3 header-based duration extraction
This commit is contained in:
2026-02-19 10:17:09 -05:00
parent 8c013d4179
commit 81793975b4
36 changed files with 2350 additions and 179 deletions
+4
View File
@@ -3,6 +3,8 @@
import {library} from '../models';
import {context} from '../models';
export function FullRescan():Promise<void>;
export function GetAlbumTracks(arg1:number):Promise<Array<library.Track>>;
export function GetAllAlbums():Promise<Array<library.Album>>;
@@ -12,3 +14,5 @@ export function GetAllTracks():Promise<Array<library.Track>>;
export function Scan():Promise<void>;
export function SetContext(arg1:context.Context):Promise<void>;
export function SetQueue(arg1:library.queueClearer):Promise<void>;
+8
View File
@@ -2,6 +2,10 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function FullRescan() {
return window['go']['library']['Library']['FullRescan']();
}
export function GetAlbumTracks(arg1) {
return window['go']['library']['Library']['GetAlbumTracks'](arg1);
}
@@ -21,3 +25,7 @@ export function Scan() {
export function SetContext(arg1) {
return window['go']['library']['Library']['SetContext'](arg1);
}
export function SetQueue(arg1) {
return window['go']['library']['Library']['SetQueue'](arg1);
}