Library for parsing and exporting local music libraries
MIT License
A small library for programmatically interfacing with local media libraries, including
To export the local Apple media library to an iTunes-compatible XML, use the following snippet:
import MusicLibrary
let importer = try LocalAppleMediaImporter()
let exporter = LibraryXMLExporter(filePath: "path/to/output.xml")
let library = try importer.readLibrary()
try exporter.write(library: library)
The full example can be found here.