IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Prevent file renaming while transcoding, Need advise
AllEarsJunkie
post Feb 23 2014, 21:26
Post #1





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



Hi, all,

I am transcoding my AIFF library to FLAC format with XLD. I can't see any preference that would prevent the app from renaming files. Specifically, it adds the artist's name by inserting it between the track number and the track title. There must be some simple way to tell the app to leave the file name alone, but I can't find it. I would appreciate help with that. I am using the latest version of HLD on MacBook Pro running OSX Mountain Lion.

AllEars
Go to the top of the page
+Quote Post
JJZolx
post Feb 23 2014, 22:35
Post #2





Group: Members
Posts: 396
Joined: 26-November 04
Member No.: 18345



I don't use XLD, but could it be honoring a file naming convention set elsewhere in the options, perhaps the same one used for ripping?
Go to the top of the page
+Quote Post
AllEarsJunkie
post Feb 23 2014, 23:46
Post #3





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



Well, the CD Rip preference pane does not contain anything that would change the naming/renaming behaviour. There is a separate File Naming preference pane, though, which includes two alternatives: Default and Custom. The Default gives me as a result a file that is renamed. I have no idea how to use the Custom alternative.

Any more suggestions, please?

This post has been edited by AllEarsJunkie: Feb 23 2014, 23:50
Go to the top of the page
+Quote Post
JJZolx
post Feb 23 2014, 23:53
Post #4





Group: Members
Posts: 396
Joined: 26-November 04
Member No.: 18345



So, you've ruled that out, because you can't be bothered to figure out how "custom" works and then test it?
Go to the top of the page
+Quote Post
korth
post Feb 24 2014, 00:01
Post #5





Group: Members
Posts: 431
Joined: 13-March 11
Member No.: 88969



QUOTE (AllEarsJunkie @ Feb 23 2014, 22:46) *
I have no idea how to use the Custom alternative.

Any more suggestions, please?

You could try searching in the Hydrogenaudio Knowledgebase:
specifically XLD Configuration: File Naming tab

Edited for content

This post has been edited by korth: Feb 24 2014, 00:09


--------------------
korth
Go to the top of the page
+Quote Post
AllEarsJunkie
post Feb 24 2014, 01:09
Post #6





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



Hi, korth,

This was somewhat helpful, in that I now know the %t placeholder stands for the title of the song - which is fine. But adding the %n (track number), changes the original track number, which is replaced by the one assigned by XLD. If I don't use the %n placeholder at all, then no track number is written to the file's name (which means that I lose the track number from the original disc).

My goal is to retain the original name without altering it in any way. I only want to transcode the file format from AIFF to FLAC and embed the artwork. Is that possible with XLD?

This post has been edited by AllEarsJunkie: Feb 24 2014, 01:11
Go to the top of the page
+Quote Post
Porcus
post Feb 24 2014, 09:51
Post #7





Group: Members
Posts: 1842
Joined: 30-November 06
Member No.: 38207



Couldn't you use command line and -o to <oldfilename>.FLAC?


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
AllEarsJunkie
post Feb 24 2014, 22:44
Post #8





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



QUOTE (Porcus @ Feb 24 2014, 03:51) *
Couldn't you use command line and -o to <oldfilename>.FLAC?


Hi, Porcus,
This sounds so simple, but I am not a programmer/coder. Command line is a mystery to me. Could you elaborate just a little bit more? I never used Terminal before, so hand-holding would be much appreciated. Sorry for my ignorance...
Go to the top of the page
+Quote Post
korth
post Feb 25 2014, 20:51
Post #9





Group: Members
Posts: 431
Joined: 13-March 11
Member No.: 88969



QUOTE (AllEarsJunkie @ Feb 24 2014, 00:09) *
This was somewhat helpful, in that I now know the %t placeholder stands for the title of the song - which is fine. But adding the %n (track number), changes the original track number, which is replaced by the one assigned by XLD.

I don't have access to a working mac right now and it has been a while since I last used XLD but from what I remember if the metadata is correct then %n should be correct.
You could check 'Edit tags before convert' on the 'Metadata' tab. This will force XLD to stop and prompt you to review and edit the tags before the conversion. You should be able to fix the track numbers there.


--------------------
korth
Go to the top of the page
+Quote Post
Porcus
post Feb 25 2014, 22:25
Post #10





Group: Members
Posts: 1842
Joined: 30-November 06
Member No.: 38207



QUOTE (AllEarsJunkie @ Feb 24 2014, 22:44) *
QUOTE (Porcus @ Feb 24 2014, 03:51) *
Couldn't you use command line and -o to <oldfilename>.FLAC?


Hi, Porcus,
This sounds so simple, but I am not a programmer/coder. Command line is a mystery to me. Could you elaborate just a little bit more? I never used Terminal before, so hand-holding would be much appreciated. Sorry for my ignorance...


Well, I usually mess up command lines myself. And syntax differs from shell to shell ... I don't even know what the fruitware uses. And I cannot test the XLD syntax.

Maybe this is something for you: http://www.makeuseof.com/tag/max-the-multi...nverter-in-mac/


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
AllEarsJunkie
post Feb 25 2014, 23:01
Post #11





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



QUOTE (Porcus @ Feb 25 2014, 16:25) *

Yeah, I'll check it out. Thanks. In the meantime, maybe someone else, who uses XLD, could chip in with another advise? That would be great...
Go to the top of the page
+Quote Post
nu774
post Feb 26 2014, 03:12
Post #12





Group: Developer
Posts: 522
Joined: 22-November 10
From: Japan
Member No.: 85902



xld seems to support CLI interface. To convert foo.aif to foo.flac, something like the following should work:
CODE
xld -f flac -o foo.flac foo.aif

Converting multiple files keeping the directory hierarchy can be done like the following. It can be achieved by a relatively simple script, but it might be difficult if you have never used shells in the terminal:
CODE
#!/bin/sh
case $# in
2) SRCDIR="$1"
   DSTDIR="$2";;
*) echo usage: $0 SRCDIR DSTDIR 1>&2
   exit 1;;
esac
(cd "$SRCDIR" && find . -name '*.aif' -o -name '*.aiff') | while read FILE
do
    FILE="${FILE#./}"
    mkdir -p "${DSTDIR}/${FILE%/*}"
    xld -f flac -o "${DSTDIR}/${FILE%.*}.flac" "${SRCDIR}/${FILE}"
done

Go to the top of the page
+Quote Post
AllEarsJunkie
post Feb 27 2014, 00:58
Post #13





Group: Members
Posts: 9
Joined: 12-August 13
Member No.: 109570



QUOTE (nu774 @ Feb 25 2014, 21:12) *
Converting multiple files keeping the directory hierarchy can be done like the following. It can be achieved by a relatively simple script, but it might be difficult if you have never used shells in the terminal:

Thanks a lot! When I'll find the courage to mess around with the Terminal, I will certainly try your script. But I will also be on a lookout for some other application that does not force me to rename my audio files or to start a computer-science course in order to prevent it from altering the file's name. crying.gif

I'd like to thank all of you who tried to help me with this predicament...
Go to the top of the page
+Quote Post
Apesbrain
post Feb 27 2014, 03:22
Post #14





Group: Members
Posts: 482
Joined: 3-January 04
Member No.: 10915



You may want to give xACT a try:
http://xact.scottcbrown.org/
http://mac.softpedia.com/progScreenshots/x...nshot-3897.html
http://lifehacker.com/5804929/xact-is-a-li...ool-for-the-mac

Functionally, it looks like it does the same things as XLD but maybe its file naming conventions are closer to what you want.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th August 2014 - 04:26