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

30 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-11-29 16:45:31 +03:00
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).
2018-11-29 16:45:31 +03:00
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
Second column is the 'wrong' spelling
Third column the correct spelling. Use ␟ if the spelling should correct to several artists
2018-11-29 16:45:31 +03:00
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
replacetitle 첫 사랑니 (Rum Pum Pum Pum) Rum Pum Pum Pum
replaceartist Dal Shabet Dal★Shabet
replaceartist Stephen Rippy/Kevin McMullan Stephen Rippy␟Kevin McMullan
countas Trouble Maker HyunA