PDA

View Full Version : No GUI when using GoConversion to convert multiple files



Johan Hendriks
10-03-2008, 09:01 AM
In previous versions of dBpoweramp, calling GoConversion() showed the "Convert Files" window that enables the user to make conversion settings before converting the files that were added by AddFromToFiles(). But after I upgraded to version 12.3 the GUI doesn't appear anymore. Is this the current behaviour? Or can I still choose to show the GUI - but how?

Spoon
10-03-2008, 11:03 AM
Yes, your code call coreconverter.exe which has no GUI.

J.C. Hendriks
10-06-2008, 11:09 AM
I see, thanks for your reply. So the GUI is not available anymore for GoConversion().

Instead, I wrote my own routine with the Convert() function, having composed a GUI myself. But I wonder how to figure out the correct target filename extension (like .mp3, .wav) that belongs to the codec that was chosen by the user during ShowSettings() ??? If the user chose, let's say, the Lame encoder, I should be able to give the target file the correct extension (.mp3) programmatically. But how .... ?

Spoon
10-07-2008, 04:59 AM
You would have to create a table.