Comment 9 for bug 1303962

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Regarding embedded album art: well, that is what the mediascanner is for no? An app can always read its own files (eg, a music app that downloads to its own directory) but if the file is stored in the global media collection (ie, ~/Music), then mediascanner can scan it, extract the album art and cache it. The app requests the metadata via libmediascanner which uses the aforementioned DBus API, the DBus service asks the user if it is ok (or pulls the previous answer from cache) and if it is ok, gives libmediascanner what it needs to then retrieve it from the thumbnailer (which in turn would get it from the mediascanner cache). Perhaps it is easier for the DBus service to give the scanned embedded album art to libmediascanner by passing an fd. Either way, it should fit the paradigm. Am I missing something?