File sharing: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Ch33ky
mNo edit summary
 
(76 intermediate revisions by 19 users not shown)
Line 1: Line 1:
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.
{{mininav|[[Video library]] {{l2| [[Music library]] }}  }}
To learn how to access these remote shares, please look at XBMC [[bookmarks]].


One of the most convenient functions of Kodi is its ability to stream media from any networked PC (personal-computer). On this page is a list of file sharing related pages/topics on the Kodi wiki.


==Windows Sharing Alternatives==
There are four alternatives for streaming media from your Windows-based PC to XBMC.<br>
===[[Windows File Sharing (samba/smb)|Windows File Sharing (SMB/SAMBA/CIFS)]]===
[[Windows File Sharing (samba/smb)|Windows File Sharing (SMB/SAMBA/CIFS)]] is the most capable method of sharing media. It is capable of streaming all types of media and gives the option of sharing individual folders or entire drives, (including CD/DVD-ROM drives). It also allows you to secure shares with passwords and restrict access to users or groups, which makes it ideal for use on a public network. Because it utilizes a service that is already packaged with Windows, it does not require you to install any additional software on your PC.


===[[UPnP Sharing]]===
== Supported file sharing protocols ==
XBMC also supports [[UPnP Sharing|UPnP (short for "Universal Plug and Play")]] shares. 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. See [[UPnP Sharing]] for more information on UPnP shares and sharing.


