i am trying to use exiftool to change the metadata of an audio file from youtube but i am misunderstaning how to use callSync.
Using the command line:
Code:
"C:/ExifTool/exiftool.exe" -artist="New Artist" -albumartist="New Participating Artist" -title="NewTtitle" -overwrite_original "SomeAudio.mp3"
On the eventscipter i have tried to follow this example:
Code:
var program = ["C:\ExifTool\exiftool.exe"];
var parameters = ["paremeter1", "parameter2", "paremeter..."].join(",");
var file = getPath(link.downloadPath);
callSync(program, parameters, file);
Could you clarify how the parameters variable work or point me to some documentation about callsync ?