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.
Background
Optional feature support for installing custom maps that do not contain any audio file.
This is part of a series of changes aimed at allowing custom maps to be created, uploaded, and used all without distributing any song file directly (instead the user must supply their own song).
See this post for more background: https://medium.com/@idolize/beat-saber-the-future-of-custom-songs-d64756818be7
Change
Upon detecting there is no included audio in the download (but there is audio.json and fingerprint.bin):
Info.dat
Tested locally using custom BeatSaver instance.
The change increases the size of the overall size of the build pretty significantly - this is 99% due to the inclusion of ffmpeg binaries. I can look into some ways of optimizing this (e.g. only include x86 OR x64 ffmpeg binaries from the NuGet package, download ffmpeg at runtime, only include used ffmpeg features, etc.), but for now am just leaving it all as a proof of concept.
Related
luludotdev/beatsaver-reloaded#85
luludotdev/beatmap-schemas#10