diff options
-rwxr-xr-x | native-app/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native-app/index.js b/native-app/index.js index f6936e3..5e5e316 100755 --- a/native-app/index.js +++ b/native-app/index.js @@ -117,7 +117,7 @@ loadTracks().then(async () => { } for (const [key, track] of Object.entries(tracks)) { - const mode = targetMode.find(m => m.track === key) || {volume: 0}; + const mode = targetMode.find(m => sanitizeFilename(m.track) === key) || {volume: 0}; track.setVolume(track.volume + 0.02 * (mode.volume - track.volume)); } }, 20); |