Compare commits
No commits in common. "c1535227b9d085ddc7ca432727d46e408c2cae1f" and "e30ae019e86c0255b86309e6dde6bb7bb4dcaa06" have entirely different histories.
c1535227b9
...
e30ae019e8
|
|
@ -27,8 +27,8 @@ default, e.g. via QEMU emulation).
|
|||
|
||||
```sh
|
||||
docker buildx build --platform linux/amd64 \
|
||||
--build-arg VERSION=1.20 \
|
||||
-t 192.168.2.212:3000/tigeren/metube:1.20 \
|
||||
--build-arg VERSION=1.19 \
|
||||
-t 192.168.2.212:3000/tigeren/metube:1.19 \
|
||||
--push .
|
||||
```
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
|
|
@ -53,7 +53,6 @@ export class AppComponent implements OnInit {
|
|||
mode: 'downloads' | 'library' = 'downloads';
|
||||
libraryEnabled = false;
|
||||
libraryFolders: LibraryFolder[] = [];
|
||||
libraryFolderNames: string[] = [];
|
||||
libraryFiles: LibraryFile[] = [];
|
||||
libraryFolder = ''; // '' = library root
|
||||
libraryLoading = false;
|
||||
|
|
@ -188,11 +187,8 @@ export class AppComponent implements OnInit {
|
|||
loadLibraryFolders(): void {
|
||||
if (!this.libraryEnabled) return;
|
||||
this.downloads.libraryFolders().subscribe({
|
||||
next: (res) => {
|
||||
this.libraryFolders = res.folders;
|
||||
this.libraryFolderNames = res.folders.map(f => f.name).filter(n => n);
|
||||
},
|
||||
error: () => { this.libraryFolders = []; this.libraryFolderNames = []; }
|
||||
next: (res) => { this.libraryFolders = res.folders; },
|
||||
error: () => { this.libraryFolders = []; }
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -263,6 +259,10 @@ export class AppComponent implements OnInit {
|
|||
this.organizeOpen = false;
|
||||
}
|
||||
|
||||
get libraryFolderNames(): string[] {
|
||||
return this.libraryFolders.map(f => f.name).filter(n => n);
|
||||
}
|
||||
|
||||
private normalizeName(s: string): string {
|
||||
return (s || '').toLowerCase().replace(/[^a-z0-9\u4e00-\u9fff]+/g, ' ').trim();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue