Media Sharing Using ownCloud

From Amahi Wiki
Jump to: navigation, search
Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


Media files (Music, Photos, Videos) can be stored and accessed on the Amahi Home Server in one of two scenarios while using ownCloud.

  1. Using existing “Amahi Shares” for file storage and ownCloud for files access and storage management.
  2. Using ownCloud for file storage, managing access, and file storage management.


Both scenarios should allow other applications on Amahi to access the media files (i.e. Amahi DLNA).

Amahi Home Server File Shares

Amahi Home Server once installed provides a set of “Storage Shares” that are available to all Amahi user accounts. Some of them are provided for the purposes of storing media files (Music, Pictures, Movies) for all Amahi users to access. These shares are usually shared via the Samba (SMB) sharing service on the Amahi Home Server.

Some things you need to know:

  • Music media: /var/hda/files/music (a.k.a. Music)
  • Photograph media: /var/hda/files/pictures (a.k.a. Pictures)
  • Video media: /var/hda/files/movies (a.k.a. Movies)
  • Share(s) directory ownership default (chown): <hda_administrator_account>:users
  • Share(s) directory permissions default (chmod): 775 (rwx:rwx:r-x)

ownCloud External Storage Support

ownCloud provides a highly configurable sharing environment for files that are accessible from a Web Browser User Interface (Web UI) or via the WebDAV service built in to ownCloud. Stored files are accessible to ownCloud user accounts by various sharing configurations.

Some things you need to know:

  • ownCloud provides an “External Storage Support” feature that supports access to files “external” to the ownCloud “internal” filesystem. This feature must be "enabled" by the ownCloud "admin" user via Settings => Admin.
  • File ownership after upload (using ownCloud Web UI or WebDav service): apache:apache
  • File permissions after upload (using ownCloud Web UI or WebDav service): 664 (rw-:rw-:r--)
  • Required directory ownership for ownCloud: apache:users
  • Required directory permissions for ownCloud: 770 (rwx:rwx:---)
Oc tip.png ownCloud Tip!
Users can upload media files by mounting ownCloud as a local share on a client workstation.
Go to the "other stuff" page and see "Mounting ownCloud as a File Share".



Amahi Media Shares with ownCloud


<more text and image to follow>

Media Sharing with ownCloud


<more text and image to follow>


Main ownCloud Page | Index