Add album art search, auto-match and a whole-album tag editor
Search iTunes, Deezer, MusicBrainz, DuckDuckGo and Google for square covers, embed them and/or save cover.jpg, auto-match covers for albums, and edit an album's shared tags and track list in one place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5fb195f0d6
commit
d8ac25a55d
21 files changed
+2719
-38
No files matched your search
@@ -50,6 +50,7 @@ export type Job = {
|
||||
error: string;
|
||||
results: Record<string, number>;
|
||||
skipped: string[];
|
||||
notes?: string[];
|
||||
started_at: number;
|
||||
finished_at?: number;
|
||||
};
|
||||
@@ -253,3 +254,14 @@ export type Naming = {
|
||||
export type OrganizeItem = { id: number; side: Side; from: string; to?: string; move: boolean; reason?: string; sidecars?: string[] };
|
||||
|
||||
export type OrganizePlan = { sides: Side[]; created_at: number; scanned: number; conforming: number; moves: number; skips: Record<string, number> };
|
||||
|
||||
export type ArtResult = { source: string; title: string; artist?: string; url: string; thumb: string; width: number; height: number };
|
||||
export type PreparedArt = { token: string; width: number; height: number; size: number; square: boolean };
|
||||
export type ArtSettings = { sources: string[]; google_key: string; google_cx: string; max_size: number; min_size: number };
|
||||
export type AlbumSong = TagFile & { has_cover: boolean; embed_cover: boolean };
|
||||
export type Album = { folder: string; songs: AlbumSong[]; folder_cover?: string };
|
||||
export type ArtApply = { token: string; embed: boolean; folder_file: boolean };
|
||||
|
||||
export const artThumb = (u: string) => `/api/art/thumb?u=${encodeURIComponent(u)}`;
|
||||
export const coverURL = (pairId: number, side: Side, path: string, bust = "") =>
|
||||
`/api/pairs/${pairId}/cover?side=${side}&path=${encodeURIComponent(path)}${bust ? `&v=${bust}` : ""}`;
|
||||
Reference in new issue
Block a user