Benjamin Juang (ibneko) wrote,
Benjamin Juang

Seeking: Uploading music to the iPhone via SFTP

I wish I had more time, so I could take apart the iTunesDB file on my iPhone so I could write some small app to let me upload mp3s to my iPhone.

Here's what I know:
-Music is located in /private/var/mobile/Media/iTunes_Control/Music/F00 - F13
-Each Fxx folder contains assorted media files with a capitalized four letter file name, followed by the file extension. There are 20-50 media files in each Fxx folder.
-There are a number of files in /private/var/mobile/Media/iTunes_Control/iTunes/
--iTunesDB (This is what we'll want to change, I think?)

I can open iTunesDB in a text editor (BBEdit), then replace all "mhod"s and "mhia"s with newlines for easier reading.... there's invisible.. somethings between letters (perhaps for.. unicode support of some sort? Need to view in a hex editor later...)
From a quick glance at the iTunesDB, it contains:
-A list of artists/albums
-A list of songs, with song name, artist, album, genre, type, then song location similar to the following:

Tags: hacking, iphone
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded