Hydrogenaudio Forums

CD-R and Audio Hardware => CUETools => Topic started by: preservionist on 2019-04-14 12:27:00

Title: How to change the default output path?
Post by: preservionist on 2019-04-14 12:27:00
I haven't been able to find out how to change the default path. There's this post (https://hydrogenaud.io/index.php/topic,107121.0.html) but it doesn't ask the exact same question.

Instead of "C:\Users\user\Music\Converted\Artist\Album\Artist - Album.cue" I want to save to another drive by default and not always configure the path manually. I never store lossless music on C:.
Title: Re: How to change the default output path?
Post by: korth on 2019-04-14 12:46:18
In the template change %music%\ to D:\ (or the letter of your other drive)
Title: Re: How to change the default output path?
Post by: MrVideo on 2019-05-26 08:12:58
Along these lines, how do I get CUEtools to automatically set the output path to be the same as the input path of the cue sheet? In other words, I want the extracted flac tracks to be in the same location as the single flac/cue files.
Title: Re: How to change the default output path?
Post by: korth on 2019-05-26 13:49:28
In-place conversion (output of audio files to source directory) is on the list of requested features.
When you try to 'encode' with the output set to the source directory, if any new audio file would have the same filename as an existing file, you may see an error message "Source and destination audio file paths cannot be the same...". This occurs when you select "Audio Output: None" as well. Other files may be overwritten (.CUE, folder.jpg, etc).

I would suggest setting the output path to a new folder and moving the files after conversion. For example
[%directoryname%\]new\%filename%.cue
Title: Re: How to change the default output path?
Post by: MrVideo on 2019-05-27 03:28:16
I gather this request has been on the list forever. What is [%directoryname%\] set to, i.e. the directory path of the input?

I just did a test and [%directoryname%\] is incorrect. The "\" cannot be inside the "[]" characters. But, it is worse than that. All that happens is that a directory called "[%directoryname%]" is created in the last directory that I wrote to.
Title: Re: How to change the default output path?
Post by: korth on 2019-05-27 05:20:12
I just did a test and [%directoryname%\] is incorrect. The "\" cannot be inside the "[]" characters.
Sure it can. The "[]" characters just make it conditional on the existence of %directoryname%.
I can only assume you're doing something I didn't expect like selecting input at folder level.

Quote
But, it is worse than that. All that happens is that a directory called "[%directoryname%]" is created in the last directory that I wrote to.
? Unless you care to share how you changed the template...
SimplePortal 1.0.0 RC1 © 2008-2019