I've successfully prototyped the process for creating a FoxNap-compatible resource pack entirely based on the data encoded in ffmpeg-compatible audio tracks. Explicitly, if a user creates a folder containing a series of mp3s, aac files, etc., this program will automatically create a full resource pack zip, extracting:
the audio itself and converting it to mono vorbis ogg
track names from metadata (falling back to filenames where tracks are missing tags)
album art to use as disc inlays (falling back to random pixles where the album art is missing)
The process in the notebook also allows the user to explicitly set track numbers and choose whether to make the record item textures using a standard (black) record template or colored vinyl, but that's just sugar.
The work that remains is:
Create a stand-alone script from the code in the notebook.
Turn that script into a user-friendly executable (see below)
Create written instructions for downloading and running this resource pack creator
Executable Requirements
Interface
should require no use of the command line or python shell on any platform, for either setup or execution
should require no configuration files or input outside the use of the tool
need only support the basic use-case of "turn all media files in a folder into a working resource pack" (that is, doesn't need to allow for manually setting track names or textures)
Installation
should require no external dependencies
setup should require nothing unzipping the contents of an archive and making any binaries executable on platforms where that is expected
Supported Operating Systems
Linux x64
Mac arm64 (Apple Silicon)
Mac x64 (Intel)
Linux arm64 (Raspberry Pi)
Windows x64
Implementation Challenges
Note that the prototype does not use pure python and explicitly requires installation of ffmpeg. Luckily, there are pre-built versions of ffmpeg available for all of the supported platofrms
Implementation Ideas
Running this as a service in "the cloud" or a hosted server is the obvious suggestion, but I'd rather not have this program rely on an external infrastructure.
If I were to design a GUI, some web framework like pyjs or anvil would probably be the way to go, but since the required interface is literally just "run this script on the files in this folder with zero user input" I'm thinking double-click or drag'n'drop is probably the only "interface" needed
I've successfully prototyped the process for creating a FoxNap-compatible resource pack entirely based on the data encoded in ffmpeg-compatible audio tracks. Explicitly, if a user creates a folder containing a series of mp3s, aac files, etc., this program will automatically create a full resource pack zip, extracting:
The process in the notebook also allows the user to explicitly set track numbers and choose whether to make the record item textures using a standard (black) record template or colored vinyl, but that's just sugar.
The work that remains is:
Executable Requirements
Interface
Installation
Supported Operating Systems
Implementation Challenges
Note that the prototype does not use pure python and explicitly requires installation of
ffmpeg
. Luckily, there are pre-built versions of ffmpeg available for all of the supported platofrmsImplementation Ideas
Running this as a service in "the cloud" or a hosted server is the obvious suggestion, but I'd rather not have this program rely on an external infrastructure.
If I were to design a GUI, some web framework like pyjs or anvil would probably be the way to go, but since the required interface is literally just "run this script on the files in this folder with zero user input" I'm thinking double-click or drag'n'drop is probably the only "interface" needed