File sharing

From Official Kodi Wiki
Jump to navigation Jump to search
Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


One of the most convenient functions of XBMC is its ability to stream media from any networked PC (personal-computer). In this section, we look at some of the methods for configuring remote computers or storage devices to provide file access to XBMC. To learn how to access these remote shares in XBMC, please look at XBMC Media Sources.

Linux/UNIX/BSD/POSIX Sharing Alternatives

  • Linux File Sharing (using samba) - Also, see www.samba.org and read/follow the online-manual for your specific Linux-distribution.
  • Network Filesystem (NFS) sharing on Linux - This is incorporated in the linux kernel (current 2.6.x kernels and later). It is capable of streaming all types of media and gives the option of sharing individual folders. It uses the UID of the user running XBMC for authentication. So no username and password is needed. For XBMC specific NFS server stetup read the NFS article. For a basic how to on setting up a NFS Server see this article:
  • UPnP Sharing - XBMC also supports UPnP shares (short for "Universal Plug and Play"). This is an extremely easy, user-friendly way to stream your media over your network. Like SMB/SAMBA/CIFS it is capable of streaming all types of media and gives the option of sharing individual folders or entire drives. Note that you must be using an XBMC build from 10th of July 2006 or newer in order to use this functionality.
  • Media Source FTP
  • Media Source SFTP
  • SSH Filesystem - SSHFS can be used to mount content available over SSH to act as a part of the local filesystem.

Advanced configuration of shares/sources (editing sources.xml)

For advanced configuration instructions about shares/bookmarks, (by editing sources.xml), see the Adding Media Sources and Types of Media Sources articles.

See also