You can have the script edit the metadata of Artists, Albums, and Tracks by adding them to the metadata
mapping of a Metadata File.
An example of multiple metadata edits in a music library is below:
metadata:
"Linkin Park":
country: "United States of America"
album_sorting: newest
albums:
"Hybrid Theory":
originally_available: "2000-10-24"
tracks:
1:
rating: 5
"One Step Closer":
rating: 5
"Meteora":
originally_available: "2003-03-25"
album_sorting: newest
tracks:
9:
rating: 5
"Numb":
rating: 5
"Minutes To Midnight":
originally_available: "2007-05-14"
Each artist is defined by the mapping name which must be the same as the artist name in the library unless an alt_title
is specified.
To edit the metadata of a particular Album for an Artist use the albums
attribute on its artist.
The mapping name is the album name.
To edit the metadata of a particular Track on an Album use the tracks
attribute on its album.
The mapping name is the track number in that Album or the title of the Track.
The available attributes for editing artists, albums, and tracks are as follows
Name | Attribute | Allowed Values | Artists | Album | Tracks |
---|---|---|---|---|---|
Alternative Title | alt_title |
Alternative title to look for | ✔️ | ✔️ | ✔️ |
Albums | albums |
Mapping to define Albums | ✔️ | ❌ | ❌ |
Tracks | tracks |
Mapping to define Tracks | ❌ | ✔️ | ❌ |
- If you know of another Title your item might exist under, but you want it titled differently you can use
alt_title
to specify another title to look under and then be changed to the mapping name. For Example the ArtistKesha
used to be stylized asKe$ha
, and might still be found that way in Metadata results.This would change the name of the defaultmetadata: "Kesha": alt_title: "Ke$ha"
Ke$ha
toKesha
and would not mess up any subsequent runs. ``
Name | Attribute | Allowed Values | Artists | Album | Tracks |
---|---|---|---|---|---|
Sort Title | sort_title |
Text to change Sort Title | ✔️ | ✔️ | ✔️ |
Rating | rating |
Number to change Rating | ❌ | ✔️ | ✔️ |
Originally Available | originally_available |
Date to change Originally Available Format: YYYY-MM-DD |
❌ | ✔️ | ❌ |
Record Label | record_label |
Text to change Record Label | ❌ | ✔️ | ❌ |
Summary | summary |
Text to change Summary | ✔️ | ✔️ | ✔️ |
Track | track |
Text to change Track | ❌ | ❌ | ✔️ |
Disc | disc |
Text to change Disc | ❌ | ❌ | ✔️ |
Original Artist | original_artist |
Text to change Original Artist | ❌ | ❌ | ✔️ |
You can add .remove
to any tag attribute to only remove those tags i.e. genre.remove
.
You can add .sync
to any tag attribute to sync all tags vs just appending the new ones i.e. genre.sync
.
Name | Attribute | Allowed Values | Artists | Album | Tracks |
---|---|---|---|---|---|
Genre | genre |
List or comma-separated text of each Genre Tag | ✔️ | ✔️ | ❌ |
Collection | collection |
List or comma-separated text of each Collection Tag | ✔️ | ✔️ | ✔️ |
Label | label |
List or comma-separated text of each Label Tag | ❌ | ✔️ | ❌ |
Style | style |
List or comma-separated text of each Style Tag | ✔️ | ✔️ | ❌ |
Mood | mood |
List or comma-separated text of each Mood Tag | ✔️ | ✔️ | ✔️ |
Country | country |
List or comma-separated text of each Country Tag | ✔️ | ❌ | ❌ |
Similar Artist | similar_artist |
List or comma-separated text of each Similar Artist Tag | ✔️ | ❌ | ❌ |
Name | Attribute | Description | Allowed Values | Artists | Album | Tracks |
---|---|---|---|---|---|---|
URL Poster | url_poster |
Used to change the item's poster to the URL | URL of image publicly available on the internet | ✔️ | ✔️ | ❌ |
File Poster | file_poster |
Used to change the item's poster to the image in the file system | Path to image in the file system | ✔️ | ✔️ | ❌ |
URL Background | url_background |
Use to change the item's background to the URL | URL of image publicly available on the internet | ✔️ | ✔️ | ❌ |
File Background | file_background |
Used to change the item's background to the image in the file system | Path to image in the file system | ✔️ | ✔️ | ❌ |
All these attributes only work with Artists.
Name | Attribute | Allowed Values |
---|---|---|
Album Sorting | album_sorting |
default : Library defaultoldest : Oldest firstnewest : Newest firstname : Alphabetical |