1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 17:12:56 +08:00
osu-lazer/osu.Game/Screens/Edit/Setup
Bartłomiej Dach 6a6db5a22b
Populate metadata from ID3 tags when changing beatmap audio track in editor
- Closes https://github.com/ppy/osu/issues/21189
- Supersedes / closes https://github.com/ppy/osu-framework/pull/5627
- Supersedes / closes https://github.com/ppy/osu/pull/22235

The reason why I opted for a complete rewrite rather than a revival of
that aforementioned pull series is that it always felt quite gross to me
to be pulling framework's audio subsystem into the task of reading ID3
tags, and I also partially don't believe that BASS is *good* at reading
ID3 tags. Meanwhile, we already have another library pulled in that is
*explicitly* intended for reading multimedia metadata, and using it
does not require framework changes. (And it was pulled in explicitly for
use in the editor verify tab as well.)

The hard and dumb part of this diff is hacking the gibson such that
the metadata section on setup screen actually *updates itself*
after the resources section is done doing its thing. After significant
gnashing of teeth I just did the bare minimum to make work by caching
a common parent and exposing an `Action?` on it. If anyone has better
ideas, I'm all ears.
2024-12-27 15:16:03 +01:00
..
ColoursSection.cs Remove redundant initialiser 2024-10-04 11:18:09 +02:00
DesignSection.cs Merge branch 'master' into beatmap-info-purge 2024-11-22 18:47:32 +09:00
DifficultySection.cs Only transfer difficulty slider values on commit 2024-10-04 14:08:46 +02:00
FormBeatmapFileSelector.cs Add localisation support 2024-11-28 02:37:31 -05:00
LabelledFileChooser.cs Redesign directory & file selector (and update usages accordingly) 2024-09-24 14:54:48 +02:00
LabelledTextBoxWithPopover.cs Adjust calls to GetContainingInputManager() 2024-06-18 07:41:19 +02:00
MetadataSection.cs Populate metadata from ID3 tags when changing beatmap audio track in editor 2024-12-27 15:16:03 +01:00
ResourcesSection.cs Populate metadata from ID3 tags when changing beatmap audio track in editor 2024-12-27 15:16:03 +01:00
RulesetSetupSection.cs Enable nullability for setup screen 2023-01-14 02:24:28 +03:00
SetupScreen.cs Populate metadata from ID3 tags when changing beatmap audio track in editor 2024-12-27 15:16:03 +01:00
SetupScreenHeader.cs Remove remaining hexacons usages 2023-12-27 17:42:18 +01:00
SetupScreenHeaderBackground.cs Move setup screen background preview to appropriate form control 2024-10-04 11:09:14 +02:00
SetupSection.cs Redo the layout of sections based on discord feedback 2024-10-03 13:53:21 +02:00