Namespace Serenity.MusicPlayer.Installation.Settings.Editor.Builder
Classes
BatchMusicTrackImportWindow
Wizard window (Tools > Serenity > Audio > Batch Import Music Tracks) for importing and configuring many music tracks at once. The common workflow (id, title, artist, clip) is always visible; the precise loop configuration (tail-preserving loop, loop region in time codes or musical bars, tail fade-out) is tucked into a per-track "Advanced" foldout. All logic lives in BatchMusicTrackImporter; this window only collects input and renders feedback.
BatchMusicTrackImporter
Builds UnityMusicTrackDefinition assets in batch from validated wizard input, with rollback on failure. Everything shared with the sound-effect importer (inference, duplicate detection, validation skeleton, batched creation with rollback, Addressables registration, external file import) lives in Serenity.Global.Infrastructure.Editor.Utils.BatchAudioAssetImportEngine`4; this class supplies only the music-specific parts via BatchMusicTrackImporter.ImportEngine — the advanced loop fields (tail-preserving loop, loop region as time codes or musical bars, tail fade-out) and their validation. The BatchMusicTrackImportWindow only collects input; all inference, validation, advanced settings serialization and asset creation live here so they can be unit tested without the window.
BatchMusicTrackImporter.Input
Everything needed to create a batch of music track definitions.
BatchMusicTrackImporter.Item
One music track to import: its source, resolved clip, common metadata and advanced loop config.
BatchMusicTrackImporter.Result
Outcome of a Create(Input) call.