Media sources: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
m (→‎See also: add sources types link)
No edit summary
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{cleanup}}
{{mininav|[[Video library]]{{l2|[[Music library]]}} }}
{{See also|Adding videos to the library/Adding media sources|File sharing}}
<section begin="intro" />Media Sources are virtual links to the content you wish {{kodi}} to use. When you enter any of the [[Videos]], [[Music]], [[Pictures]] or the [[Filemanager]], you will see an entry for "Add Sources". When you first start with {{kodi}} you should at least add one source, like a drive or directory on your {{kodi}} device to get you started.<section end="intro" />


'''Media Sources''' are virtual links to the content you wish XBMC to use. When you enter any of the [[Videos]], [[Music]], [[Pictures]] or the [[Filemanager]], you will see an entry for "Add Sources". When you first start with XBMC you should at least add one source, like a drive or directory on your PC or Mac to get you started.
If you select "Add sources" a dialog appears, where you may manually input a path, or browse to a source that contains media that you would like {{kodi}} to use and display. As an example, if you enter the Music section, you could tell {{kodi}} where it should look for your music. This can be as simple as selecting a folder on your computer or you can also choose to browse your home network for media.


If you select "Add sources" a dialog appears, where you may manually input a path, or browse to a source that contains media that you would like XBMC to use and display. As an example, if you enter the Music section, you could tell XBMC where it should look for your music. This can be as simple as selecting a folder on your computer or you can also choose to browse your home network for media. These two options would be the most widely used places for sources.
== Adding media sources ==
{{Main|Adding video sources}}


:'''Remember''' that XBMC will add '''everything''' that lies inside the folder you select. So if you choose to add your '''C:/''' or '''/dev/sda''', XBMC will have access to your entire '''C:/''' or '''/dev/sda''' for content by default. '''This can result on system files and folders being mistaken as media sources'''.
You can select as many sources you like if you have content in different places. When you have finished browsing and found the folder you would like, you should input a name for your source. This name will be displayed when you browse your sources under Videos -> Files. When a source, or a folder within a source, has '''[[adding video sources|content set]]''' then those entries will be added to the '''Movies''' and '''TV Shows''' options in the [[home screen]].


