File sharing: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Nmerriam
mNo edit summary
 
(93 intermediate revisions by 26 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 doing so.
{{mininav|[[Video library]] {{l2| [[Music library]] }}  }}


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 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 allow 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.


===[[Windows ccx_gui (xbms)|The XBMS Protocol]]===
=== FTP ===
XBMSP (XBox Media Stream Protocol) or XBMS for short, is very easy to use and set up, and is recommmended 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 bandwith 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 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.


=== HTTP ===
{{Main|HTTP}}
{{#lst:HTTP|intro}}


==Macintosh Sharing Alternatives==
Just like for Windows there are four alternatives for streaming media from your Apple Macintosh-based computer to XBMC.<br>
===[[Windows File Sharing (samba/smb)|SAMBA (SMB/CIFS)]]===
[[Windows File Sharing (samba/smb)|SMB/CIFS]] is supported in Mac OS X 10.2 and later as "Windows File Sharing", and it is is the most capable method of sharing media. Earlier versions of OS X can serve SMB/CIFS using [http://www.samba.org SAMBA]. It is 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 allow you to secure shares with passwords and restrict access to users or groups.


===[[UPnP Sharing]]===
=== NFS ===
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.
{{Main|NFS}}
{{#lst:NFS|intro}}


===[[Windows ccx_gui (xbms)|The XBMS Protocol]]===
XBMSP (XBox Media Stream Protocol) or XBMS for short, is very easy to use and set up, and is recommmended 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 bandwith 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 both the server-side and the client side).


===[[iTunes (DAAP)]]===
=== RSS media source ===
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).
{{Main|RSS media source}}
{{#lst:RSS media source|intro}}




==Linux/UNIX/BSD/POSIX Sharing Alternatives==
=== SFTP ===
===[[Linux/Solaris/BSD xbms (ccx/ccxstream)support]]===
{{Main|SFTP}}
Install a ccx-server or deamon (like [http://sourceforge.net/project/showfiles.php?group_id=87054&package_id=97904 ccXStream]) on your Linux/[[Solaris]]/BSD server, and configure it to share folder/folders.
{{#lst:SFTP|intro}}


The ccxstream server source includes a program 'ccxtest' which can be used to check the daemon is operating correctly. It is built along with the ccxstream server when you build the program from source. If you installed via a package such as RPM or deb, then check the contents to see it it was included.


To test simply run 'ccxtest', by default it will connect to locahost port 1400 so unless you changed the port or are connecting from a remote system it should connect to the server, display the connection parameters and list the shared resources in the root folder. They 'help' to get a list of commands you can use.
=== SMB ===
{{Main|SMB}}
{{#lst:SMB|intro}}


===[[Linux file-sharing (using samba)]]===
See [http://www.samba.org www.samba.org] or read/follow the online-manual for your specific Linux-distrubution.


=== UPnP ===
{{Main|UPnP}}
{{#lst:UPnP|intro}}


===[[UNIX/BSD/POSIX file-sharing (using samba)]]===
See [http://www.samba.org www.samba.org] or read/follow the online-manual for your specific UNIX/BSD-distrubution.


=== WebDAV ===
No content


==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]] articlkes.
 
== 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.