Multimedia - Music Library Naming and Tagging

From PiRho Knowledgebase
Jump to navigationJump to search

There is a fundamental difference between video library operation and the music library operation:

  • The video library is based on using the filenames or folder names to obtain online data. If they are incorrectly named, then there are no scraper results and there will be no library entry.
  • The music library is based on scanning tags embedded in the music files. It ignores the folder names and structure and file names. Proper tagging is essential to ensure the library is populated correctly. Having slight variations in the tags for artist and album names could mean duplicated and unwanted entries.

Naming

A sensible folder hierarchy and file naming convention makes it easier to manage a music collection.

Library ( / Genre ) / AlbumArtist / ( Year - ) Album ( / DiscNumber ( - DiscSubtitle ) ) / TrackNumber - ( Artist - ) Title

The diagram below is an example. You should group your albums in a manner that makes sense to you.

  • Songs from the same album should be in the one folder
  • If there is more than one disk in the release, each disk should be in a sub-folder containing the songs from that disk

The following is a typical folder structure:

M:\
├───Audiobooks
├───Live Radio
├───Music
│   ├───Madonna   ........................(AlbumArtist)
│   │   ├───1999 - Beautiful Stranger   ......(Year - Album)
│   │   │   ├───01 - Song 1   ....................(TracNumber - Title)
│   │   │   ├───02 - Song 2
│   │   │   └───03 - Song 3, etc
│   │   └───1994 - Bedtime Stories   .........(Year - Album)
│   │       ├───Disc 01   ........................(DiscNumber)
│   │       │   ├───01 - Song 1   ....................(TracNumber - Title)
│   │       │   ├───02 - Song 2
│   │       │   └───03 - Song 3, etc
│   │       └───Disc 02   ........................(DiscNumber)
│   │           ├───01 - Song 1   ....................(TracNumber - Title)
│   │           ├───02 - Song 2
│   │           └───03 - Song 3, etc 
│   ├───Simply Red   .....................(AlbumArtist)
│   │   └───Picture Book   ...................(Album)
│   │       ├───01 - Song 1   ....................(TracNumber - Title)
│   │       ├───02 - Song 2
│   │       └───03 - Song 3, etc
│   └───Various Artists
│       └───Jazz Cafe   ......................(Album)
│           ├───Disc 01 - Cool Jazz   ............(DiscNumber - DiscSubtitle)
│           │   ├───01 - Billie Holiday - Song 1   ...(TracNumber - Artist - Title)
│           │   ├───02 - Nat 'King' Cole - Song 2
│           │   └───03 - Louis Armstrong - Song 3, etc
│           └───Disc 02 - Jazz Cafe Hot
│               ├───01 - Tony Bennett - Song 1   .....(TracNumber - Artist - Title)
│               ├───02 - Frank Sinatra - Song 2
│               └───03 - Ella Fitzgerald - Song 3, etc
├───Music Videos
└───Radio Programmes

The folder hierarchy and file naming convention outlined above gives the most pertinent information without needing to view the metadata tags.

Tagging

The tags listed below reflect the information conveyed by the folder hierarchy and file naming convention outlined above.

Caption text
Description .flac .mp3 .m4a .wma
Genre GENRE TCON \251gen WM/Genre
Album Artist ALBUMARTIST or ALBUM ARTIST TPE2 or ALBUMARTIST or ALBUM ARTIST aART WM/AlbumArtist
Year YEAR TYER \251day WM/Year
Album ALBUM TALB \251alb WM/AlbumTitle
Disc Number DISCNUMBER TPOS disk disk
Disc Subtitle DISCSUBTITLE TSST ----:com.apple.iTunes:DISCSUBTITLE WM/SetSubTitle
Track Number TRACKNUMBER TRCK trkn WM/TrackNumber or WM/Track
Artist ARTIST TPE1 \251ART Author
Track Title TITLE TIT2 \251nam

There are many more metadata tags available which can be used to include additional useful information.
Reference: [Kodi: Music tagging]