From Daphile Wiki
Revision as of 06:22, 27 January 2014 by Kipeta (Talk | contribs) (Common Internet File System (cifs))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Purpose of the Storage configuration is to included external music sources to Daphile's music library.

  • Identification: The name of the drive that Daphile uses for the drive inside the "Music Folder" directory structure. It must be unique.
  • RW: Enable or disable write access on the drive. Write access is needed for storing files via file server access or from the CD ripping.

Local drives

  • Use: Enable or disable the usage of the drive
  • Share: Enable or disable the sharing of the drive via the Daphile's file server access
  • Source directory (previously: Root prefix): Enables to limit the music library scanning to one directory path of the drive. This could notably speed-up the library scanning. If field is empty the whole drive is scanned.
  • Removable drives may be safely removed after pressing the Eject button
  • New removable drives (USB and MMC/SD drives) are taken into use automatically in read-only mode. Other drives need to be configured first.
  • Supported filesystems: NTFS, FAT, ext2, ext3, ext4, iso9660 and HFS+ (read-only)

Network drives

  • All network drive types use the same basic format for the Remote target field: "username@host:port/path". It consists four elements but some of them are optional depending on the network drive type. If the optional field is left out then the associated delimiter may be left out also, eg. "host/path" when username and port is not specified.
  • "host" may be specified with the server name or IP address
  • The right-most checkbox besides the each drive configuration is used to select the drive for the configuration removal
  • After the settings have been saved and the system has restarted there should be an indicator icon for each network drive whether it has been taken into use successfully. Note that the network drive must be available when the Daphile is started.
Common Internet File System (cifs)

Common Internet File System (cifs) is probably the most common type for the network attached storages (NAS). This type is also compatible with Server Message Block (SMB) protocol. The drive mapping notation that Daphile uses differs from the one used in Windows OS (\\host\path vs. host/path; note the use of slash instead of backslash).

  • "path" must always contain at least the share name but it may be extended with certain directory path also, eg. host/share/dir1/dir2
  • "username" is optional if the service is accessible to guess users
  • "port" must be specified only if the server does not use either of the standard ports 139 or 445.
  • The workgroup may be specified by including it at the end of the "username" with "/"-delimiter, eg. "username/workgroup@host/path"
  • "Password" field may be left empty if server does not require authentication
Network File System (nfs)
SSH File System (sshfs)
FTP File System (curlftpfs)