bkev
New Member
Posts: 49
|
Post by bkev on Aug 23, 2022 10:55:47 GMT -5
Hi, Is there a way of filtering out or creating a smart playlist to filter out songs with explicit lyrics?
I've found a way of doing it on my computer where I can create a playlist where the lyrics tag does not include certain words.
Is there a way in GoneMad to do this?
|
|
|
Post by GoneMAD on Aug 23, 2022 13:21:30 GMT -5
There is not. Lyrics are not stored in the database and therefore not available to smart playlists
|
|
bkev
New Member
Posts: 49
|
Post by bkev on Aug 27, 2022 6:47:45 GMT -5
I think I've got a way around it. But, I'd like to change the metadata display songs with explicit in the title in a different way if it's possible?.
Is it possible to have something such as:
If track title contains the word "Explicit", show it in italic, or something like that? [$if(%tr%="Explicit", ["<align=left><typeface=sans-serif><size=16><i><b>%dn%-%tn%. %tr%","<align=right><typeface=sans-serif><size=16><i><b>%du%"], ["<align=left><typeface=sans-serif><size=16><b>%dn%-%tn%. %tr%","<align=right><typeface=sans-serif><size=16><b>%du%"])]
|
|
bkev
New Member
Posts: 49
|
Post by bkev on Sept 19, 2022 5:00:51 GMT -5
Is it possible to do something like this? With the metadata and change the font?
Example, if title contains the word explicit, change the font to italic?
|
|
|
Post by GoneMAD on Sept 19, 2022 8:40:20 GMT -5
the formatting / font size / color do not work with any of the functions. They only control the text that displays
|
|
bkev
New Member
Posts: 49
|
Post by bkev on Feb 3, 2023 8:29:45 GMT -5
So I now have song titles with the word "explicit" in them. I'd like to have a function in the metadata so if this exists, at the start of the name there is an "E" (like on Spotify etc) So, a normal song is this (where the song title is "Song Title"): %dn%-%tn%. %tr%
Explicit song (where the song title is "Song Title [Explicit]" E %dn%-%tn%. %tr%
But I can't get the expressions to work. I'm guessing it's me. I've tried to look at examples like this: $if($stricmp(%tr%,Explicit),E %dn%-%tn%. %tr%,%dn%-%tn%. %tr%)
But that also just lists E %dn%-%tn%. %tr%
Any pointers?
|
|
|
Post by GoneMAD on Feb 3, 2023 10:08:15 GMT -5
$stricmp(str1,str2) Performs a case-insensitive comparison of the strings str1 and str2. 0 is returned if equal
unless your track name is only "Explicit" with nothing else.. it will always return a value other than 0. you need
$strstr(str1,str2) Returns position of first occurrence of string str2 in string str1 or -1 if not found. Function is case-sensitive.
-1 would mean not explicit anything else would be explicity
|
|
bkev
New Member
Posts: 49
|
Post by bkev on Feb 3, 2023 12:22:49 GMT -5
Brilliant. This combined with the ifgreater command does exactly what I want. Thank you.
|
|