Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#378 go.bat Improvements Needed

1.3.0
closed-out-of-date
Erik
None
5
2015-02-18
2011-03-29
Anonymous
No

On my system (W7 x64), the frontend completely fails to encode/decode files.

Here is an example of go.bat generated by the frontend:
--------------------------------------------
@echo off
win2dos "C:\FLAC\go.bat"
Z:
cd "Z:\somewhere\"
flac -V --replay-gain -6 "input.wav"
echo.
Tag.exe --auto --comment "Encoded by FLAC v1.1.4a with FLAC Frontend v1.7.1" "Z:\somewhere\input.flac"
--------------------------------------------

After it changes to the destination directory its attempts to execute flac.exe and tag.exe fail, since those programs don't exist there. I don't understand how this would ever work on any system...

Here is a fixed version:
--------------------------------------------
@echo off
win2dos "C:\FLAC\go.bat"
Z:
cd "Z:\somewhere\"
"C:\FLAC\flac" -V --replay-gain -6 "input.wav"
echo.
"C:\FLAC\Tag.exe" --auto --comment "Encoded by FLAC v1.1.4a with FLAC Frontend v1.7.1" "Z:\somewhere\input.flac"
--------------------------------------------

But why not just do this?
--------------------------------------------
@echo off
win2dos go.bat
flac -V --replay-gain -6 "Z:\somewhere\input.wav"
echo.
Tag.exe --auto --comment "Encoded by FLAC v1.1.4a with FLAC Frontend v1.7.1" "Z:\somewhere\input.flac"
--------------------------------------------

By the way, the frontend should really be writing this file to the temporary directory..

Discussion

  • Erik
    Erik
    2015-02-18

    • Group: --> 1.3.0
     
  • Erik
    Erik
    2015-02-18

    If this is still a problem with the 1.3.1 release, please re-open.

     
  • Erik
    Erik
    2015-02-18

    • status: open --> closed-out-of-date
    • assigned_to: Erik