Update Music Library: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(New Page)
 
m (removed Category:FAQ using HotCat)
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
= Introduction =
= Introduction =
This page will provide information to enable you to add new music, modify existing music and remove music from your '''existing''' music library.
This page will provide information to enable you to add new music, modify existing music and remove music from your '''existing''' music library.
{{red|'''This page assumes you have an existing music library.'''}} If you do not have an existing music library, you will need to create one by following the guide [[:HOW-TO:Create_Music_Library| Create Music Library]].


If you use File View or File Manger, this page does not apply.
If you use File View or File Manger, this page does not apply.
Line 19: Line 17:
= Scan Library =
= Scan Library =
<!-- https://forum.kodi.tv/showthread.php?tid=320887&pid=2641709#pid2641709 -->
<!-- https://forum.kodi.tv/showthread.php?tid=320887&pid=2641709#pid2641709 -->
The Update Library function specifically relates to '''scanning''' files and importing into the library the data from the music file tags. It runs through the music source(s) looking for new, or changed, folders or files. It does this by checking through all your music, looking at timestamp and file size. But it only actually scans the tags from those files that are new or changed.
The Update Library function specifically relates to '''scanning''' music files and populating the database with the music file tag metadata, as well as the Basic artwork. It runs through the music source(s) looking for new, or changed, folders and files. It does this by checking through all your music, looking at timestamp and file size. But it only actually scans the tags from those files that are new or changed.


If you have a small library, this is not a problem as the scan is relatively quick. For those that have libraries in the order of tens of thousands of songs, this can be a very intensive and time consuming process. For this reason there are three ways to perform the Update Library. All achieve the same result, but their differences may suit different libraries or different user requirements.
If you have a small library, this is not a problem as the scan is relatively quick. For those that have libraries in the order of tens of thousands of songs, this can be a very time consuming process. For this reason there are three ways to perform the Update Library. All achieve the same result, but their differences may suit different libraries or different user requirements.


Remember, this procedure only conducts the scanning of the tags. It is possible to have {{kodi}} scrape the additional music data by using the setting '''[[Settings/Media/Music#Fetch_additional_information_during_updates|Fetch additional info on update]]''' as follows:
In v18, you now have the option to rescan all tags even if they are existing in your library and unchanged, without losing scraped and other user data. You will be prompted to rescan all tags when manually running the Scan Item to Library process.
 
Remember, this procedure only conducts the scanning of the tags. It is possible to have {{kodi}} scrape the additional music data '''at the same time''' by using the setting '''[[Settings/Media/Music#Fetch_additional_information_during_updates|Fetch additional info on update]]''' as follows:
*If ''Fetch additional info on update'' is set to '''Disabled''' then you will need to follow one of the procedures in the '''Scrape Library''' section below to scrape the additional music information
*If ''Fetch additional info on update'' is set to '''Disabled''' then you will need to follow one of the procedures in the '''Scrape Library''' section below to scrape the additional music information
*If ''Fetch additional info on update'' is set to '''Enabled''' then {{kodi}} will complete the scan and then conduct the scrape automatically
*If ''Fetch additional info on update'' is set to '''Enabled''' then {{kodi}} will complete the scan and then conduct the scrape automatically
Line 29: Line 29:




== Update Library ==
== Update Library- Automatic ==
<gallery mode="packed" widths="500px" heights="283px">
File:Settings media library music library.jpg|Image 1
</gallery>
 
By enabling the setting ''''Update library on startup'''' all your Sources will be scanned for new content each time {{kodi}} is started. If you have a large library, this could take some time.
 
If you do not add new titles to your library very often, you should disable this setting and use one of the other methods when new titles are added.
 
{{see|Settings/Media/Library}}
 
 
 
== Update Library- Manual ==
This method is a global music library update. {{kodi}} will search all music sources and all music folders and files looking for new, or changed, folders and files. It is the most commonly used process to scan music.
This method is a global music library update. {{kodi}} will search all music sources and all music folders and files looking for new, or changed, folders and files. It is the most commonly used process to scan music.
In the settings pages, {{kodi}} can also be set to automatically run the Update Library function at startup. '''''See: [[Settings/Media/Library#Update_library_on_startup_2|Update library on startup]]'''''


