JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10.01.2025, 00:37
SirJohnny SirJohnny is offline
Junior Loader
 
Join Date: Oct 2019
Posts: 14
Default How do I properly use callSync with parameters ?

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 ?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:24.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.