Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Temporarily Disable Lyric Search to save on Data costs (Read 279 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Temporarily Disable Lyric Search to save on Data costs

Is there any way to temporarily disable the lyric search for when streaming audio/radio stations so as to primarily save on data costs searching for lyrics that don't exist (like for example, strictly radio stations, non-vocal audio streaming, etc.)?

Re: Temporarily Disable Lyric Search to save on Data costs

Reply #1
@veksha
has suggested pasting this in the search filter settings of lyric component advanced settings
$strcmp($left(%path%,4),http)

So far, seems to work. Still trying it out. I wonder what the code means though? And it appears to reverse the functionality (to return the component back to normal), just remove the filter
Some smart people around here.

Re: Temporarily Disable Lyric Search to save on Data costs

Reply #2
empty filter = no filter.
code means: look if %path% has "http" as first 4 characters. for streams it is TRUE, so the expression will return 1. this will enable filter.
for other files this expression will return 0 and this will disable filter.


Re: Temporarily Disable Lyric Search to save on Data costs

Reply #3
Hi there,

I wonder what the code means though?
I see you have the answer already, but for the curious you can have a look at foobar Help menu > Title Formatting Help to read what the functions do, if you like. There is also the more complete wiki page: Title Formatting Reference.

Cheers

 
SimplePortal 1.0.0 RC1 © 2008-2021