Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Configuring EAC per AutoFLAC—invalid file name/parameters not accepted (Read 10427 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

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

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #2
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%

Quote
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
[/size]

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #3
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?

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #4
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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

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

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #6
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...

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #7
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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #8
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...

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #9
Well I have actually tried cutting and pasting examples from the FAQ and I am still getting 'invalid filename"!

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #10
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).

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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

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


Fair comment.


Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #12
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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #13
%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.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #14
Quote
I assume that's because you didn't change "Additional command line options" too.


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

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #15
so what?

EAC > Compression Oprtions...

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #16
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%

 

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #17
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%

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #18
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

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

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

Doesn't work of course.
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.  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 ). Sorry about that, and I wish I’d remembered it sooner, but I hope I can be forgiven in light of its illogicality!

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #20
Quote
I hope I can be forgiven in light of its illogicality!


Of course. It is illogical. Thanks for trying.

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #21
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!

Configuring EAC per AutoFLAC—invalid file name/parameters not accepted

Reply #22
  • 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.