pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

FEATURE REQUEST: Music Transfer (`iTunes_Control`)

Open CRKatri opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. The only program I can find to transfer mp3's to your phone's music library without using iTunes is rhythmbox, which you can't use from the command line.

Describe the solution you'd like A command in pymobiledevice3 that allows us to transfer mp3's to our Apple Music local songs.

Describe alternatives you've considered I have researched to find a program, and looked at GNOME's rhythmbox, the only tool I could find.

CRKatri avatar Jul 17 '22 15:07 CRKatri

After a quick look, it will require some work that would probably even be in a seperate library entirely. To do so, we'll have to start maintaining Apple's /iTunes_Control/iTunes/MediaLibrary.sqlitedb. Unlike most systems, Apple apparently doesn't think its a good idea just letting their users dump their music folder wherever they want. 😔

doronz88 avatar Jul 17 '22 22:07 doronz88

Dumping the music is the easy part, just scanning /iTunes_Control/Music/ for all the mp3's and grabbing them all over AFC, it's the import that is annoying.

We could probably take a look at how Rhythmbox does it so that we don't have to reverse engineer it from scratch. (Or look at one of the various iPod tools which use a similar format, but mount the disk instead of using AFC)

CRKatri avatar Jul 17 '22 22:07 CRKatri

For reference, they use libgpod: https://github.com/fadingred/libgpod

doronz88 avatar Jul 17 '22 22:07 doronz88