[[File:EstuarySideBarMenu_small.gif|frame|right|Image 3]]
[[File:EstuarySideBarMenu_small.gif|frame|right|Image 3]]
<gallery widths=500px heights=300px>
<gallery widths=490px heights=283px>
File:Estuary_home_music_files.png|Image 1
File:Estuary_home_music_files.png|Image 1
File:Music-CategoryList.jpg|Image 2
File:Music-CategoryList.jpg|Image 2
Line 43: Line 54:
#Select '''Music''' from the main menu (Image 1)
#Select '''Music''' from the main menu (Image 1)
#From the Category Screen (Image 2) or from within any category list (Genre, Artist, Album, Songs etc)...
#From the Category Screen (Image 2) or from within any category list (Genre, Artist, Album, Songs etc)...
#Call up the '''Side Bar Menu''' which is normally ''left-arrow'' (Image 3)
#Call up the '''[[Music_navigation#Sideblade_Menu|Left Sidebar Menu]]''' which is normally ''left-arrow'' (Image 3)
#Select '''Update library''' (Image 3)
#Select '''Update library''' (Image 3)
== Update Library- via Add-ons ==
* '''''[[Add-on:XBMC Library Auto Update]]''''' can be used to schedule automatic updates to the library.
== Scan Source to Library ==
The following allows you to scan one source for new items. Good if you have added new music files to a single music source.
<gallery mode="packed" widths="500px" heights="283px">
File:Estuary_home_music_files.png|Image 1
File:Music-CategoryList.jpg|Image 2
File:Source-ContextMenu.jpg|Image 3
File:MusicRescanTags01.jpg|Image 4
</gallery>
To scan an entire source, follow these steps:
#Select '''Music''' from the main menu (Image 1)
#Select '''Files''' from the category list (Image 2)
#Highlight the source to be scanned
#Call up the '''[[Basic_controls#Context_Menu|Context Menu]]''' (Image 3)
#Select '''Scan item to library''' (Image 3)
#You will be asked if you would like to ''Do full tag scan even when music files are unchanged?'' (Image 4)
#*'''Yes-''' Will scan the tags of '''all''' music files, even if they are unchanged
#*'''No-''' Will scan the tags of new files only




Line 51: Line 88:
This method will update individual Album or Artist only. A good option for large libraries with only a few new files.
This method will update individual Album or Artist only. A good option for large libraries with only a few new files.


<gallery widths=500px heights=300px>
<gallery mode="packed" widths="500px" heights="283px">
File:Estuary_home_music_files.png|Image 1
File:Estuary_home_music_files.png|Image 1
File:Music-CategoryList.jpg|Image 2
File:Music-CategoryList.jpg|Image 2
File:Music-AlbumContextMenuFile.jpg|Image 3
File:Music-AlbumContextMenuFile.jpg|Image 3
File:MusicRescanTags01.jpg|Image 4
</gallery>
</gallery>


Line 64: Line 102:
#Select either the Artist or Album category
#Select either the Artist or Album category
#Highlight the Album or Artist to be scanned into the library (Image 3)
#Highlight the Album or Artist to be scanned into the library (Image 3)
#Call up the Context Menu (Image 3)
#Call up the '''[[Basic_controls#Context_Menu|Context Menu]]''' (Image 3)
#Select '''Scan item to library''' (Image 3)
#Select '''Scan item to library''' (Image 3)
#You will be asked if you would like to ''Do full tag scan even when music files are unchanged?'' (Image 4)
#*'''Yes-''' Will scan the tags of '''all''' music files, even if they are unchanged
#*'''No-''' Will scan the tags of new files only
#Repeat as necessary
#Repeat as necessary


