Skip to main content
Topic: Colon for lyrics (Read 426 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Colon for lyrics

Is there a way to show colon for lyrics (present in song or no)? I try something like "[%lyrics%]" but doesn't work.

 

Re: Colon for lyrics

Reply #1
Column?

Re: Colon for lyrics

Reply #2
Hi there,

I believe the lyrics / unsynced lyrics fields are not cached to memory to save on resources. You might have to edit the LargeFieldsConfig.txt file in foobar install folder to display the fields.

(I think so though I've never tested that myself, I save lyrics to external text files rather than tags)

However, if you just want a Yes / No test for a playlist column -

Code: [Select]
$if(%lyrics%,Yes,No)

(That should work without changing LargeFieldsConfig.txt)

Cheers ;)

Re: Colon for lyrics

Reply #3
Hm, i deleted fieldSpam=lyrics, but it doesn't help. Also changed to fieldBasic=lyrics.



Re: Colon for lyrics

Reply #6
I have been using something similar for a while. The LargeFieldsConfig.txt has the following changes:
basicMetaMax=8192    (to handle some longer lyrics: if this size is exceeded the field is not truncated but empty)
fieldBasic=lyrics
fieldBasic=unsynced lyrics
make sure to remove corresponding entries from the fieldSPam list

The field content formula is as follows:
Code: [Select]
$ifgreater($len(%lyrics%%unsynced lyrics%),20, $char(10003),$ifequal($strstr($lower($trim(%lyrics%%unsynced lyrics%)),instrumental),1,$char(12288)$char(9835),))

This indicates presence of either %lyrics% or %unsynced lyrics% by displaying a tick when the combined length is > 20 characters.
Additionally it will display a note character when the lyrics content is 'Instrumental'. I use this in the SimPlaylist which for some reason in my installation does not display the note character on its own, thus the hack to preceed it by a "fake space".


Re: Colon for lyrics

Reply #7

Code: [Select]
$ifgreater($len(%lyrics%%unsynced lyrics%),20, $char(10003),$ifequal($strstr($lower($trim(%lyrics%%unsynced lyrics%)),instrumental),1,$char(12288)$char(9835),))


Thanks. Doesn't show note character for me too.

 
SimplePortal 1.0.0 RC1 © 2008-2019