GME library load companion .m3u/.m3u8 for subsong metadata#198
Merged
radioactiveman merged 1 commit intoMar 22, 2026
Merged
Conversation
The bundled GME library includes a full M3u_Playlist parser that understands the NEZplug extended m3u format (with ::TYPE and $track syntax), but the code to auto-load a companion .m3u was disabled. Re-enable it using the Audacious StringBuf API. When a game music file is loaded, look for a matching .m3u8 (preferred) or .m3u file in the same directory and feed it to the emulator. This provides track names, durations, and correct subsong mapping for KSS, NSF, GBS, HES, and other multi-track formats.
e3d753c to
799648d
Compare
eaac343
into
audacious-media-player:master
5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bundled GME library includes a full M3u_Playlist parser that understands the NEZplug extended m3u format (with ::TYPE and $track syntax), but the code to auto-load a companion .m3u was disabled.
Re-enable it using the Audacious StringBuf API. When a game music file is loaded, look for a matching .m3u8 (preferred) or .m3u file in the same directory and feed it to the emulator. This provides track names, durations, and correct subsong mapping for KSS, NSF, GBS, HES, and other multi-track formats.
I added support for .m3u8 as I have a of lot old MSX kss files that have an .m3u files that use Shift_JIS charset and .m3u8 should always be utf8 encoded
.m3u8