Commit e3d753c
committed
console: Load companion .m3u/.m3u8 for subsong metadata
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.1 parent 95a3dbf commit e3d753c
1 file changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
133 | 128 | | |
134 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | | - | |
| 136 | + | |
| 137 | + | |
139 | 138 | | |
140 | | - | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
0 commit comments