Public bug reported:

Currently does_client_have_access() does:

else if (uri.find(std::string("opt/click.ubuntu.com/")) != std::string::npos
 && uri.find(pkgname) != std::string::npos)
 {
   std::cout << "Client can access content in own opt directory" << std::endl;
   return true;
 }

This is fine, but only takes into account packages installed in
/opt/click.ubuntu.com. In a default image, packages can also be
installed in /usr/share/click/preinstalled/ and /custom/click. These
locations are defined in /etc/click/databases.

** Affects: media-hub (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Currently does_client_have_access() does:
  
  else if (uri.find(std::string("opt/click.ubuntu.com/")) != std::string::npos
-  && uri.find(pkgname) != std::string::npos)
-  {
-    std::cout << "Client can access content in own opt directory" << std::endl;
-    return true;
-  }
+  && uri.find(pkgname) != std::string::npos)
+  {
+    std::cout << "Client can access content in own opt directory" << std::endl;
+    return true;
+  }
  
- This is fine, but only takes into account /opt/click.ubuntu.com. In a
- default image, packages can also be installed in
- /usr/share/click/preinstalled/ and /custom/click. These locations are
- defined in /etc/click/databases.
+ This is fine, but only takes into account packages installed in
+ /opt/click.ubuntu.com. In a default image, packages can also be
+ installed in /usr/share/click/preinstalled/ and /custom/click. These
+ locations are defined in /etc/click/databases.

** Summary changed:

- media-hub should also allow playback of files from alternative click databases
+ media-hub should also allow playback of files from alternative install 
directories (click databases)

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

Title:
  media-hub should also allow playback of files from alternative install
  directories (click databases)

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to