Sections: - The library can be split into named, ordered sections, stored in storage/runtime/sections.json; each track keeps its sectionId. - Sections are created, renamed, reordered and deleted from the page (/api/library/sections). Deleting one keeps its tracks, without a section. - A section, or the tracks without one, can be queued in one go, shuffled or not (enqueue-all takes a sectionId). - The upload form (file or link) picks the section of a kept track. - Without any section, the library stays a plain list. Covers: - A kept track takes the cover embedded in its file (MP3, FLAC...), from the web page or /play garder:. Older tracks are looked at once on startup; a track without one keeps cover: null. - "Renommer" becomes "Modifier": a dialog to change the title, the section and the cover (upload with preview, or removal). - ffmpeg turns covers into JPEGs of at most 512 px, stored in storage/covers and deleted with their track. An uploaded image is only passed to ffmpeg after its signature is checked (PNG, JPEG, WebP, GIF), with that decoder forced, so ffmpeg never guesses the format of an unknown file. - Covers are served under /covers without authentication, since an <img> cannot send the key; their random names are only given by the API and never change content (one-year cache). - The current track and the queue show the cover of their library track. Docs: README lists the new data to back up; storage/covers is ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
448 B
Text
23 lines
448 B
Text
# Node.js
|
|
node_modules/
|
|
coverage/
|
|
*.log
|
|
|
|
# Environment files, including local variants and backups
|
|
.env*
|
|
!.env.example
|
|
|
|
# Local configuration and test data
|
|
src/static/gameservers-list.json
|
|
|
|
# Runtime storage (storage/library.json : ancien emplacement de la bibliothèque)
|
|
storage/runtime/
|
|
storage/library.json
|
|
storage/permanent/*
|
|
!storage/permanent/.gitkeep
|
|
storage/temp/*
|
|
!storage/temp/.gitkeep
|
|
storage/covers/
|
|
|
|
# Operating system files
|
|
.DS_Store
|