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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1303962

Title:
  please integrate mediascanner2 and media-hub with apparmor

To manage notifications about this bug go to:
https://bugs.launchpad.net/media-hub/+bug/1303962/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to