I have a large collection of mp3 files that I want to listen to on my iPhone. I do not have an Apple Music subscription.
I have used iTunes on Windows to add a subset of my songs to its library and sync'ed it to my iPhone. I have afterwards reset my Windows box and lost my iTunes library.
At this point, I have a bunch of songs on my iPhone and I'd like to re-create the library automatically. I already have code that uses the iTunes.Application com object to interact with iTunes on Windows, so that's covered.
However, I need to be able to fetch the list of the songs I have on the iPhone and so far I've been unable to find a way to retrieve it (since we're talking about a few thousands of songs, I don't want to do it by hand).
Is there a way of retrieving the music metadata from my iPhone? At the very least I want song metadata (track name/artist/album/duration), ideally I want file sizes too to make it easier to match back to my original collection.
Note that I have both a Windows and a MacOS box so any ad-hoc solution will do, including AppleScript.