feat(mukke): add month/day fields and auto-set date from file timestamp

Adds month and day columns to songs schema. On upload, extracts the
file's lastModified date to pre-fill year/month/day. Upload form and
SongEditor now show all three date fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-19 15:31:50 +01:00
parent 8a88838300
commit c1f632693d
9 changed files with 119 additions and 24 deletions

View file

@ -8,6 +8,8 @@ export interface Song {
genre: string | null;
trackNumber: number | null;
year: number | null;
month: number | null;
day: number | null;
duration: number | null;
storagePath: string;
coverArtPath: string | null;
@ -59,6 +61,8 @@ export interface CreateSongDto {
genre?: string;
trackNumber?: number;
year?: number;
month?: number;
day?: number;
bpm?: number;
}