P.S.: I'm not really sure what to do with the copyleft stuff. Making this frontend was no rocket science, so I thought it would be easiest if I released the code and binaries in public domain (Creative Commons CC0 1.0 Universal Public Domain Dedication) but is that even possible, because the binaries include linked Visual Studio stuff I guess. (But then again, FLAC itself is using this MSVC stuff too, so it should be at least GPL compatible?)
We may argue about keeping the encoder window open when no error occured.
Indeed. I think it should remain open to check for issues like found foreign metadata (which are no error, just a warning) or just to view the statistics.
Ok. What about "Please press any key to close" ?
"FLAC frontend.exe is not a valid Win32 application." (XP 32-bit and 64-bit)
It's supposed to do that... The program just creates a BAT-file with a FLAC command and a PAUSE command, so it should display something like press any key to exit. Mine says "Druk op een toets om door te gaan...", which is the same phrase in Dutch. I don't know how it is possible you don't get one? :S
Indeed the "Any" key works but i don´t see the message. Only a blinking cursor below the last stats.
Well it starts in both versions of XP now. .NET 4.0 required (you may have been able to target an earlier version?).I'm going to have to play with my firewall rules to allow for the changing flacfrontend.bat file before I can run it again.
Quote from: Wombat on 07 March, 2013, 03:21:25 PMIndeed the "Any" key works but i don´t see the message. Only a blinking cursor below the last stats.That's weird. I'll investigate.
"chcp 65001" is in the batch
Well it starts in both versions of XP now. .NET 4.0 required (you may have been able to target an earlier version?).
As soon "chcp 65001" is in the batch i don´t see the message with PAUSE. German W7 here.
'chcp' is not recognized as an internal or external command, operable program or batch file, but skips over it.
@ECHO OFF(chcp 65001 >nul[i]<flac.exe or metaflac.exe command> [/i]ECHO Press any key to continue...PAUSE >nul)[b]AND[/b]@ECHO OFFchcp 65001 >nul && [i]<flac.exe or metaflac.exe command>[/i] && ECHO Press any key to continue... && PAUSE >nul
ktf,I've built a local copy of FLAC frontend.exe, adding the appropriate batch->WriteLine("("); or batch->WriteLine(")"); to Form1.h per my previous post so I could do some testing. FLAC frontend working fine now in XP32 and XP64 so far. Still working fine in WIN7 64.
- The only issue I have with the old Flac Frontend is with files that have apostrophes in them. It skips converting those files and I have to go back and rename them. New Flac Frontend does not have this problem. (I always assumed this was a scripting issue, didn't have this come up very often but I'm always aware of it).