How pedrooliveira1993/akai-expansion-xml-generator works
Project type and purpose
• This is a command-line Python utility (“AKAI Expansion XML Generator”) that automates creation of Expansion.xml files for AKAI MPC sample-pack folder hierarchies.
• It is neither a web app nor a microservice; it is a file-system scanner and XML generator intended for music producers.
File structure
• Top level:
• expansion_xml_generator.py – main script
• README.md – documentation
• .gitattributes – Git settings
• No separate frontend/backend—single script with embedded logic.
• No external services or databases. It reads directories, parses folder names, writes XML files.
README for additional insights
• The script:
• Scans a base directory for subdirectories
• Applies naming-convention rules (“Author - Pack Name”, “Author”, “Author - Compilation Name”)
• Categorizes folders as single packs, compilations, or nested packs
• Generates Expansion.xml with metadata (identifier, title, manufacturer, etc.)
• Optionally overwrites existing XML files
• No external APIs or services.
• Configuration comes via variables in the script (sample_packs_dir, user, overwrite_existing).