You can select as many sources you like if you have content in different places. When you have finished browsing and found the folder you would like, you should input a name for your source. This name will be displayed when you browse your sources. To finish, simply confirm by selecting "OK". You will now see a new entry in the list with the name you gave it.  
=== Root file selection ===
[[File:Add pictures.jpg|right|300px]]
By default every root section includes a ''Add Sources'' button that you can click to start adding sources. This can be disabled though [[Appearance Settings#View Options|Settings/Appearance/View Options/Disable add source buttons in file lists]].
{{-}}


=== Via the context menu ===
[[File:bookmark.add.jpg|right|300px]]
While in the root of any of {{kodi}}'s sections you being up the context menu by pressing {{keypress|C}} on a keyboard or {{button|guide}} on a remote. From there you can also edit any of your current sources, just make sure you have the source you wish to edit selected.


:'''Remember''' you can always add, edit or delete sources anytime you want to, via the '''Call up''' the context menu by '''pressing''' the {{keypress|C}} '''or''' {{key press|Win}} '''button or''' {{button|'''guide'''}} on the '''remote'''. When you delete a source you only delete the link to that source within XBMC - your files will remain intact.<br />
{{note|The exact options shown in the context menu will change depending on where you are in {{kodi}}.}}
{{-}}


== Add source window ==
{{incomplete}}
[[File:Source.add.jpg|500px|right]]
Browse or enter the name and location (Local / IP ) you wish to assign to the source.
For more detailed information on the virtual keyboard including USB, gamepad, remote, and remote t9 text input see the [[On Screen Keyboard]] section of the manual.


==Adding media sources==
From here you can also set the content of your media source, '''''see:''''' [[Set Contents (Video Library)|Advanced Topics/Set Content (Video Library)]]. With this feature you can let {{kodi}} pick the FanArt and Thumbnails from the internet that way giving your {{kodi}} a very nice look by showing the appropriate FanArt and Thumbnails when browsing your media.
See: '''[[Adding videos to the library/Adding media sources]]'''


===Through the User Interface===
{{-}}
By default every root section includes a ''Add Sources'' button that you can click to start adding sources. This can be disabled though [[Appearance Settings#View Options|Settings/Appearance/View Options/Disable add source buttons in file lists]].
====Via the Context menu====
{|
| valign="top" |
While in the root of any of XBMC's sections you '''Call up''' the context menu by '''pressing''' the {{keypress|C}} '''or''' {{key press|Win}} button '''or''' {{button|'''guide'''}} on the remote. From there you can also edit any of your current sources, just make sure you have the source you wish to edit selected.  With the option ''Make Default'' you make a source the default when opening the window for the first time after reboot.<br />


{{note|For this context-menu to appear (for Add/Edit/Remove Sources), you need to be on your root-folder of i.e. <big>'''VIDEOS/MUSIC/PICTURES'''</big>.}}
== Network file sharing ==
{{note|The Context Menu will show more or less options, depending on where you bring it up it.}}
{{See|File sharing}}
| [[File:bookmark.add.jpg|right|300px]][[File:Contextaddsourcesmore.jpg‎|right|300px]]
|[[File:Addsourcesmore.jpg‎|right|305px]]<br />
|}


{|
== Internet streams ==
|
{{main|STRM|Add-ons|RSS media source}}
[[File:Source.add.jpg|500px]]
{{#lst:STRM|intro}}
| valign="top" |
{{-}}
Browse or enter the name and location (Local / IP ) you wish to assign to the source.
For more detailed information on the virtual keyboard including USB, gamepad, remote, and remote t9 text input see the [[On Screen Keyboard]] section of the manual.
 
From here you can also set the content of your media source, '''''see:''''' [[Set Contents (Video Library)|Advanced Topics/Set Content (Video Library)]]. With this feature you can let XBMC pick the FanArt and Thumbnails from the internet that way giving your XBMC a very nice look by showing the appropriate FanArt and Thumbnails when browsing your media.
|}


===Through Sources.xml===
== Scanning sources into the library ==
:{{note| This is considered to be an ''Advanced Topic'', most settings can be changed in the GUI, see previous paragraph.}}
{{main|Set content and scan}}
''See:'' '''[[Sources.xml]]'''
{{#lst:Set content and scan|intro}}
{{-}}


===Locking===
== Locking ==
{{see also|Settings/System#Master lock}}
{{see also|Settings/System#Master lock}}
If you want to make a source more private, you can use ''lockcodes or passwords'' to protect that source. The easiest way to accomplish this in XBMC, is using the GUI dialogs. First, enable the Master Lock in {{highlight|bordered=yes|[[Settings/System/Master lock]]}}. After enabling the Master Lock, a ''Set Lock'' button will pop up in the ''Context Menu'' allowing you to set a lock. XBMC will ask for the ''master lock code'' and then give you the opportunity to set a unique ''Password'' on that specific share. To ''Remove the Lock'' you need to remember the ''Master Lock'' code.<br />
<section begin="Locking" />
 
If you want to make a source more private, you can use ''lockcodes or passwords'' to protect that source. The easiest way to accomplish this in {{kodi}}, is using the GUI dialogs. First, enable the Master Lock in {{highlight|bordered=yes|[[Settings/System/Master lock]]}}. After enabling the Master Lock, a ''Set Lock'' button will pop up in the ''Context Menu'' allowing you to set a lock on specific sources. {{kodi}} will ask for the ''master lock code'' and then give you the opportunity to set a unique ''Password'' on that specific share. To ''Remove the Lock'' you need to remember the ''Master Lock'' code.<br />
{{note| Locking a source means you only give it protection in XBMC. Outside XBMC the source is still available and only protected, or not protected at all, by the Operating System. In the same way, if someone has access to manually edit the ''sources.xml'' he or she can remove or change the settings for the locked source. So, don't feel too safe when you protect a source in XBMC.}}
:{{note|The ''advanced user'' again, can manually edit the ''sources.xml'' file to accomplish the same. Remember when you enter lockcodes in the configuration file ''sources.xml'' you must first convert the lockcode to MD5 hash format before you enter them. You can use [http://pajhome.org.uk/crypt/md5/ this site (link)] to convert/hash them.}}
::{{note|The rest of this paragraph is for the '''''advanced user'''''.}}
 
'''Locking Example:'''
<code>
    &lt;source>
      &lt;name>SMB&lt;/name>
      &lt;path pathversion="1">smb://DOMAIN;username:pwd@MyWindowsServer/movies/&lt;/path>
      &lt;lockmode>1&lt;/lockmode>
      &lt;lockcode>12345678&lt;/lockcode>
      &lt;badpwdcount>0&lt;/badpwdcount>
    </source>
</code>


'''<lockmode> and <lockcode>'''
{{note| Locking a source means you only give it protection in {{kodi}}. Outside {{kodi}} the source is still available and only protected, or not protected at all, by the Operating System. In the same way, if someone has access to manually edit the ''sources.xml'' he or she can remove or change the settings for the locked source. So, don't feel too safe when you protect a source in {{kodi}}.}}
:<lockmode> consists of three options:
<section end="Locking" />
:;0
::Source is not locked. This is the default value if not specified.
:;1
::Numeric lock. Can be typed via on screen numpad or remote control. Must be a numeric value.
:;2
:: Full-text lock. Enter with on screen keyboard or USB keyboard.
:: Enter HTML-escaped alphanumeric password. Make sure all characters are available on your language's on screen keyboard/USB keyboard.


==See also==
== See also ==
*[[Adding videos to the library]]
* [[Adding videos to the library]]
*[[Sources.xml]]
* [[Video library/Setting content and scanning|Setting content and scanning]]
*[[Userdata/sources.xml/Source_types|Sources types]]
* [[Sources.xml]]
*[[List of media source types]]
* [[List of media source types]]
*[[File sharing]]
* [[File sharing]]
*[[Filemanager]]
* [[Filemanager]]
{{Frodo updated}}


[[Category:XBMC Manual]]
[[Category:Manual]]
[[Category:Settings]]
[[Category:Settings]]
[[Category:File Sharing]]
[[Category:File sharing]]
[[Category:Video Library]]
[[Category:Video library]]
[[Category:Music Library]]
[[Category:Music library]]

Revision as of 12:49, 5 January 2015

Home icon grey.png   ▶ Video library
▶ Music library
▶ Media sources

Media Sources are virtual links to the content you wish Kodi to use. When you enter any of the Videos, Music, Pictures or the Filemanager, you will see an entry for "Add Sources". When you first start with Kodi you should at least add one source, like a drive or directory on your Kodi device to get you started.

If you select "Add sources" a dialog appears, where you may manually input a path, or browse to a source that contains media that you would like Kodi to use and display. As an example, if you enter the Music section, you could tell Kodi where it should look for your music. This can be as simple as selecting a folder on your computer or you can also choose to browse your home network for media.

Adding media sources

You can select as many sources you like if you have content in different places. When you have finished browsing and found the folder you would like, you should input a name for your source. This name will be displayed when you browse your sources under Videos -> Files. When a source, or a folder within a source, has content set then those entries will be added to the Movies and TV Shows options in the home screen.

Root file selection

By default every root section includes a Add Sources button that you can click to start adding sources. This can be disabled though Settings/Appearance/View Options/Disable add source buttons in file lists.

Via the context menu

Bookmark.add.jpg

While in the root of any of Kodi's sections you being up the context menu by pressing C on a keyboard or guide on a remote. From there you can also edit any of your current sources, just make sure you have the source you wish to edit selected.

Note: The exact options shown in the context menu will change depending on where you are in Kodi.

Add source window

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?
Source.add.jpg

Browse or enter the name and location (Local / IP ) you wish to assign to the source. For more detailed information on the virtual keyboard including USB, gamepad, remote, and remote t9 text input see the On Screen Keyboard section of the manual.

From here you can also set the content of your media source, see: Advanced Topics/Set Content (Video Library). With this feature you can let Kodi pick the FanArt and Thumbnails from the internet that way giving your Kodi a very nice look by showing the appropriate FanArt and Thumbnails when browsing your media.


Network file sharing

See: File sharing

Internet streams

STRM

Scanning sources into the library


Locking

If you want to make a source more private, you can use lockcodes or passwords to protect that source. The easiest way to accomplish this in Kodi, is using the GUI dialogs. First, enable the Master Lock in Settings/System/Master lock. After enabling the Master Lock, a Set Lock button will pop up in the Context Menu allowing you to set a lock on specific sources. Kodi will ask for the master lock code and then give you the opportunity to set a unique Password on that specific share. To Remove the Lock you need to remember the Master Lock code.

Note: Locking a source means you only give it protection in Kodi. Outside Kodi the source is still available and only protected, or not protected at all, by the Operating System. In the same way, if someone has access to manually edit the sources.xml he or she can remove or change the settings for the locked source. So, don't feel too safe when you protect a source in Kodi.


See also