IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Additional command line problem with "comment", help needed
hydrogenxx
post Jan 18 2013, 20:02
Post #1





Group: Members
Posts: 19
Joined: 4-January 12
Member No.: 96236



Hi, this is my EAC additional command line in compression options:

-V -8 -T "artist=%artist%" -T "title=%title%" -T "album=%albumtitle%" -T "date=%year%" -T "tracknumber=%tracknr2%" -T "genre=%genre%" %source%


It works perfect, but I wanted to add the "comment" parameter as well, and have made this change:

-V -8 -T "artist=%artist%" -T "title=%title%" -T "album=%albumtitle%" -T "date=%year%" -T "tracknumber=%tracknr2%" -T "genre=%genre%" -T "comment=%comment%" %source%


But nothing happens, after the ripping process the "comment" field in the created tag remains blank. The test encoder function returns no error. What am I doing wrong?

This post has been edited by hydrogenxx: Jan 18 2013, 20:02
Go to the top of the page
+Quote Post
Surfi
post Jan 18 2013, 20:32
Post #2





Group: Members
Posts: 175
Joined: 1-October 04
Member No.: 17420



QUOTE (hydrogenxx @ Jan 18 2013, 20:02) *
The test encoder function returns no error. What am I doing wrong?
::

Command line seems OK (though I'm using %source% -o %dest%).
I guess you should check your settings in "F11 (Compression options) - Comment Tab"


Regards, ...

::
Go to the top of the page
+Quote Post
db1989
post Jan 18 2013, 20:40
Post #3





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



I was going to suggest the same thing, but then I thought it would only have an effect if EAC’s own option to “Add ID3 tag” was enabled – which I thought would have messed up the OP’s other tags by now, too; perhaps I’m mistaken.

This post has been edited by db1989: Jan 18 2013, 20:41
Go to the top of the page
+Quote Post
Surfi
post Jan 18 2013, 20:49
Post #4





Group: Members
Posts: 175
Joined: 1-October 04
Member No.: 17420



QUOTE (db1989 @ Jan 18 2013, 20:40) *
... but then I thought it would only have an effect if EAC’s own option to “Add ID3 tag” was enabled ...
::

That's wrong. But to name it "ID3 tag comment field" isn't really a good choice there ...

::
Go to the top of the page
+Quote Post
db1989
post Jan 18 2013, 21:02
Post #5





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



So, you mean that EAC always affects the comment, even if it is not set to write tags?
Go to the top of the page
+Quote Post
hydrogenxx
post Jan 18 2013, 21:20
Post #6





Group: Members
Posts: 19
Joined: 4-January 12
Member No.: 96236



This is what the command line looks now:

-V -8 -T "artist=%artist%" -T "title=%title%" -T "album=%albumtitle%" -T "date=%year%" -T "tracknumber=%tracknr2%" -T "genre=%genre%" -T "comment=%comment%" %source% -o %dest%


this is what the Encoder test shows in the result:

C:\Program Files\FLAC\flac.exe -V -8 -T "artist=Track Artist" -T "title=Track Title" -T "album=CD Title" -T "date=1999" -T "tracknumber=05" -T "genre=Drum Solo" -T "comment=" "etmp)!58).wav" -o "etmp)!58).flac"


No error, but notice how the comment field is empty again.


EDIT: I don't use ID3 tag with FLAC.

This post has been edited by hydrogenxx: Jan 18 2013, 21:32
Go to the top of the page
+Quote Post
Surfi
post Jan 18 2013, 22:23
Post #7





Group: Members
Posts: 175
Joined: 1-October 04
Member No.: 17420



QUOTE (db1989 @ Jan 18 2013, 21:02) *
So, you mean that EAC always affects the comment, even if it is not set to write tags?

::

,... even if "Add ID3 tags" is not checked in EAC's "External Compression" settings, yes!

hydrogenxx, put a comment for the CD in the "Comment" field of EAC's main window, please.
In "F11 (Compression options) - Comment Tab" check the first option "Write the comment text of the CD ...".
Rip your tracks and check the comment tag.


Works for me ...

::
Go to the top of the page
+Quote Post
db1989
post Jan 18 2013, 22:29
Post #8





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



Edit: never mind. I was asking whether EAC was writing the comment as an ID3 tag, which is officially deprecated, but obviously it is just passing whatever the user specifies on that separate pane, via %comment% to the encoder.

This post has been edited by db1989: Jan 18 2013, 22:33
Go to the top of the page
+Quote Post
Surfi
post Jan 18 2013, 22:31
Post #9





Group: Members
Posts: 175
Joined: 1-October 04
Member No.: 17420



::

Exactly. Even more complicated: If you want to have a (hopefully small) front cover embedded in a FLAC file's picture block and use something similar to
CODE
--no-padding --no-replay-gain -8 -V -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T "TRACKNUMBER=%tracknr1%" -T "GENRE=%genre%" -T "COMMENT=%comment%" -T "ALBUMARTIST=%albumartist%" -T "COMPOSER=%composer%" %haslyrics%--tag-from-file=LYRICS="%lyricsfile%" %haslyrics%-T "DISCNUMBER=%cdnumber%" -T "TOTALDISCS=%totalcds%" -T "TOTALTRACKS=%numtracks%" %hascover%--picture="%coverfile%" %hascover%%source% -o %dest%
, you'll have to check "Add cover image to ID3V2 tag" in "Compression options - ID3 tag".


Greetings, ...

::

This post has been edited by Surfi: Jan 18 2013, 22:51
Go to the top of the page
+Quote Post
hydrogenxx
post Jan 18 2013, 22:40
Post #10





Group: Members
Posts: 19
Joined: 4-January 12
Member No.: 96236



I have done as Surfi suggested and it finally works and it says it's Vorbis :-) Thank you pal.

But I still don't understand why the option in F11 is called add to ID3 tag, when I have ID3 tags disabled. That's why I didn't want to use it before, I was afraid it would create ID3 tag somehow.


EDIT: I see now db1989 was thinking the same :-)

