by freelifenow » Fri Mar 18, 2022 5:04 am
Hello,
my music is often downloaded from youtube and the titles have a lot of unused information like :
"(Audio)", "(audio)", "(AUDIO)", "(Official Audio)", "Lyrics", "LYRICS", "Lyric", "LYRIC", "(lyrics)", "(music video)", "(music Video)", "(Music video)", "(Music Video)", "(Lyric Video)", "(Video)", "(video)", "(ON VIDEO)","(Official Video)", "(Official)", "(Original Video)", "(Extended Version)", "(Lyric Video)", "(offizielles Musikvideo)" etc.
On base of the fixcharacters addon, I use an array and a loop, to remove this text, remove the actors and some other details. After many hours of programming, try & error it works well. (JavaScript is not my prefered language
![:evil:](./images/smilies/icon_evil.gif)
) ...
My Questions:
1.) There was now way, to use multidemeinsionale arrays like abc[x,y] - has mm5 a restriction in this case ?
2.) I havn´t found a way, to load the text to be changed from an ASCII-File into an array in the addon to become flexible - is the "mm5 javascript syntax" limited or can the whole normal functions of js can be used ?
There are a few other addons, I had programmed (in a lot of tea-times), but they are individual and have german explinations, so you wouldn´t understand them. I think, it wouldn´t be helpful to upload them.
Thanks for any tipps & tricks
Gerorge
Hello,
my music is often downloaded from youtube and the titles have a lot of unused information like :
"(Audio)", "(audio)", "(AUDIO)", "(Official Audio)", "Lyrics", "LYRICS", "Lyric", "LYRIC", "(lyrics)", "(music video)", "(music Video)", "(Music video)", "(Music Video)", "(Lyric Video)", "(Video)", "(video)", "(ON VIDEO)","(Official Video)", "(Official)", "(Original Video)", "(Extended Version)", "(Lyric Video)", "(offizielles Musikvideo)" etc.
On base of the fixcharacters addon, I use an array and a loop, to remove this text, remove the actors and some other details. After many hours of programming, try & error it works well. (JavaScript is not my prefered language :evil: ) ...
My Questions:
1.) There was now way, to use multidemeinsionale arrays like abc[x,y] - has mm5 a restriction in this case ?
2.) I havn´t found a way, to load the text to be changed from an ASCII-File into an array in the addon to become flexible - is the "mm5 javascript syntax" limited or can the whole normal functions of js can be used ?
There are a few other addons, I had programmed (in a lot of tea-times), but they are individual and have german explinations, so you wouldn´t understand them. I think, it wouldn´t be helpful to upload them.
Thanks for any tipps & tricks
Gerorge