Line 71: Line 112:
*Scanning an individual song will scan all songs in the album
*Scanning an individual song will scan all songs in the album
*If you added multiple albums from the '''same''' Artist, then conduct the above procedure at the Artist level
*If you added multiple albums from the '''same''' Artist, then conduct the above procedure at the Artist level
== Scan Source to Library ==
The following allows you to scan one source for new items. Good if you have added multiple new music files to a single music source
<gallery widths=500px heights=313px>
File:Estuary_home_music_files.png|Image 1
File:Music-CategoryList.jpg|Image 2
File:Source-ContextMenu.jpg|Image 3
</gallery>
To scan an entire source, follow these steps:
#Select '''Music''' from the main menu (Image 1)
#Select '''Files''' from the category list (Image 2)
#Highlight the source to be scanned
#Call up the Context Menu (Image 3)
#Select '''Scan item to library''' (Image 3)
{{kodi}} will search your music files for any new or changed items. When new or changed files are located, they will be scanned and the data contained in the embedded tags will be added to the library<br />
{{note|In v18 it will be possible to request a rescan of all tags.}}




Line 102: Line 123:


If you have an item already scraped into the library but there is new information available online, or you have added new data to a nfo file, you will need to perform a '''Refresh''' to scape the data into the library. A '''Query for all artists/albums''' only looks for entries not previously scraped.
If you have an item already scraped into the library but there is new information available online, or you have added new data to a nfo file, you will need to perform a '''Refresh''' to scape the data into the library. A '''Query for all artists/albums''' only looks for entries not previously scraped.
== Query Info for all Artists ==
{{#lst:Scraping_Music|ScrapeArtists}}
If you do not go to the Artist category but perform this action through another music category, say Years or Roles, only that particular Artist you selected will be scraped.
== Query Info for all Albums ==
{{#lst:Scraping_Music|ScrapeAlbums}}
If you do not go to the Album category but perform this action through another music category, say Years or Roles, only that particular Album you selected will be scraped.




== Refresh Artist ==
== Refresh Artist ==
<gallery widths=500px heights=300px>
<gallery mode="packed" widths="500px" heights="283px">
File:Artwork-MusicArtist01.jpg|Image 1
File:Artwork-MusicArtist01.jpg|Image 1
File:Artwork-MusicAdd01.jpg|Image 2
File:Artwork-MusicAdd01.jpg|Image 2
File:MusicRefreshArtist01.jpg|Image 3
</gallery>
</gallery>


To Refresh the data for an individual Artist, or to Scrape data for a newly added Artist, follow these steps:
To Refresh the data for an individual Artist, or to Scrape data for a newly added Artist, follow these steps:
#From the Artist list highlight the Artist to be modified (Image 1)
#From the Artist list highlight the Artist to be modified (Image 1)
#Call up the Artist Information page.
#Call up the Artist Information page. (Image 2)
#Select '''Refresh''' (image 2)
#Select '''Refresh''' (Image 2)
#The Artist information will be downloaded, if available at the scraper site or the nfo file
#If you have NFO Files in the Artist folder, you will be asked ''Locally stored information found. Ignore and refresh from Internet?'' (Image 3)
 
#*'''No-''' The data in the NFO File will be used to populate the library
#*'''Yes-''' The NFO File will be ignored and the scraper will download data from the online service. Local artwork is still used. Use ''Choose Art'' to change artwork




== Refresh Album ==
== Refresh Album ==
<gallery widths=500px heights=300px>
<gallery mode="packed" widths="500px" heights="283px">
File:Artwork-MusicAlbum01.jpg|Image 1
File:Artwork-MusicAlbum01.jpg|Image 1
File:Artwork-MusicAdd04.jpg|Image 2
File:Artwork-MusicAdd04.jpg|Image 2
File:MusicRefreshArtist01.jpg|Image 3
</gallery>
</gallery>


To Refresh the data for an individual Album, or to Scrape data for a newly added Album, follow these steps:
To Refresh the data for an individual Album, or to Scrape data for a newly added Album, follow these steps:
#From the Album list highlight the Album to be modified (Image 1)
#From the Album list highlight the Album to be modified (Image 1)
#Call up the Album Information page.
#Call up the Album Information page. (Image 2)
#Select '''Refresh''' (image 2)
#Select '''Refresh''' (image 2)
#The Album information will be downloaded, if available at the scraper site or the nfo file
#If you have NFO Files in the Album folder, you will be asked ''Locally stored information found. Ignore and refresh from Internet?'' (Image 3)
 
#*'''No-''' The data in the NFO File will be used to populate the library
 
#*'''Yes-''' The NFO File will be ignored and the scraper will download data from the online service. Local artwork is still used. Use ''Choose Art'' to change artwork
 
== Query Info for all Artists ==
{{#lst:Scraping_Music|ScrapeArtists}}
 
If you do not go to the Artist category but perform this action through another music category, say Years or Roles, only that particular Artist you selected will be scraped.
 
 
 
== Query Info for all Albums ==
{{#lst:Scraping_Music|ScrapeAlbums}}
 
If you do not go to the Album category but perform this action through another music category, say Years or Roles, only that particular Album you selected will be scraped.






= Remove Music =
= Remove Music =
The ability to remove music from the Kodi library is limited.  
Removing music from the Kodi library works differently to removing a movie from the Video Library. Due to the virtual links between Artist-Album-Songs, it is not possible to remove items directly from the library. The following two methods are available.  




== Remove Source ==
== Remove Source ==
The following allows you to remove one or more Sources. This will remove from the library all music contained in that source.
The following allows you to remove one or more Sources. This will remove from the library all music contained in that source.
{{#lst:Adding_music_to_the_library|Remove A Source}}
 
<section begin="Remove A Source" /><gallery widths=500px heights=313px>
File:Estuary_home_music_files.png|Image 1
File:Music-CategoryList.jpg|Image 2
File:Source-ContextMenu.jpg|Image 3
</gallery>
 
To remove a source, follow these steps:
#Select Music from the main menu
#Navigate to and enter ''Files'' as illustrated in Image 2
#Highlight the source to be removed
#Call up the '''[[Basic_controls#Context_Menu|Context Menu]]''' (Image 2)
#Select '''''Remove source''''' (Image 2)
#A confirmation prompt will display- ''Are you sure? Yes / No''
#*Select ''Yes'' to remove the source
#*Select ''No'' to cancel the procedure
#If you selected ''Yes'' you will then be asked ''Do you want to remove all items within this path from your library?''...
#*'''Yes'''- Will remove all songs from the library that were located in that source, and the associated Artists and Albums if they do not appear on any other source
#*'''No'''- Will keep the library listing of all music that was in that source.
#**Note: If you answered ''No'' but would now like to remove the items from the library...
#**#Re-add the Source following the directions above.
#**#Answer ''No'' when asked ''Do you want to add the media from this source to your library''
#**#Follow these instructions to again remove the Source ensuring you select ''Yes'' to remove items from the library <section end="Remove A Source" />




Line 163: Line 212:
##Enable the setting [[Settings/Media/General#Allow_file_renaming_and_deletion|Allow file renaming and deletion]]
##Enable the setting [[Settings/Media/General#Allow_file_renaming_and_deletion|Allow file renaming and deletion]]
##Using Music>Files, locate and highlight the item to be deleted- either an individual song, Album or Artist
##Using Music>Files, locate and highlight the item to be deleted- either an individual song, Album or Artist
##From the context menu, select '''Delete'''. Be aware- '''This will delete the item(s) from your hard disk
##From the context menu, select '''Delete'''. Be aware- '''This will delete the item(s) from your hard disk'''
##Run a [[Settings/Media/Library#Clean_library_2|Clean Library]]
##Run a [[Settings/Media/Library#Clean_library_2|Clean Library]]


Line 180: Line 229:


== Exclude Folder ==
== Exclude Folder ==
Within a music source, it is possible to exclude certain folders, and the contents of those folders, from the scanning and scraping process as follows:
<section begin="ExcludeFolder" />It is possible to exclude certain folders, and the contents of those folders, from the scanning and scraping process as follows:
#Using the file browser of your operating system locate the folder to be excluded
#Using the file browser of your operating system locate the folder to be excluded
#Inside the folder to be excluded, place an empty text file and name it as follows:
#Inside the folder to be excluded, place an empty text file and name it as follows:
Line 189: Line 238:
#**When Windows saves the name change, it will remove the last period and the new name will be '''''.nomedia'''''
#**When Windows saves the name change, it will remove the last period and the new name will be '''''.nomedia'''''
#*All other systems- '''''.nomedia'''''
#*All other systems- '''''.nomedia'''''
#Kodi will read the filename and ignore the folder and its contents
#Kodi will read the filename and ignore the folder and its contents<section end="ExcludeFolder" />




Line 197: Line 246:
{{Top}}
{{Top}}


<div style="{{linear-gradient|left|#f5d3ff, #12b2e7}}">{{next|[[Import-export_library|Import & Export]]}} </div>
<div style="{{linear-gradient|left|#f5d3ff, #12b2e7}}">{{next|[[NFO_files|NFO Files]]}} </div>






{{updated|17}}
{{updated|18}}
[[Category:FAQ]]
[[Category:Index]]
[[Category:Index]]
[[Category:Guides]]
[[Category:Guides]]
[[Category:Manual]]
[[Category:Manual]]
[[Category:Karellen]]
[[Category:First time user]]
[[Category:First time user]]
[[Category:Music library]]
[[Category:Music library]]
[[Category:Advanced topics]]
[[Category:Advanced topics]]
[[Category:Quick Start Guide]]
[[Category:Quick Start Guide]]

Latest revision as of 19:52, 22 February 2023

Steps to create your Music Library
Nuvola apps kscd.png
1. Guide Main Page
2. Music Settings
3. Music File Tagging
4. Scanning Music Into Library
5. Artist information folder
6. Scraping Additional Music data

7. Update Music Library
8. NFO Files
8.1 Music NFO Files
9. Artwork
9.1 Music Artwork


10. Import-export library
10.1 Music Import-Export
11. Backup & Recover
Zappy.png
Home icon grey.png   ▶ Music library ▶ Update Music Library


Introduction

This page will provide information to enable you to add new music, modify existing music and remove music from your existing music library.

If you use File View or File Manger, this page does not apply.

Depending upon your settings (explained further on) the addition of new music could take upto three steps:

  1. Scan files
  2. Scrape Artist
  3. Scrape Album


Scan Library

The Update Library function specifically relates to scanning music files and populating the database with the music file tag metadata, as well as the Basic artwork. It runs through the music source(s) looking for new, or changed, folders and files. It does this by checking through all your music, looking at timestamp and file size. But it only actually scans the tags from those files that are new or changed.

If you have a small library, this is not a problem as the scan is relatively quick. For those that have libraries in the order of tens of thousands of songs, this can be a very time consuming process. For this reason there are three ways to perform the Update Library. All achieve the same result, but their differences may suit different libraries or different user requirements.

In v18, you now have the option to rescan all tags even if they are existing in your library and unchanged, without losing scraped and other user data. You will be prompted to rescan all tags when manually running the Scan Item to Library process.

Remember, this procedure only conducts the scanning of the tags. It is possible to have Kodi scrape the additional music data at the same time by using the setting Fetch additional info on update as follows:

  • If Fetch additional info on update is set to Disabled then you will need to follow one of the procedures in the Scrape Library section below to scrape the additional music information
  • If Fetch additional info on update is set to Enabled then Kodi will complete the scan and then conduct the scrape automatically


Update Library- Automatic

By enabling the setting 'Update library on startup' all your Sources will be scanned for new content each time Kodi is started. If you have a large library, this could take some time.

If you do not add new titles to your library very often, you should disable this setting and use one of the other methods when new titles are added.

See: Settings/Media/Library


Update Library- Manual

This method is a global music library update. Kodi will search all music sources and all music folders and files looking for new, or changed, folders and files. It is the most commonly used process to scan music.

Image 3

To scan all sources for new and changed items, follow these steps:

  1. Select Music from the main menu (Image 1)
  2. From the Category Screen (Image 2) or from within any category list (Genre, Artist, Album, Songs etc)...
  3. Call up the Left Sidebar Menu which is normally left-arrow (Image 3)
  4. Select Update library (Image 3)


Update Library- via Add-ons


Scan Source to Library

The following allows you to scan one source for new items. Good if you have added new music files to a single music source.

To scan an entire source, follow these steps:

  1. Select Music from the main menu (Image 1)
  2. Select Files from the category list (Image 2)
  3. Highlight the source to be scanned
  4. Call up the Context Menu (Image 3)
  5. Select Scan item to library (Image 3)
  6. You will be asked if you would like to Do full tag scan even when music files are unchanged? (Image 4)
    • Yes- Will scan the tags of all music files, even if they are unchanged
    • No- Will scan the tags of new files only


Scan Item to Library

This method will update individual Album or Artist only. A good option for large libraries with only a few new files.

To scan a new album or artist into your library, follow these steps:

  1. Select Music from the main menu (Image 1)
  2. Select Files from the category list (Image 2)
  3. Select the Source where the album or artist is saved
  4. Select either the Artist or Album category
  5. Highlight the Album or Artist to be scanned into the library (Image 3)
  6. Call up the Context Menu (Image 3)
  7. Select Scan item to library (Image 3)
  8. You will be asked if you would like to Do full tag scan even when music files are unchanged? (Image 4)
    • Yes- Will scan the tags of all music files, even if they are unchanged
    • No- Will scan the tags of new files only
  9. Repeat as necessary

Notes:

  • Scanning an individual song will scan all songs in the album
  • If you added multiple albums from the same Artist, then conduct the above procedure at the Artist level


Scrape Library

This section is specifically related to Scraping additional music information. This can be from an online source or a nfo file. To use this function, files must already be scanned into the library.

The two methods available to Scrape additional information are:

  1. Refresh - Used on individual artists and albums
  2. Query info for all artists/albums - Two separate functions that performs a global query, but only downloads the additional data for those items not previously scraped. ie new items only.

If you have an item already scraped into the library but there is new information available online, or you have added new data to a nfo file, you will need to perform a Refresh to scape the data into the library. A Query for all artists/albums only looks for entries not previously scraped.


Query Info for all Artists

To scrape additional information for Artists, follow these steps:

  1. Select Music from the main menu (Image 1)
  2. Select Artists from the category list (Image 2)
  3. Highlight any Artist (Image 3)
  4. Call up the Context Menu for the selected Artist (Image 3)
  5. Select Query info for all artists (Image 3)

If you do not go to the Artist category but perform this action through another music category, say Years or Roles, only that particular Artist you selected will be scraped.


Query Info for all Albums

To scrape additional information for Albums, follow these steps:

  1. Select Music from the main menu (Image 1)
  2. Select Albums from the category list (Image 2)
  3. Highlight any Album (Image 3)
  4. Call up the Context Menu for the selected Album (Image 3)
  5. Select Query info for all albums (Image 3)

If you do not go to the Album category but perform this action through another music category, say Years or Roles, only that particular Album you selected will be scraped.


Refresh Artist

To Refresh the data for an individual Artist, or to Scrape data for a newly added Artist, follow these steps:

  1. From the Artist list highlight the Artist to be modified (Image 1)
  2. Call up the Artist Information page. (Image 2)
  3. Select Refresh (Image 2)
  4. If you have NFO Files in the Artist folder, you will be asked Locally stored information found. Ignore and refresh from Internet? (Image 3)
    • No- The data in the NFO File will be used to populate the library
    • Yes- The NFO File will be ignored and the scraper will download data from the online service. Local artwork is still used. Use Choose Art to change artwork


Refresh Album

To Refresh the data for an individual Album, or to Scrape data for a newly added Album, follow these steps:

  1. From the Album list highlight the Album to be modified (Image 1)
  2. Call up the Album Information page. (Image 2)
  3. Select Refresh (image 2)
  4. If you have NFO Files in the Album folder, you will be asked Locally stored information found. Ignore and refresh from Internet? (Image 3)
    • No- The data in the NFO File will be used to populate the library
    • Yes- The NFO File will be ignored and the scraper will download data from the online service. Local artwork is still used. Use Choose Art to change artwork


Remove Music

Removing music from the Kodi library works differently to removing a movie from the Video Library. Due to the virtual links between Artist-Album-Songs, it is not possible to remove items directly from the library. The following two methods are available.


Remove Source

The following allows you to remove one or more Sources. This will remove from the library all music contained in that source.

To remove a source, follow these steps:

  1. Select Music from the main menu
  2. Navigate to and enter Files as illustrated in Image 2
  3. Highlight the source to be removed
  4. Call up the Context Menu (Image 2)
  5. Select Remove source (Image 2)
  6. A confirmation prompt will display- Are you sure? Yes / No
    • Select Yes to remove the source
    • Select No to cancel the procedure
  7. If you selected Yes you will then be asked Do you want to remove all items within this path from your library?...
    • Yes- Will remove all songs from the library that were located in that source, and the associated Artists and Albums if they do not appear on any other source
    • No- Will keep the library listing of all music that was in that source.
      • Note: If you answered No but would now like to remove the items from the library...
        1. Re-add the Source following the directions above.
        2. Answer No when asked Do you want to add the media from this source to your library
        3. Follow these instructions to again remove the Source ensuring you select Yes to remove items from the library


Remove Individual Item

It is not possible to remove music from the library in the same way as you remove movies from the movie library of Kodi. If you need to remove a particular song, album or artist your options are as follows:

  1. Using the File Browser of your operating system, remove the music by either deleting it or moving it out of the Kodi Source folder. Then, within Kodi, run a Clean Library, or
  2. From within Kodi
    1. Enable the setting Allow file renaming and deletion
    2. Using Music>Files, locate and highlight the item to be deleted- either an individual song, Album or Artist
    3. From the context menu, select Delete. Be aware- This will delete the item(s) from your hard disk
    4. Run a Clean Library


Exclude

It is possible to exclude a particular song type (eg. mp3) or a folder from the Music Scan and Scraping process.


Exclude Song Types

With the use of the advancedsettings.xml file, you can limit the types of music files displayed.

Default extensions for MUSIC:

.nsv .m4a .flac .aac .strm .pls .rm .rma .mpa .wav .wma .ogg .mp3 .mp2 .m3u .gdm .imf .m15 .sfx
.uni .ac3 .dts .cue .aif .aiff .wpl .xspf .ape .mac .mpc .mp+ .mpp .shn .zip .wv .dsp .xsp .xwav
.waa .wvs .wam .gcm .idsp .mpdsp .mss .spt .rsd .sap .cmc .cmr .dmc .mpt .mpd .rmt .tmc .tm8
.tm2 .oga .url .pxml .tta .rss .wtv .mka .tak .opus .dff .dsf .m4b .dtshd

It is possible to add or remove extensions for Music, using the following XML tags. Useful if you keep, say, FLAC and mp3 versions of music in the same folder. The <remove> tag can be used to remove mp3 from being listed in the library, leaving only the higher quality FLAC being displayed.

<musicextensions>
  <add>.ex1|.ex2</add>
  <remove>.ex3|.ex4</remove>
</musicextensions>



Exclude Folder

It is possible to exclude certain folders, and the contents of those folders, from the scanning and scraping process as follows:

  1. Using the file browser of your operating system locate the folder to be excluded
  2. Inside the folder to be excluded, place an empty text file and name it as follows:
    • Windows systems- .nomedia.
      • Create an empty text file.
      • Rename the text file to the above name with the leading and trailing period.
      • Windows will notify you that changing the file extension will make the file unuseable. Accept this.
      • When Windows saves the name change, it will remove the last period and the new name will be .nomedia
    • All other systems- .nomedia
  3. Kodi will read the filename and ignore the folder and its contents



Return to top


Next step: NFO Files