Skip to content

Lay music out as music/artist/song.mp3 - #22

Merged
ralyodio merged 1 commit into
mainfrom
refactor/music-by-artist
Jul 26, 2026
Merged

Lay music out as music/artist/song.mp3#22
ralyodio merged 1 commit into
mainfrom
refactor/music-by-artist

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

The licence and attribution belong to the artist, not to each file, and a folder per artist is where a reader looks for that. Tracks are Þrøngva, original work by the project owner, now recorded in PROVENANCE.md.

It also removes a real bug, not just tidies. The download-budget guard excluded music with a ^music_ filename pattern, which silently under-counted the moment a track arrived under its own name — two did, and 22 MB of songs ended up inside a 6 MB guard. Music now sits in a subdirectory and the guard counts flat .mp3 files in the audio root, so a track can't be misfiled into the shell budget by a naming slip.

The track table carries title and artist alongside the path, so a "now playing" line needs no second source of truth.

201 tests pass. Shell total 6.20 MB, six tracks streamed separately.

🤖 Generated with Claude Code

The licence and attribution belong to the artist, not to each file, and a
folder per artist is where a reader looks for that. Tracks are Þrøngva,
original work by the project owner, now recorded in PROVENANCE.md.

It also removes a real bug rather than just tidying. The download-budget guard
excluded music with a `^music_` filename pattern, which silently under-counted
the moment a track arrived under its own name — two did, and 22 MB of songs
ended up inside a 6 MB guard. Music now sits in a subdirectory and the guard
counts the flat .mp3 files in the audio root, so a track cannot be misfiled
into the shell budget by a naming slip.

The track table carries title and artist alongside the path, so a "now playing"
line needs no second source of truth.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit af4fbdc into main Jul 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant