** Changed in: media-hub (Ubuntu)
       Status: New => Confirmed

** Changed in: mediascanner2 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1315381

Title:
   please integrate mediascanner2 and media-hub with trust-store

Status in “media-hub” package in Ubuntu:
  Confirmed
Status in “mediascanner2” package in Ubuntu:
  Confirmed

Bug description:
  Bug #1303962 added apparmor mediation to media-hub that achieves the 
following when an apps uses the 'audio' policy group:
   * an app are allowed to play content from its install directory
   * an app is able to play content from its local cache directory
   * an app is able to play content from its local data directory
   * an app is able to access the camera click

  Trust store integration is not yet implemented and the media-hub has a
  hardcoded exception in src/core/media/player_skeleton.cpp to allow the
  music app to play files from ~/Music and ~/Videos.

  AppStore apps:
   1. should be able to access their own content (installed or local)
   2. should not be able to access, play or otherwise enumerate other apps' 
media (ie, app 'foo' should not be able to play the facebook app's sound file
   3. AppStore apps should be able to enumerate the global music (~/Music) and 
video (~/Video) library via the mediascanner helper with permission from the 
user
   4. AppStore apps should be able to play the global music (~/Music) and video 
(~/Video) library via the media-hub with permission from the user
   5. AppStore apps should be able to have access to media files with 
permission from the user. This is already handled by the content-hub paradigm 
(though someone would need to add a media content provider for the content-hub 
to have this work)

  '1' and '2' are implemented in the media-hub via bug #1303962
  (mediascanner2 still needs apparmor integration). This bug is for '3'
  and '4' and this can be done via the trust-store. To have the best
  user experience and prevent multiple prompting, mediascanner and
  media-hub should use the same trust store database. I'm not sure that
  mediascanner2 offers a DBus API for enumerating global media files yet
  or not (music-app seems to be accessing files in ~/.cache/media-art/
  and ~/.cache/mediascanner directly).

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to