===[[XBMSP|The XBMS Protocol]]===
=== FTP ===
XBMSP (XBox Media Stream Protocol) or XBMS for short, is very easy to use and set up, and is recommended for novices. It is capable of streaming all types of media and gives the option of sharing individual folders or entire drives. It can be configured through an easy-to-use GUI program installed on your PC. XBMS is very bandwidth efficient and it is a routable network-protocol which means that it is also ideal if you wish to stream over the internet, (just make sure you open the TCP/IP network-port 1400 in you firewalls on both the server-side and the client side)
{{Main|FTP}}
{{#lst:FTP|intro}}


===[[iTunes (DAAP)]]===
XBMC has the ability to stream audio files that you set up to share through iTunes. This method is extremely easy to set up and configure, although it is limited to audio files. It will not allow you to share videos, photos or other types of media. It also does not allow you to share entire folders or drives. iTunes version 7.0 has implemented changes to the DAAP protocol, namely the use of a new 'Client-DAAP-Validation' header hash when connecting to an iTunes 7.0 server. This does not affect 3rd party DAAP servers, however all current DAAP clients ( including official iTunes <=6.0 ) will fail to connect to an iTunes 7.0 server, receiving a '403 Forbidden' HTTP error.


==Macintosh (Apple Mac OS X) Sharing Alternatives==
=== HTTP ===
Just like for Windows there are four alternatives for streaming media from your Apple Macintosh (Mac OS X) based computer to XBMC.<br>
{{Main|HTTP}}
===[[Macintosh File Sharing using SMB (Windows File Sharing)|Windows Sharing (SMB) on Mac OS X]]===
{{#lst:HTTP|intro}}
[[Macintosh File Sharing using SMB (Windows File Sharing)|Windows Sharing]] is incorporated in Mac OS X (OS 10.2 and later), and is probably the most flexible of all of the options for sharing media between your computer and XBMC. (Earlier versions of Mac OS can serve SMB using [http://www.samba.org SAMBA]). It is capable of streaming all types of media and gives the option of sharing individual folders (or entire drives - usually configured through the 3rd-party software SharePoints). It also allows for authentication by your Mac OS X username and password, making it good for use on public networks.


===[[UPnP Sharing]]===
XBMC also supports [[UPnP Sharing|UPnP (short for "Universal Plug and Play")]] shares. 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. See [[UPnP Sharing]] for more information on UPnP shares and sharing.


===[[XBMSP|The XBMS Protocol]]===
=== NFS ===
XBMSP (XBox Media Stream Protocol) or XBMS for short, is very easy to use and set up, and is recommended for novices. It is capable of streaming all types of media and gives the option of sharing individual folders or entire drives. It can be configured through an easy-to-use GUI program installed on your PC. XBMS is very bandwidth efficient and it is a routable network-protocol which means that it is also ideal if you which to stream over the internet, (just make sure you open the TCP/IP network-port 1400 in you firewalls on both the server-side and the client side).
{{Main|NFS}}
{{#lst:NFS|intro}}


===[[iTunes (DAAP)]]===
XBMC has the ability to stream audio files that you set up to share through Apple iTunes, and its database. This method is extremely easy to set up and configure, (although it is limited to audio files so it will not allow you to share videos, photos or other types of media, nor does not allow you to share entire folders or drives). Currently, XBMC is unable to browse libraries shared through iTunes 7.


==Linux/UNIX/BSD/POSIX Sharing Alternatives==
=== RSS media source ===
===[[Linux File Sharing (using samba)]]===
{{Main|RSS media source}}
Read [[Linux File Sharing (using samba)]]. Also, see [http://www.samba.org www.samba.org] and read/follow the online-manual for your specific Linux-distribution.
{{#lst:RSS media source|intro}}


===[[UPnP Sharing]]===
XBMC also supports [[UPnP Sharing|UPnP (short for "Universal Plug and Play")]] shares. 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. See [[UPnP Sharing]] for more information on UPnP shares and sharing.


===[[XBMSP|The XBMS Protocol]]===
=== SFTP ===
XBMSP (XBox Media Stream Protocol) or XBMS for short, is very easy to use and set up, and is recommended for novices. It is capable of streaming all types of media and gives the option of sharing individual folders or entire drives. It can be configured through an easy-to-use GUI program installed on your PC. XBMS is very bandwidth efficient and it is a routable network-protocol which means that it is also ideal if you which to stream over the internet, (just make sure you open the TCP/IP network-port 1400 in you firewalls on both the server-side and the client side)
{{Main|SFTP}}
{{#lst:SFTP|intro}}


==Advanced configuration of shares/bookmarks (editing sources.xml)==
 
For advanced configuration instructions about shares/bookmarks, (by editing sources.xml), see the [[How to Edit Bookmarks]] and [[Types of Bookmarks]] articles.
=== SMB ===
{{Main|SMB}}
{{#lst:SMB|intro}}
 
 
=== UPnP ===
{{Main|UPnP}}
{{#lst:UPnP|intro}}
 
 
=== WebDAV ===
No content
 
 
 
== Other file sharing topics ==
 
=== Avahi Zeroconf ===
{{Main|Avahi Zeroconf}}
{{#lst:Avahi Zeroconf|intro}}
 
 
=== Auto wake on lan ===
{{Main|Wake_on_lan}}
{{#lst:Wake_on_lan|intro}}
 
 
== Library sharing ==
{{main|Syncing and sharing}}
{{list2|MySQL}}
 
 
 
 
{{Isengard updated}}
 
[[Category:Manual]]
[[Category:File sharing|*]]
[[Category:Index]]

Latest revision as of 23:30, 29 January 2021

Home icon grey.png   ▶ Video library
▶ Music library
▶ File sharing

One of the most convenient functions of Kodi is its ability to stream media from any networked PC (personal-computer). On this page is a list of file sharing related pages/topics on the Kodi wiki.


Supported file sharing protocols

FTP

If you have media-files on a computer and you want to share them to a Kodi device, an FTP server is one option you can use. By default Kodi (namely XBMCbuntu) does not have any FTP server software installed, that does not mean you cannot add a FTP server to the installation and use it. Here we defer to vsftpd as a example.


HTTP

Kodi contains an HTTP-client with which you can add sources in all sections in the Kodi interface.


NFS

Network File System, or NFS, is a way to share folders over a network, and was added to XBMC in v11 (Eden). The main benefits of using NFS instead of SMB are its low protocol overhead (which allows it to send data across a network more quickly) and its use of simple UID's to authenticate users rather than username/password combinations. This part bears repeating, as many people are confused on this point and try to create usernames and passwords to get Kodi to work with NFS.

Stop hand.png NFS does not use usernames or passwords as logins; it uses a UNIX-based "userID" (UID) alone.


RSS media source

Kodi supports RSS feeds as video and audio sources. Adding an RSS source in Kodi will make the individual RSS entries browsable in the Kodi interface, along with thumbnails and other metadata if available. RSS feeds cannot be scanned into the video or music library, so they are only accessible from the files view..


SFTP

Kodi ships with SFTP (SSH File Transfer Protocol) (not to be confused with FTP) client support for accessing file shares.


SMB

Windows File Sharing, aka Server Message Block (SMB), is the standard client-server protocol used by Windows to share resources over a local network. SMB is available on all Windows computers and can be easily setup by the home user. SMB can also be accessed by other operating systems, which makes SMB the most commonly used network protocol to access content on a NAS or other remote hardware.


UPnP

Kodi can be used as a UPnP Server that will stream its library contents to other players on the network, or it can be used as a UPnP Client that can receive music and video from a UPnP Server on the network.


WebDAV

No content


Other file sharing topics

Avahi Zeroconf


Auto wake on lan

Starting in v13, Kodi can automatically issue a 'wake-on-lan' packet to MySQL or a file sharing server right before it needs to connect to it.


Library sharing

MySQL
If you have more than one Kodi device on your local network then you might want to synchronize them by sharing the Kodi library databases via the MySQL protocol. Using shared library databases allows you to store information for either your video or music library in a central database, so that multiple devices can access the same information at the same time.