Commit 35965629 authored by Gary Allen Vollink's avatar Gary Allen Vollink
Browse files

Public version of musicdb-dump.pl and README

parent 1c0769e6
# MusicDB-POC
Perl program that will parse an iTunes itl OR Apple Music musicdb format file into a dump of the raw data that has been identified.
\ No newline at end of file
Perl program that will parse an iTunes itl OR Apple Music musicdb format file into a dump of the raw data that has been identified.
This doesn't do anything 'useful' with the output, and ends up dumping a HUGE amount of data to the disk.
## Use
./musicdb-dump.pl --key xxxx FILENAME.musicdb
Will produce files: ./FILENAME.musicdb.dump ./FILENAME.musicdb.out
## Perl Requires
Crypt::Cipher (this has the AES Decryption needed).
If you don't know how to do/get this, you probably just want to translate what I've written to the language you actually want.
## User Requires
Apple's AES key for iTunes and MusicDB. Other projects have this easily available, but I self-host and won't risk publishing it.
# Structural
This is written in a way that forces Perl to read the entire file, unencrypted and uncompressed fully into memory before parsing beyond the initial envelope header. This is *not* how I would do this for 'production' use, but creating a way to stream it a few sections at a time is something I didn't have time to do for this sub-project.
## Project HomePages
This is the program that I have used to create the following two web-pages that list the internal file formas of iTunes .itl files and Apple Music .musicdb files.
https://www.home.vollink.com/gary/playlister/ituneslib.html
https://www.home.vollink.com/gary/playlister/musicdb.html
Long term, this will be part of the PlayLister project, which currently reads iTunes XML files and produces m3u playlists from that.
https://www.home.vollink.com/gary/playlister/
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment