Uploading media to a single-file ROM promotes it into a folder of its own.
For a flat multi-disc set, where each disc is its own ROM beside a Game.m3u
that lists them, that move leaves the playlist pointing at a missing file and
breaks multi-disc loading.
Resolving an upload destination now refuses a lone file that an .m3u in its
folder lists, with a 400 naming the playlist. The chunked upload start, every
media upload route and the GameFAQs walkthrough import all share the check.
The playlist lookup moves to utils/m3u.py so the CD audio extraction can use
the same helper.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>