Thanks, the issue is not actually the script itself, problem is when we try to create filepath vars for the song the base folder seems to be set to a root folder and the code cannot keep with this, I wil have to issue a fix - https://jthink.atlassian.net/browse/SONGKONG-2721
Although not entirely sure why you are encountering this issue and I am not.
25/02/2025 18.18.01:CET:Errors:addError:SEVERE: Adding Error:Scripter Error 1, /Volumes/MP3-A/NR_004 flac/01 - No. 21 Und die Kriegsknechte flochten (Evangelista, Chorus, Pilatus, Jesus) - Flac.flac, Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getParent()" is null
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getParent()" is null
at com.jthink.songkong.analyse.scripter.MetadataScriptFields.addFields(MetadataScriptFields.java:38)
at com.jthink.songkong.analyse.scripter.ScriptProcessor.evaluateScript(ScriptProcessor.java:64)
at com.jthink.songkong.analyse.analyser.task.songsaver.ScripterSongSaver.processSong(ScripterSongSaver.java:51)
at com.jthink.songkong.analyse.analyser.task.songsaver.SongSaver.processSongs(SongSaver.java:805)
at com.jthink.songkong.analyse.analyser.task.songsaver.SongSaver.saveSongsToFile(SongSaver.java:1552)
at com.jthink.songkong.analyse.analyser.task.songsaver.SongSaver.saveChanges(SongSaver.java:270)
at com.jthink.songkong.analyse.analyser.task.songsaver.SongSaver.call(SongSaver.java:239)
at com.jthink.songkong.analyse.analyser.task.songsaver.SongSaver.call(SongSaver.java:93)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)