I have several songs with some accents and I would like to remove them automatically instead of replacing text for each type of accent etc.
āăąēîïĩíĝġńñšŝśûůŷç … etc
As search in rekordbox is very limited in the players and controllers themselves.
Sorry My English
1 Like
There’s no easy way to do this currently but I think this could be good for a future recipe. I’ll look into this soon
1 Like
I leave here a small table with some letters that should be transformed
U+00Cx
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
U+00Dx
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
U+00Ex
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
U+00Fx
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ
Latin-1 Supplement - Wikipedia
As I like to help, I leave here a code in javascript to do this
function latinToAscii(text) {
text = text.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
const replacements = {
'æ': 'ae',
'Æ': 'AE',
'œ': 'oe',
'Œ': 'OE',
'ß': 'ss',
'ẞ': 'SS',
'đ': 'd',
'Đ': 'D',
'ø': 'o',
'Ø': 'O',
'þ': 'th',
'Þ': 'TH',
'ƒ': 'f',
'ª': 'a',
'º': 'o',
'№': 'No',
'℗': '(P)',
'™': '(TM)',
'©': '(C)',
'®': '(R)',
'µ': 'u',
'·': '.'
};
text = text.replace(/[^\u0000-\u007F]/g, char => replacements[char] || '');
return text;
}
Thanks, very awesome and super helpful!
1 Like
Next beta update will include a new recipe: Remove special characters
. Let me know how well it works and if it misses anything.
2 Likes
begbick
December 28, 2023, 4:57pm
6
hello - was this ever enabled? i do not see it. serato update and mac os has made this critical - i am having file errors copying files with diacriticals within serato. i do not see it under common fixes. THANK YOU!
Yes there is a recipe, but it does not change filename directly. You can let Lexicon also rename your files in a second step, see https://www.youtube.com/watch?v=Ti2P5JPLzSw