1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
maloja/rules/rules.info
2018-12-04 19:17:44 +01:00

34 lines
2.1 KiB
Plaintext

This folder can have any number of tsv files to group your rules
The first column defines the type of the rule:
notanartist Defines strings that can appear behind "feat" in a song title, but denote additional information about the track instead of another artist.
Second column is the string
belongtogether Defines an artist with an ampersand or other delimiter in their name. Otherwise, the artist string will be interpreted as two different artists (except when there are no spaces).
This artist will be accepted without further parsing. If you want to replace the spelling, you need a replaceartist entry instead
Second column is the full name of the artist
replacetitle Defines an alternative spelling of a track title that should be replaced.
Second column is the 'wrong' spelling
Third column the correct spelling
replaceartist Defines and alternative spelling of an artist that should be replaced
Any artist mentioned here will automatically be replaced, there is no need for a separate belongtogether entry
Second column is the 'wrong' spelling
Third column the correct spelling. Use ␟ if the spelling should correct to several artists
countas Defines an artist that should be counted together with another artist for chart statistics etc.
This will not change the separation in the database and all effects of this rule will disappear as soon as it is no longer active.
Second column is the artist
Third column the replacement artist / grouping label
Rules in non-tsv files are ignored. '#' is used for comments.
An example file could look like this:
notanartist In Dreams
belongtogether Darth & Vader
belongtogether AC/DC # / and ; separate even when there are no spaces, so make sure to add artists with those symbols
replacetitle 첫 사랑니 (Rum Pum Pum Pum) Rum Pum Pum Pum
replaceartist Dal Shabet Dal★Shabet
replaceartist Mr FijiWiji, AgNO3 Mr FijiWiji␟AgNO3 # one artist is replaced by two artists
replaceartist Selena Gomez & the Scene Selena Gomez & The Scene # note how there is a &, but we do not need an extra belongtogether entry.
countas Trouble Maker HyunA