This is the first part of a 3 part introduction to Kodi's Music Database and expected tagging and media folder/file naming etc.
This is especially aimed at buyers of the 'QQ Special Edition Media Player'(Intel NUC) offered to members recently here on QQ.
I intend to create another series of posts to help new users do update few simple settings on their new Media Players (NUCs) like set their Media Folder location(s) (be it on external USB drives or elsewhere,) connect to wifi or ethernet, set the time zone, set their AVR capabilities, can it play Atmos etc).
This first thread is about understanding how to structure your media files, the minimum music tags required to use your files in Kodi and the additional tags for the Best Kodi UI (User Interface) Experience.
I have locked this thread, you cannot reply to this thread. Post on the other 'QQ Special Edition Media Player' threads if you have questions. Buyers can PM me. I will only answer by updating this thread for ALL users to access.
This thread will be the Self Help system for all QQ Special Edition Media Player buyers. By locking replies I can ensure the information here stays relevant and not subject to off topic conversations and casual observations.
Please take your time, re-read and ask questions if unsure. (I will probably do some edits over next week so please revisit, I'd like to add more screen sots to)
THX
Garry
PART 1: Tagging, Tags (and more Tags)
Intro:
Kodi has always stored media file information and metadata in a database (by default that's on the Kodi device, but it can be set to a NAS or server to be shared by multiple Kodi devices).
When viewing your Music media collection (albums, concert videos etc) in Kodi's UI, you are looking at a database view, not at folders and files. This makes for instant access to everything. The views are preconfigured but customisable and you get instant UI updates to switch from any view (Artists, albums, songs) etc and filter views by codec type: Atmos, Quad, etc Or by Recently added, Genre, Release Year, a release date range, combos of any of those "Rock albums in the Seventies' . OK. Got it, sounds good.
In addition, especially if you have a large music collection with multiple disc drives or NAS (server) shared folders. Kodi's database stores each file location. No more: "I want to play XXX album I have, the quad mix, oh, which disc is that on? I'll do a search and find it". Its just a simple instant search in Kodi and the album is playing or you select a track you want to hear. Simple.
Music Tagging/Metadata:
For music, metadata includes typical 'Tags' you see within FLAC and MP3 files, but it can extend to other uncommon tags stored with each file, or even stored in external XML (small text) files too.
(Tags are attributes or properties that are stored in each music file, and remain unchanged until they are edited by a Tag Editing program. They can be read by Media players too, of course)
The first rule to get the your music into Kodi's database is:
All your music files should be tagged with the following tags (the minimum tags to stop using folder/file navigation, it’s awful doing that):
An AlbumArtist can be different to a track's Artist (a Various Artists compilation: AlbumArtist = 'Various Artists' each track has a different track Artist. For the recent Elton John Atmos release on BDA: Elton is the AlbumArtist, it was released by him, but it includes a track where both Kikki Dee and Elton perform (they are both a track Artist). In the Kodi Artist Slideshow that plays during a song for that track users will see fan art images for both artists, not just Elton. (it also means you can find songs performed by Kikki Dee even though she is not on an album released by Kikki Dee. That's it in a nutshell.
Albums in Kodi:
At the simplest level, Kodi stores 'Albums' in its database by the tags: AlbumArtist + Album (the Album name/title). It does not look at a file's folder. Folders do not specify an album’s files in Kodi. It’s tagging.
But this also means that files in different folders with the same AlbumArtist and Album tags will be seen as the same single album. What the?
This feature allows a box set with 4 discs to be viewed in the UI as single release (album) but still users view and play by as individual Discs (view the tracks on each disc). This can be very useful for collectors that wish to preserve their boxsets after ripping to files. Yea, I play the original stereo mix.
A user can go to the album, then view and select a Disc and play it (just like you would do if you had all your discs on shelves). Alright! I want that, how does that work?
Kodi has an optional Tag named DiscSubTitle. If this tag has a non empty values Kodi is uses that text value as a Disc Name (Disc Title) and creates a 'Disc' for each unique value, So my tagging for Dark Side of the Moon Atmos rip I can create a Disc called 'Atmos mix' and another DSOTM album and set DiscSubTitle to '5.1 mix' or 'Alan Parsons Quad mix'. Its totally free form but its the DiscSubtitle matching values that group the tracks together to create discs in the Kodi UI. Using the DiscSubtitle tag is optional, and only is useful for multiple disc release.
For those that have media stored in multiple album folders (six versions of Dark Side of the Moon) on separate releases, you'll need re-tag the Album tag to differentiate: DSOTM (Quad LP), DSOTM (Atmos), DSOTM (1993 remaster) etc.
So there you are, go check your tags and add AlbumArtist if they are missing and change the Album tag to be different for each version of same album.
You can do that now before you new Kodi NUC is delivered.
Musicbrainz Tags (Optional):
Alternatively, you can use the exact same Album tag for all your DSOTM releases by adding Musicbrainz ID tags to differentiate the releases. Hang on, this seems too hard!
Musicbrainz is an open free online database with a huge number of releases from thousands of artists too. Every release has a unique Musicbrainz AlbumID, Kodi can use this ID to nail the exact disc release and will group song files into albums based on the AlbumID alone, the files can be anywhere on your system, it ignores each file's Album Tag, that's just the name of the album. MB AlbumID now rules how those files are grouped into albums , folders are only needed for humans to see them as albums and tag or replace them, move them around, back up etc etc. Kodi doesn't care, Kodi wants tags, it eats tags and digests them and turns them into UI magic.
Musicbrainz IDs have other major benefits:
Kodi can auto find artist (and album release) metadata and images from various websites on the internet, to view in the Kodi UI. Cool! I want that!
However, there are Artists with the same name or very similar names or Artist or AlbumArtist tags have spelling mistakes so Kodi cant find them online etc. Oh no! How does it know which one I want then?
The MusicBrainz ArtistID or AlbumArtistID does this. OK then, back in business!
Now ArtistID or AlbumArtistID are not required for all artists, but it helps with artists with same or similar names, spelling errors if Kodi can't find an artist. Its also a faster online Kodi metadata search. So if you see something missing for Metadata, images, chances are very high Kodi doesn't know the artist (cant find the exact matching Artist name in its searches) so add Musicbrainz IDs tags to resolve. How do I do that, seems like too much work?
How to add MusicBrainz ID tags:
Most tagging programs support tagging from the Musicbrainz online music database, and they are free!.
Just search and the tagging app tags all your album tracks with no user input if the albums already have tags, or if its a new rip, and not tagged, enter the AlbumArtist and Album title and its done, no more data entry than that, the entire album is tagged, track titles, genre,,release yesr etc and all files renamed etc and MusicBrainz ID are saved into the file's tags too, never to be done again.
Here is a typical Tagging apps Grid view of an albums tags: Note the AlbumArtist tag and DiscSubTitle tag fields, text boxes and MusicBrainzIDs to (auto entered by searching on the web). THis is MMH, all the tags vcan be added to the grid, the default shows the usual music tags used, but hidden columns (tags) do not affect editing in any way. You will notice 'album' tags are all the same value, track tags vary for each track:
Summary:
Don't panic, only do the minimum tags required above (AlbumArtist if missing and then edit Album tags if they are the same for different releases by the same AlbumArtist to get your music into the Kodi database.
You can always update some albums, with additional tags you wish to see, or add MusicBrainzs tags in small batches, over a few days or weeks. Ok. I'll do my Atmos album today, and my favourite 5.1s next weekend.
Tagging apps like Tagscanner (free) will load many albums into the same view at the same time and you can simply scroll down and find missing tags and fix. Yea, I've used that app, in the grid view missing tags stick out like dog's balls. Its a simple task.
Tagscanner is what I used for all my early tagging. I now use MMH, MMH also loads multiple albums into its 'Tag and Rename' tool's grid to view and tag. Both these apps get MusicBrainz IDs from online too.
MMH 9 with multiple Albums loaded (users can load all albums in sub-folders reclusively (fast): It is easy to see missing tags in this view from many albums, just scroll down and its obvious :
(Authors note: I should add a new Batch Tool to MMH 9 and auto reportsyour files that don't have an AlbumArtist tag, or when different folders contain the same AlbumArtist and Album tags). You would know what need to change within a few minutes or less)
NEXT UP:
Part 2: Kodi Music Folder Structures and Folder/File Naming (Artist metadata files & cover images too)
Click on this link to see what Musicbrainz finds when searching for Artist 'David Bowie':
https://musicbrainz.org/search?query=David+Bowie&type=artist&limit=25&method=indexed
When that comes up with a list of possible matching artists, click the first entry (The English singer), and see all his releases, this is the data Kodi can access from your tags. Click on an album to see all its Releases, click on a Release to see track details have a look around if you are curious.
This is especially aimed at buyers of the 'QQ Special Edition Media Player'(Intel NUC) offered to members recently here on QQ.
I intend to create another series of posts to help new users do update few simple settings on their new Media Players (NUCs) like set their Media Folder location(s) (be it on external USB drives or elsewhere,) connect to wifi or ethernet, set the time zone, set their AVR capabilities, can it play Atmos etc).
This first thread is about understanding how to structure your media files, the minimum music tags required to use your files in Kodi and the additional tags for the Best Kodi UI (User Interface) Experience.
I have locked this thread, you cannot reply to this thread. Post on the other 'QQ Special Edition Media Player' threads if you have questions. Buyers can PM me. I will only answer by updating this thread for ALL users to access.
This thread will be the Self Help system for all QQ Special Edition Media Player buyers. By locking replies I can ensure the information here stays relevant and not subject to off topic conversations and casual observations.
Please take your time, re-read and ask questions if unsure. (I will probably do some edits over next week so please revisit, I'd like to add more screen sots to)
THX
Garry
PART 1: Tagging, Tags (and more Tags)
Intro:
Kodi has always stored media file information and metadata in a database (by default that's on the Kodi device, but it can be set to a NAS or server to be shared by multiple Kodi devices).
When viewing your Music media collection (albums, concert videos etc) in Kodi's UI, you are looking at a database view, not at folders and files. This makes for instant access to everything. The views are preconfigured but customisable and you get instant UI updates to switch from any view (Artists, albums, songs) etc and filter views by codec type: Atmos, Quad, etc Or by Recently added, Genre, Release Year, a release date range, combos of any of those "Rock albums in the Seventies' . OK. Got it, sounds good.
![MenuWithSurroundNodes.png MenuWithSurroundNodes.png](https://cdn2.imagearchive.com/quadraphonicquad/data/attach/109/109139-MenuWithSurroundNodes.png)
In addition, especially if you have a large music collection with multiple disc drives or NAS (server) shared folders. Kodi's database stores each file location. No more: "I want to play XXX album I have, the quad mix, oh, which disc is that on? I'll do a search and find it". Its just a simple instant search in Kodi and the album is playing or you select a track you want to hear. Simple.
Music Tagging/Metadata:
For music, metadata includes typical 'Tags' you see within FLAC and MP3 files, but it can extend to other uncommon tags stored with each file, or even stored in external XML (small text) files too.
(Tags are attributes or properties that are stored in each music file, and remain unchanged until they are edited by a Tag Editing program. They can be read by Media players too, of course)
The first rule to get the your music into Kodi's database is:
All your music files should be tagged with the following tags (the minimum tags to stop using folder/file navigation, it’s awful doing that):
- Track Number (to sort first album file from last)
- Title (the song title so you will see that in the UI, you need that to choose a track)
- Artist (the Tracks main Artist, you can add multiples like: Elton John with Kiki Dee)
- AlbumArtist (this is the tag many non-Kod users don’t normally use)
An AlbumArtist can be different to a track's Artist (a Various Artists compilation: AlbumArtist = 'Various Artists' each track has a different track Artist. For the recent Elton John Atmos release on BDA: Elton is the AlbumArtist, it was released by him, but it includes a track where both Kikki Dee and Elton perform (they are both a track Artist). In the Kodi Artist Slideshow that plays during a song for that track users will see fan art images for both artists, not just Elton. (it also means you can find songs performed by Kikki Dee even though she is not on an album released by Kikki Dee. That's it in a nutshell.
Albums in Kodi:
At the simplest level, Kodi stores 'Albums' in its database by the tags: AlbumArtist + Album (the Album name/title). It does not look at a file's folder. Folders do not specify an album’s files in Kodi. It’s tagging.
But this also means that files in different folders with the same AlbumArtist and Album tags will be seen as the same single album. What the?
This feature allows a box set with 4 discs to be viewed in the UI as single release (album) but still users view and play by as individual Discs (view the tracks on each disc). This can be very useful for collectors that wish to preserve their boxsets after ripping to files. Yea, I play the original stereo mix.
A user can go to the album, then view and select a Disc and play it (just like you would do if you had all your discs on shelves). Alright! I want that, how does that work?
Kodi has an optional Tag named DiscSubTitle. If this tag has a non empty values Kodi is uses that text value as a Disc Name (Disc Title) and creates a 'Disc' for each unique value, So my tagging for Dark Side of the Moon Atmos rip I can create a Disc called 'Atmos mix' and another DSOTM album and set DiscSubTitle to '5.1 mix' or 'Alan Parsons Quad mix'. Its totally free form but its the DiscSubtitle matching values that group the tracks together to create discs in the Kodi UI. Using the DiscSubtitle tag is optional, and only is useful for multiple disc release.
For those that have media stored in multiple album folders (six versions of Dark Side of the Moon) on separate releases, you'll need re-tag the Album tag to differentiate: DSOTM (Quad LP), DSOTM (Atmos), DSOTM (1993 remaster) etc.
So there you are, go check your tags and add AlbumArtist if they are missing and change the Album tag to be different for each version of same album.
You can do that now before you new Kodi NUC is delivered.
Musicbrainz Tags (Optional):
Alternatively, you can use the exact same Album tag for all your DSOTM releases by adding Musicbrainz ID tags to differentiate the releases. Hang on, this seems too hard!
Musicbrainz is an open free online database with a huge number of releases from thousands of artists too. Every release has a unique Musicbrainz AlbumID, Kodi can use this ID to nail the exact disc release and will group song files into albums based on the AlbumID alone, the files can be anywhere on your system, it ignores each file's Album Tag, that's just the name of the album. MB AlbumID now rules how those files are grouped into albums , folders are only needed for humans to see them as albums and tag or replace them, move them around, back up etc etc. Kodi doesn't care, Kodi wants tags, it eats tags and digests them and turns them into UI magic.
Musicbrainz IDs have other major benefits:
Kodi can auto find artist (and album release) metadata and images from various websites on the internet, to view in the Kodi UI. Cool! I want that!
However, there are Artists with the same name or very similar names or Artist or AlbumArtist tags have spelling mistakes so Kodi cant find them online etc. Oh no! How does it know which one I want then?
The MusicBrainz ArtistID or AlbumArtistID does this. OK then, back in business!
Now ArtistID or AlbumArtistID are not required for all artists, but it helps with artists with same or similar names, spelling errors if Kodi can't find an artist. Its also a faster online Kodi metadata search. So if you see something missing for Metadata, images, chances are very high Kodi doesn't know the artist (cant find the exact matching Artist name in its searches) so add Musicbrainz IDs tags to resolve. How do I do that, seems like too much work?
How to add MusicBrainz ID tags:
Most tagging programs support tagging from the Musicbrainz online music database, and they are free!.
Just search and the tagging app tags all your album tracks with no user input if the albums already have tags, or if its a new rip, and not tagged, enter the AlbumArtist and Album title and its done, no more data entry than that, the entire album is tagged, track titles, genre,,release yesr etc and all files renamed etc and MusicBrainz ID are saved into the file's tags too, never to be done again.
Here is a typical Tagging apps Grid view of an albums tags: Note the AlbumArtist tag and DiscSubTitle tag fields, text boxes and MusicBrainzIDs to (auto entered by searching on the web). THis is MMH, all the tags vcan be added to the grid, the default shows the usual music tags used, but hidden columns (tags) do not affect editing in any way. You will notice 'album' tags are all the same value, track tags vary for each track:
![MusicTagging.png MusicTagging.png](https://cdn2.imagearchive.com/quadraphonicquad/data/attach/109/109140-MusicTagging.png)
Summary:
Don't panic, only do the minimum tags required above (AlbumArtist if missing and then edit Album tags if they are the same for different releases by the same AlbumArtist to get your music into the Kodi database.
You can always update some albums, with additional tags you wish to see, or add MusicBrainzs tags in small batches, over a few days or weeks. Ok. I'll do my Atmos album today, and my favourite 5.1s next weekend.
Tagging apps like Tagscanner (free) will load many albums into the same view at the same time and you can simply scroll down and find missing tags and fix. Yea, I've used that app, in the grid view missing tags stick out like dog's balls. Its a simple task.
Tagscanner is what I used for all my early tagging. I now use MMH, MMH also loads multiple albums into its 'Tag and Rename' tool's grid to view and tag. Both these apps get MusicBrainz IDs from online too.
MMH 9 with multiple Albums loaded (users can load all albums in sub-folders reclusively (fast): It is easy to see missing tags in this view from many albums, just scroll down and its obvious :
![MMHMultiplAlbums.png MMHMultiplAlbums.png](https://cdn2.imagearchive.com/quadraphonicquad/data/attach/109/109141-MMHMultiplAlbums.png)
(Authors note: I should add a new Batch Tool to MMH 9 and auto reportsyour files that don't have an AlbumArtist tag, or when different folders contain the same AlbumArtist and Album tags). You would know what need to change within a few minutes or less)
NEXT UP:
Part 2: Kodi Music Folder Structures and Folder/File Naming (Artist metadata files & cover images too)
Click on this link to see what Musicbrainz finds when searching for Artist 'David Bowie':
https://musicbrainz.org/search?query=David+Bowie&type=artist&limit=25&method=indexed
When that comes up with a list of possible matching artists, click the first entry (The English singer), and see all his releases, this is the data Kodi can access from your tags. Click on an album to see all its Releases, click on a Release to see track details have a look around if you are curious.
Last edited: