UPnP: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
m (Updated for v20)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<section begin="intro" />{{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. <section end="intro" />
<section begin="intro" />{{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. <section end="intro" />


When using UPnP...
When using UPnP:
* The client player does not have direct access to the video and music files. It relies on the UPnP server to send a '''browse tree''' that will display on the client player.  
* The client player does not have direct access to the video and music files. It relies on the UPnP server to send a '''browse tree''' that will display on the client player.  
* The UPnP Server cotrols the appearance of what is displayed in the browse tree which varies between different UPnP servers.  
* The UPnP Server cotrols the appearance of what is displayed in the browse tree which varies between different UPnP servers.  
Line 12: Line 12:
* If using the {{kodi}} UPnP Server, these browse tree nodes are based on the {{Kodi}} library nodes and you can create additional nodes in the {{kodi}} server to expand the browse tree.
* If using the {{kodi}} UPnP Server, these browse tree nodes are based on the {{Kodi}} library nodes and you can create additional nodes in the {{kodi}} server to expand the browse tree.


'''Note: UPnP file sharing cannot be used to create a {{kodi}} library on the client device, nor can you use any library features. You can only browse and play from the Browse Tree.'''
{{note|UPnP file sharing cannot be used to create a {{kodi}} library on the client device, nor can you use any library features. You can only browse and play from the Browse Tree.}}


{{warning|UPnP has inherent security risks. If your router has the UPnP setting enabled, then malicious actors may be able to access your network. You should be able to disable UPnP in your router, but still use UPnP on your local network.}}
{{warning|UPnP has inherent security risks. If your router has the UPnP setting enabled, then malicious actors may be able to access your network. You should be able to disable UPnP in your router, but still use UPnP on your local network.}}
Line 20: Line 20:
{{Kodi}} UPnP is disabled by default and must be activated before use.  
{{Kodi}} UPnP is disabled by default and must be activated before use.  


If you intend to use {{kodi}} as the UPnP Server, then select the {{Kodi}} installation that has the fully scanned/scraped library that you would like shared to your other devices.
* If you intend to use {{kodi}} as the UPnP Server, then select the {{Kodi}} installation that has the fully scanned/scraped library that you would like shared to your other devices.
 
* Then setup Clients to receive the UPnP video and music libraries from the Server. You would not normally set your {{Kodi}} install as both a Server and Client.
Then setup Clients to receive the UPnP video and music libraries from the Server. You would not normally set your {{Kodi}} install as both a Server and Client.
 
UPnP settings can be found in {{highlight|bordered=yes|[[Settings/Services/UPnP_DLNA|'''Settings -> Services -> UPnP / DLNA''']]}}
 
For an explanation of the settings see... '''[[Settings/Services/UPnP_DLNA]]'''
 


UPnP settings can be found in {{highlight|bordered=yes|[[Settings/Services/UPnP_DLNA|'''Settings ▶ Services ▶ UPnP / DLNA''']]}}


= Create UPnP Source in Client =
= Create UPnP Source in Client =
Line 49: Line 44:
{{kodi}} can also be a Control Point in addition to being a UPnP server, allowing you to select which client will commence playback of the currently selected title.
{{kodi}} can also be a Control Point in addition to being a UPnP server, allowing you to select which client will commence playback of the currently selected title.


To enable and use this features
To enable and use this features:
# On the {{kodi}} server enable the setting '''Look for remote UPnP players''' in {{highlight|bordered=yes|[[Settings/Services/UPnP_DLNA|Settings → Services → UPnP / DLNA]]}}.
# On the {{kodi}} server enable the setting '''Look for remote UPnP players''' in {{highlight|bordered=yes|[[Settings/Services/UPnP_DLNA|Settings → Services → UPnP / DLNA]]}}.
# When browsing on the {{kodi}} server, call up the [[Basic_controls#Context_Menu|Context Menu]]  
# When browsing on the {{kodi}} server, call up the [[Basic_controls#Context_Menu|Context Menu]]  
Line 59: Line 54:


{{top}}
{{top}}
 
{{updated|20}}
 
{{updated|18}}


[[Category:Karellen]]
[[Category:Karellen]]

Latest revision as of 07:26, 8 February 2023

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


Introduction

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.

When using UPnP:

  • The client player does not have direct access to the video and music files. It relies on the UPnP server to send a browse tree that will display on the client player.
  • The UPnP Server cotrols the appearance of what is displayed in the browse tree which varies between different UPnP servers.
  • The browse tree can provide a series of nodes through which you can browse the content (year, title, actors, artists, albums etc).
  • If using the Kodi UPnP Server, these browse tree nodes are based on the Kodi library nodes and you can create additional nodes in the Kodi server to expand the browse tree.

Note: UPnP file sharing cannot be used to create a Kodi library on the client device, nor can you use any library features. You can only browse and play from the Browse Tree.

Stop hand.png UPnP has inherent security risks. If your router has the UPnP setting enabled, then malicious actors may be able to access your network. You should be able to disable UPnP in your router, but still use UPnP on your local network.


Settings

Kodi UPnP is disabled by default and must be activated before use.

  • If you intend to use Kodi as the UPnP Server, then select the Kodi installation that has the fully scanned/scraped library that you would like shared to your other devices.
  • Then setup Clients to receive the UPnP video and music libraries from the Server. You would not normally set your Kodi install as both a Server and Client.

UPnP settings can be found in Settings ▶ Services ▶ UPnP / DLNA

Create UPnP Source in Client


Stream to Clients

Kodi can also be a Control Point in addition to being a UPnP server, allowing you to select which client will commence playback of the currently selected title.

To enable and use this features:

  1. On the Kodi server enable the setting Look for remote UPnP players in Settings → Services → UPnP / DLNA.
  2. When browsing on the Kodi server, call up the Context Menu
  3. Select Play with... and a list of UPnP clients will be listed.
  4. Select the client that will be used for playback
  5. If playing to a Kodi client, ensure the client has the setting Allow control of Kodi via UPnP enabled in Settings → Services → UPnP.


Return to top