IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Configuring EAC per AutoFLAC—invalid file name/parameters not accepted, Was: Configuring Exact Audio Copy (TOS #6)
henrytheking
post Oct 14 2011, 02:16
Post #1





Group: Members
Posts: 2
Joined: 12-October 11
Member No.: 94303



As I was configuring Exact Audio Copy before running AutoFlac, the syntax %I\%A\%C\%N-%T was declared invalid file name. That was done according to the AutoFlac readme file procedure. I got no chance to test the other syntax %I\Various Artists\%C\%N-%A - %T.

Advice is needed.
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 12:05
Post #2





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



I have the self same problem. EAC would also not accept the parameters for FLAC advise by the AUTOFLAC readme. Did you get anywhere?

This post has been edited by db1989: Nov 22 2011, 12:15
Reason for edit: removing unnecessary full quote of above post
Go to the top of the page
+Quote Post
db1989
post Nov 22 2011, 12:15
Post #3





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



Which version of EAC did each of you use? That would have been pertinent information to supply! Particularly because the placeholder syntax was altered recently, whereas the example above is using the previous version thereof.

The source and destination placeholders were changed from %s and %d to %source% and %dest%

Which flags can I use in the external compression scheme “User Defined MP3 Encoder”?

For versions from 1.0 beta 2 on (some placeholders might only be available in the latest version!)

%source% – Source filename
%dest% – Destination filename
%original% – Original filename (without temporary renaming)

%ishigh%…%ishigh% – Text “…” only when “High quality” selected
%islow%…%islow% -Text “…” only when “Low quality” selected
%haslyrics%…%haslyrics% – Text “…” only when lyrics exist
%hascover%…%hascover% – Text “…” only when storing cd cover is enabled and cover exists
%crcenabled%…%crcenabled% – Text “…” only when “CRC checksum” selected

%title% – Track title
%genre% – MP3 music genre
%year% – Year
%cddbid% – freedb ID
%artist% – Track artist
%lyrics% – Lyrics
%lyricsfile% – Filename of lyrics text file (ANSI)
%bitrate% – Bitrate (“32″..”320″)
%comment% – Comment (as selected in EAC)
%tracknr% – Track number (same as %tracknr2%)
%tracknr1% – Track number (at least 1 digit)
%tracknr2% – Track number (at least 2 digits)
%tracknr3% – Track number (at least 3 digits)
%totalcds% – Total number of CDs in the given CD set
%cdnumber% – Number of the CD
%composer% – Track performer
%trackcrc% – CRC of extracted track
%coverfile% – Filename of CD cover image
%numtracks% – Number of tracks on album
%albumtitle% – CD title
%albumartist% – CD artist
%albumcomposer% – CD composer
%albuminterpret% – CD performer

%% – The ‘%’ character


This post has been edited by db1989: Nov 22 2011, 12:18
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 13:04
Post #4





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



Apologies - the version of EAC I am trying to configure is 1.00 beta 3. Would this apply to the FLAC parameters as well?

Is there an updated readme?

This post has been edited by db1989: Nov 22 2011, 13:09
Reason for edit: as in post #2
Go to the top of the page
+Quote Post
db1989
post Nov 22 2011, 13:13
Post #5





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



QUOTE (voles @ Nov 22 2011, 12:04) *
Apologies - the version of EAC I am trying to configure is 1.00 beta 3. Would this apply to the FLAC parameters as well?

Yes, the change took effect in 1.0b2, so it applies to all versions thereafter and all command lines therein.

QUOTE
Is there an updated readme?

For AutoFLAC? You’d have to investigate this at its official source.

In the meantime, you could consult our Knowledgebase: EAC and FLAC.
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 13:15
Post #6





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



OK Thanks - I will try to decode it and post the results if positive...

This post has been edited by db1989: Nov 22 2011, 13:25
Reason for edit: guess
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 13:43
Post #7





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



So %A = %artist
%C = %Composer
%N = %Track Number
%T = %Track

But what does %I relate to? - ID3 type originally but what is the equivalent?

Haven't started on the FLAC parameters yet...

This post has been edited by db1989: Nov 22 2011, 14:08
Go to the top of the page
+Quote Post
db1989
post Nov 22 2011, 14:08
Post #8





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



Since it apparently was not clear enough from my edits, I ask that you please take the few seconds required to delete automatically generated quotations from your posts, rather than wasting massive amounts of screen space.

QUOTE
So %A = %artist
%C = %Composer
%N = %Track Number
%T = %Track
No:
%A = %artist%
%C = %composer%
%N = %tracknr%
%T = %title%

QUOTE
But what does %I relate to? - ID3 type originally but what is the equivalent?
Like all of the above, this information is readily available in the same FAQ:
QUOTE
%i – Filename of CD cover image

%coverfile% – Filename of CD cover image

Others can only be of help to a certain point; for the rest, you should take the time to read the documentation and previous threads.
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 14:37
Post #9





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



Thanks - yes I will continue to root around. The problem with the FAQ is that it just lists the new parameters whereas I (and perhaps others) require a 'Rosetta stone' table giving the old parameters and their new equivalents...
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 15:18
Post #10





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



Well I have actually tried cutting and pasting examples from the FAQ and I am still getting 'invalid filename"!
Go to the top of the page
+Quote Post
db1989
post Nov 22 2011, 15:43
Post #11





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



QUOTE (voles @ Nov 22 2011, 13:37) *
Thanks - yes I will continue to root around. The problem with the FAQ is that it just lists the new parameters whereas I (and perhaps others) require a 'Rosetta stone' table giving the old parameters and their new equivalents...

Place bets now as to whether I did this mainly to (i) obviate future bafflement, (ii) create something that probably should have already existed, or (iii) procrastinate away actual responsibilities!

http://wiki.hydrogenaudio.org/index.php?ti...AC_placeholders

Those with a better (read: existent) grasp of wiki markup and/or better ideas for the arrangement of the table are free to attempt its improvement. Also, feel free to place links to the new page at appropriate points in other pages (something I might [might!] look into later).

QUOTE (voles @ Nov 22 2011, 14:18) *
Well I have actually tried cutting and pasting examples from the FAQ and I am still getting 'invalid filename"!

Without basic information such as the command line and placeholders that you used, no one can really guess at this.

This post has been edited by db1989: Nov 22 2011, 15:53
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 16:31
Post #12





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE
Without basic information such as the command line and placeholders that you used, no one can really guess at this.


Fair comment.

Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 17:01
Post #13





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



The table helps - thank you. I am assuming that the syntax is the unchanged, apart from the need to frame the placeholders with '%' and furthermore that the parameters are not case specific - therefore

%I\%A\%C\%N-%T in old money should equate to %coverfile%\%artist%\%crcenabled%\%tracknr%-%title% in new...

Doesn't work of course. I can't really understand the need for 'coverfile' or 'crcenabled' in this context either. I have worked out that EAC doesn't like '\' in these positions which may be the root cause. However the real problem seems to be with Autoflac and their readme being 2 versions out of date!

Could you possibly do me and possibly others an enormous favour and 'translate'

-> Filename
-> Set "Naming scheme" to: %I\%A\%C\%N-%T
Set various artist naming scheme to: %I\Various Artists\%C\%N-%A - %T

-> External Compression
Set "Additional command line options to: --best -T "ARTIST=%a" -T "TITLE=%t" -T "ALBUM=%g" -T "DATE=%y" -T "TRACKNUMBER=%n" -T "GENRE=%m" %s

thanks for your patience anyway.

This post has been edited by voles: Nov 22 2011, 17:05
Go to the top of the page
+Quote Post
lvqcl
post Nov 22 2011, 17:19
Post #14





Group: Developer
Posts: 3382
Joined: 2-December 07
Member No.: 49183



QUOTE (voles @ Nov 22 2011, 20:01) *
%I\%A\%C\%N-%T in old money should equate to %coverfile%\%artist%\%crcenabled%\%tracknr%-%title% in new...

Doesn't work of course.


I assume that's because you didn't change "Additional command line options" too.
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 17:43
Post #15





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE
I assume that's because you didn't change "Additional command line options" too.


That option does not appear on the 'filename' dialog.

This post has been edited by voles: Nov 22 2011, 17:44
Go to the top of the page
+Quote Post
lvqcl
post Nov 22 2011, 17:52
Post #16





Group: Developer
Posts: 3382
Joined: 2-December 07
Member No.: 49183



so what?

EAC > Compression Oprtions...
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 18:01
Post #17





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE (lvqcl @ Nov 22 2011, 16:52) *
so what?

EAC > Compression Options...



The compression options were accepted OK after translation. If anyone else is interested I changed it to:

--best -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T "TRACKNUMBER=%tracknr%" -T "GENRE=%genre%" %source%
Go to the top of the page
+Quote Post
Ouroboros
post Nov 22 2011, 18:54
Post #18





Group: Members
Posts: 291
Joined: 30-May 08
From: UK
Member No.: 53927



I didn't think that the original %C should be translated to either %composer% or %crcenabled% - I'm fairly certain it should be translated to %albumtitle%
Go to the top of the page
+Quote Post
voles
post Nov 22 2011, 19:10
Post #19





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE (Ouroboros @ Nov 22 2011, 17:54) *
I didn't think that the original %C should be translated to either %composer% or %crcenabled% - I'm fairly certain it should be translated to %albumtitle%


You are correct - I have sussed it now. The trick is to look at the key in the dialog for the old version of EAC against the new.

%T - %title%
%N - %tracknr2%, %tracknr3% etc.
%A - %artist%
%C - %albumtitle%
%I - %genre%
%B - %cddbtype%
%D - %albumartist%

So %I\%A\%C\%N-%T = %genre%\%artist%\%albumtitle%\%tracknr2%-%title%
and %I\Various Artists\%C\%N-%A - %T = %genre%\Various Artists\%albumtitle%\%tracknr2%-%artist% - %title%

Hope that helps someone else.


voles
Go to the top of the page
+Quote Post
db1989
post Nov 22 2011, 22:38
Post #20





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



QUOTE (voles @ Nov 22 2011, 16:01) *
%I\%A\%C\%N-%T in old money should equate to %coverfile%\%artist%\%crcenabled%\%tracknr%-%title% in new...

Doesn't work of course.
QUOTE (voles @ Nov 22 2011, 18:10) *
QUOTE (Ouroboros @ Nov 22 2011, 17:54) *
I didn't think that the original %C should be translated to either %composer% or %crcenabled% - I'm fairly certain it should be translated to %albumtitle%
You are correct - I have sussed it now. The trick is to look at the key in the dialog for the old version of EAC against the new.

Wait, so the placeholders listed on the EAC FAQ don’t strictly correspond with reality? Good grief! There I was thinking I could just arrange the two tables nicely side-by-side. wacko.gif If someone with more recent experience of EAC feels up to having a go at sorting that, please do.

Edit: Ahhh, wait; we’re dealing with file naming placeholders, which—I’ve just remembered—, in a stunning demonstration of user-friendliness, differ from those for metadata. I guess I’ll add those to the table, but it’ll have to wait until later (unless someone else is feeling generous and/or sufficiently bored wink.gif). Sorry about that, and I wish I’d remembered it sooner, but I hope I can be forgiven in light of its illogicality!

This post has been edited by db1989: Nov 22 2011, 22:46
Go to the top of the page
+Quote Post
voles
post Nov 23 2011, 01:04
Post #21





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE
I hope I can be forgiven in light of its illogicality!


Of course. It is illogical. Thanks for trying.
Go to the top of the page
+Quote Post
db1989
post Nov 23 2011, 12:38
Post #22





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



Right! My penance for my absurdly large oversight in this thread (i.e. missing the [admittedly baffling] distinction between encoding and file-naming placeholders pre-1.0b2) has, I hope, been completed with this update: http://wiki.hydrogenaudio.org/index.php?ti...AC_placeholders

There are a few things I’m not sure about:
  • Some fields the FAQ did not list as encoding placeholders but did list as file naming placeholders; are these usable in the command-line, too?
  • According to the FAQ, 1.0b2 can parse %tracknr% in the command-line but not when naming files, meaning that %tracknr2% would have to be used in the latter context; is this indeed the case?
  • Can the %% placeholder to insert a literal percentage sign be used in pre-1.0b2 versions also? The FAQ only lists it under 1.0b2 onwards.
I would appreciate if anyone with the relevant recent experience of using EAC could verify this and amend the article (or at least let me know) if not. Please also feel free to suggest improvements, etc. or to spruce up the table if you have the requisite knowledge of wiki formatting!
Go to the top of the page
+Quote Post
voles
post Nov 23 2011, 16:41
Post #23





Group: Members
Posts: 15
Joined: 22-November 11
Member No.: 95333



QUOTE (db1989 @ Nov 23 2011, 11:38) *
[*]According to the FAQ, 1.0b2 can parse %tracknr% in the command-line but not when naming files, meaning that %tracknr2% would have to be used in the latter context; is this indeed the case?


Yes it is the case I bellieve.
Go to the top of the page
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 18th September 2014 - 14:03