This post has been edited by hydrogenxx: Jan 18 2013, 22:41
Go to the top of the page
+Quote Post
greynol
post Jan 18 2013, 23:02
Post #11





Group: Super Moderator
Posts: 10000
Joined: 1-April 04
From: San Francisco
Member No.: 13167



Why "--no-replay-gain"? Isn't RG added only when asked?


--------------------
YOUR EYES CANNOT HEAR!!!!!!!!!!!
Go to the top of the page
+Quote Post
hydrogenxx
post Jan 18 2013, 23:19
Post #12





Group: Members
Posts: 19
Joined: 4-January 12
Member No.: 96236



QUOTE (Surfi @ Jan 18 2013, 22:31) *
::

Exactly. Even more complicated: If you want to have a (hopefully small) front cover embedded in a FLAC file's picture block and use something similar to
CODE
--no-padding --no-replay-gain -8 -V -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T "TRACKNUMBER=%tracknr1%" -T "GENRE=%genre%" -T "COMMENT=%comment%" -T "ALBUMARTIST=%albumartist%" -T "COMPOSER=%composer%" %haslyrics%--tag-from-file=LYRICS="%lyricsfile%" %haslyrics%-T "DISCNUMBER=%cdnumber%" -T "TOTALDISCS=%totalcds%" -T "TOTALTRACKS=%numtracks%" %hascover%--picture="%coverfile%" %hascover%%source% -o %dest%
, you'll have to check "Add cover image to ID3V2 tag" in "Compression options - ID3 tag".


Greetings, ...

::



Wow. Surfi, you are actually the creator of EAC, admit it ;-)

Btw, no space between %hascover%%source%?
Go to the top of the page
+Quote Post
JJZolx
post Jan 19 2013, 01:08
Post #13





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



Are you actually entering anything in the Comment field within EAC before ripping?
Go to the top of the page
+Quote Post
hydrogenxx
post Jan 19 2013, 09:21
Post #14





Group: Members
Posts: 19
Joined: 4-January 12
Member No.: 96236



Yes and it doesn't work unless the F11 Comment Tab "Write the comment text of the CD ..." is enabled, we've just come to that conclusion :-)
Go to the top of the page
+Quote Post
skamp
post Jan 19 2013, 11:24
Post #15





Group: Developer
Posts: 1409
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (greynol @ Jan 18 2013, 23:02) *
Why "--no-replay-gain"? Isn't RG added only when asked?


That's correct, --no-replay-gain is not needed. It is with LAME that --noreplaygain is useful (it makes encoding slightly faster and avoids computing values that won't get read by most players).


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
JJZolx
post Jan 19 2013, 14:57
Post #16





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



QUOTE (hydrogenxx @ Jan 19 2013, 01:21) *
Yes and it doesn't work unless the F11 Comment Tab "Write the comment text of the CD ..." is enabled, we've just come to that conclusion


Ah, I see. Isn't that the default setting, though?

EAC's user interface is a trip, isn't it? I don't think all the different options could be organized any more poorly, not to mention the fractured English translations and the assorted remnants of when the program was primarily used for creating MP3s. Like this option, which describes writing ID3 tags.
Go to the top of the page
+Quote Post
Surfi
post Jan 19 2013, 19:03
Post #17





Group: Members
Posts: 175
Joined: 1-October 04
Member No.: 17420



QUOTE (hydrogenxx @ Jan 18 2013, 23:19) *
Btw, no space between %hascover%%source%?
::

Yes, that's intended. You'll find that space after --picture="%coverfile%" and before the second %hascover%. If there's no cover available the whole block between the two %hascover% (including the space which is not needed anymore) will be removed. If you put the space after the second %hascover% and no cover is present you'll get two consecutive spaces.
It's the same for the second %haslyrics%. The space is before that too, not afterwards.

But I have to remove the "--no-replay-gain" option. It's really needless.


Regards, ...

::
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: 22nd July 2014 - 19:31