I have an app which parses the iTunes library XML file and the sqlite Photos.app database file to do a better job handling drag & drops from iTunes or Photos.app. Both broke in Catalina, since Photos 5 uses a new database structure and iTunes.app is gone.
I’m trying to figure out the “right” way to do this, and it seemed like MLMediaLibrary was the answer:
But, I notice that MLMediaLibary is marked as Deprecated.
In typical Apple fasion, the documentation says nothing about what the official replacement is.