Music library: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Cayotic
No edit summary
(114 intermediate revisions by 22 users not shown)
Line 1: Line 1:
The Music Library, one of the [[The XBMC Database|XBMC databases]], is a key feature of XBMC. It allows the organization of your music collection by information stored in your music file ID tag, like title, artist, album, genre and popularity.
{{mininav}}
__NOTOC__


==Preparing your Music to be Scanned==
<section begin="intro" />The Music section of {{kodi}} consists of a powerful and feature rich library that allows the flexible sorting and organization of your music collection.<section end="intro" />
In order to be able to include information on your music collection in the Library, XBMC needs your music to be tagged. When your collection is scanned, XBMC stores all the tagging information (artist, album, year, genre) in the database  which allows you to efficiently search and manage your music collection.
If you have never taken the time to tag your music properly, the time is now! Today most media applications and players (iTunes / iPod for example) organize your music by this ID tag information.<br>
Your audio files '''MUST''' have a valid ID tag for them to work properly in XBMC's library. There are third party applications available for download from the internet, that allow you to add / manage ID tags in your music files.
{|
| valign="top" |
;For information on preparing your music to be indexed see:
*[[Preparing your Music]]
|
|}


==Scanning your music==
{|
| valign="top" |
|
To scan your music collection into the Music Library, first make sure you are not in 'Library Mode' (on the left). Next browse to the location of your music collection and press the '''white''' button. This brings up [[Music Navigation and Control#The Context Menu |The Context Menu]] menu with various options. Select the option labeled "Scan item to database". XBMC will then proceed to scan the selected music source in the background into the database/library. Once the scan is complete, you can browse your collection by selecting 'Library Mode'.<br>


Tagging Notes: Scanning a source will scan in all subdirectories, including full albums, singles, and unsorted music. If you only need to update a single album folder then no need to rescan the entire album collection. Navigate to the album or artist folder and Update your tagging corrections by scanning! MediaMonkey is the recommended utility for tagging your media! At the time of this writing, tagging your music in Vista Explorer or Tag&Rename will cause your ratings of 1-4 to be read as 0-3. According to the dev. team member jmarshall, "It's actually a 0->255 range in the POPM tag itself."
== Topic navigation ==
{{Index two column
| link 1 = :HOW-TO:Create_Music_Library
| link name 1 = Guide to Create, Modify and Re-build your Music Library
| image 1 = Nuvola apps kscd.png
| link 3 = Music navigation
| link name 3 = Music Navigation & Music Playback
| image 3 = Crystal Clear app starthere.png
| link 5 = :Category:Music_library
| link name 5 = Index of Music articles
| image 5 = Search blue.png
| description 5 = A listing of Music related pages
| link 2 = Music_videos
| link name 2 = Music Videos
| image 2 = Map symbol concert hall 02.png
| link 4 = Audiobooks
| link name 4 =
| image 4 = Book icon 1.png
| link 6 = Settings
| link name 6 = Settings Main Page
| image 6 = Document-properties.png|
| description 6 = The Music Settings are located on various pages depending upon the function of the setting.
Library Maintenance tasks can be found in [[Settings/Media/Library|Media>Library]]<br />
How music is collected, stored and displayed can be set in [[Settings/Media/Music|Settings>Media>Music]]<br />
How Audio Discs are handled can be found in [[Settings/Player/Discs|Settings>Player>Discs]]<br />
Preferences related to music playback can be found in [[Settings/Player/Music|Settings>Player>Music]]
}}




XBMC supports mutli-genre tagging i.e. "Acoustic / Live / Alternative". This is a viable option in response to the lack of sub-genre support. Not only that, but maybe you want to create a smart playlist of all live music. Now you can using this method. The smart playlist is brilliant though ratings alone aren't enough to enjoy a DJ free evening with some friends. You almost need a mood or tempo tag to ensure that the party stays lively. For example, you make have some slow RnB jams like Boyz II Men that you rate a 5 and Some up-beat RnB tracks from Usher that you rate a 4. Well those slow jams will come in and put a damper on the party if you don't monitor the list frequently. You might say, make a rule that leaves out BIIM, but the fact remains that there will be various tempos, ratings, from all artists and genres. One way to combat this would be to use a simple number scale as a sub-genre. 1 being the tranquil and 5 being a caffeinated, you get the idea. You don't have to do this for every track in your library mind you, just those you rate highly, 3 or better that you would like to distinguish from slower equally rated songs, "RnB, Soul, 2". If you required a little more clarification try Tempo2. '''(Rating is greater than 2; Genre Does not contain 1; Genre Does not contain 2) 
'''


Sufficed to say, this feature also works for mutli-artist or colaborative works featuring additional artists. Just be sure you put a space in between the artist and the devider just as you did in the genre tag. MS Zune will not insert spaces where needed and in some case may even take out the spaces since it doesn't require them. This will mess up your XBMC library so monitor this carefully!!!
== How-to Articles ==
|
Assorted how-tos related to the music library that have been added to the wiki:
|}


==Navigating your Library==
This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided.  
The library organizes your music into many categories, allowing you to find a specific song using one of many possible criteria. Below you can see root menu showing the different sections.
{|
|
[[image:library.mymusic.jpg|right|360px]]
| valign="top" |
; View:
: You can the toggle between the different display options, amongst others; List, Icons and Big Icons.
; Sort By:
: You can choose what criteria to sort your music by. Note the arrow to the right which controls whether the items are sorted in ascending or descending order.
; Library Mode
: This control allows you to switch between Library Mode and [[Music#Files View|File View]]. (used to be called Switch View)
; Search
: You can search for a string anywhere in the [[The XBMC Database|XBMC music database]], see more below.
; Filter
: Allows you to filter the library to only show albums, artists or songs that include the specified string in the name.
; Party Mode
: See below.
|}


<div id="searching"></div>
<dpl>
==Searching your Library==
category = How-to
The search button is available on the left side of the '[[Music]]' window, and is also available in the root listing of your music library. Select it to begin your search. A keyboard will pop-up where you may enter search terms (SMS style with the remote, or just using the virtual keyboard). As you enter more letters, the search will be performed in the background, and results displayed in the search node of the music library.  Previous searches are saved, so if you return to the search node later on, it will have the results of your previous search.  Artists and Albums are shown on top, followed by matching songs.  If the search string you enter is less than 3 characters, XBMC will just search in the first word of each artist/album/song.  Otherwise it will do a full word search.  '''NOTE: In order to search within words as well as just for words beginning with your search string, place a % sign in front of the match.'''
category = Music library
  notcategory = Outdated
  format  = ,{{list2|%PAGE%}}
</dpl>


==Party Mode==
<div style="{{linear-gradient|bottom|#f5d3ff, #12b2e7}}">
The Party Mode option allows you to randomly play music from your entire music or [[Music Videos|music video]] collection based on criteria specified in [[PartyMode.xsp]]. Simply build a
</div>
[[Playlists#Smart_Playlists|Smart Playlist]] and save it as '''partymode.xsp''' in [[The UserData Folder]].


Selecting 'Party Mode' from the sidebar will play ALL valid media scanned into your libraries in a random order that meet the conditions specified in the Smart Playlist.


==Music Context Menu in Library Mode==
{{updated|18}}
You perform actions on your music files using the Context Menu. Press the '''White''' button on your controller ('''Title''' on the remote). This will bring up the context menu, pictured below right. In Library Mode selecting an album, the following options are available:
[[Category:FAQ]]
{|
[[Category:Index]]
|
[[Category:Guides]]
[[image:Context.library.mymusic.jpg]]
[[Category:Manual]]
|
[[Category:Music library]]
; Queue Item
[[Category:General topics]]
: Adds the item to the [[Now Playing]] playlist.
[[Category:First time user]]
; Play
[[Category:Quick Start Guide]]
: Plays the selected file.
; Add to Favourites
: Adds the item to your [[Favourites]] menu.
; Album / Song Information
: Shows the relevant information from [http://allmusic.com allmusic.com].
; Query Info For All Albums
: Queries information from [http://allmusic.com allmusic.com] for all albums in the path.
; Update Library
: Checks if files in the Library have been changed, added or removed, modifies the database accordingly and runs a cleaning routine. Adds missing media to the database.
; Go to Root
: Takes you to the Music Library root.
; Now Playing...
: Takes you to [[Now Playing]] screen that shows what is currently playing and what the next queued files are.
; Settings
: Opens the [[Music Settings]] menu.
|}
 
==Remote browsing==
To be able to browse the Music Library outside the GUI, like through [[The Web Interface]], you'll currently have to add a special [[Types of  Media Sources#Music_Library|musicdb:// source]], which will show up as 'Library' under Music in the web interface.
 
==Clean Library==
Cleaning up the Music Library can be done via the [[User Interface Settings]], in the [[Music Settings]] with the Clean Library option.
[[category:Usage]]

Revision as of 02:28, 4 April 2019

Home icon grey.png   ▶ Music library


The Music section of Kodi consists of a powerful and feature rich library that allows the flexible sorting and organization of your music collection.


Topic navigation

icon Guide to Create, Modify and Re-build your Music Library
The aim of these modules is to provide the required information to enable you to correctly set up, modify, and reinstate your Music library as required. As this guide is created for the new user, most pages have been created with minimal jargon and short explanations in an effort to reduce information overload and confusion. Where extra information is provided, note is made to what can be safely ignored.
icon Music Videos
Kodi has the ability to include Music Videos in the Video and Music libraries. All scanned music videos will show up in both. Music Videos can also be part of Party Mode and Smart Playlists. Playlists containing both music and music videos should be stored in the mixed playlist subfolder under the userdata folder.
icon Music Navigation & Music Playback
This page will provide information to navigate around the music section and the various ways to play your music.
icon Audiobooks
Audiobooks using the .m4b or .mka format and contain two or more chapters are natively handled in Kodi without the need for additional add-ons or special setup.
icon Index of Music articles
A listing of Music related pages
icon Settings Main Page
The Music Settings are located on various pages depending upon the function of the setting.

Library Maintenance tasks can be found in Media>Library
How music is collected, stored and displayed can be set in Settings>Media>Music
How Audio Discs are handled can be found in Settings>Player>Discs
Preferences related to music playback can be found in Settings>Player>Music


How-to Articles

Assorted how-tos related to the music library that have been added to the wiki:

This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided.


HOW-TO:Create Music Library
The aim of these modules is to provide the required information to enable you to correctly set up, modify, and reinstate your Music library as required. As this guide is created for the new user, most pages have been created with minimal jargon and short explanations in an effort to reduce information overload and confusion. Where extra information is provided, note is made to what can be safely ignored.