regorxxx / Playlist-Tools-SMP

A collection of Spider Monkey tools for foobar2000: from removing duplicates, to dynamic queries or "spotify-like" playlist creation.
https://regorxxx.github.io/foobar2000-SMP.github.io/scripts/playlist-tools-smp/
GNU Affero General Public License v3.0
40 stars 6 forks source link

Property value is wrong #21

Closed stephen147 closed 1 year ago

stephen147 commented 1 year ago

Describe the bug Done a fresh install of SMP and get this error. Using Foobar v2.1 preview build.

Property value is wrong. Using default value as fallback:
'Duplicates RegExp title matching?'

Wrong value: true

Replaced with: %RATING%|$ifgreater($strstr($lower(%GENRE%', '%STYLE%', '%FOLKSONOMY%),live),0,0,1)|$ifgreater($if2($strstr($lower(%GENRE%', '%STYLE%', '%FOLKSONOMY%),instrumental),$strstr($lower(%LANGUAGE%),zxx)),0,0,1)

Value obey this condition: function isStringWeak(str){
    return (typeof str === 'string') ? true : false;
}

To Reproduce Steps to reproduce the behavior:

  1. Done a fresh install
  2. Removed the old toolbar for good measure and loaded the .js file in the root folder xxx-scripts

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

regorxxx commented 1 year ago

Fixed.