HydrogenAudio

Lossy Audio Compression => MP3 => Topic started by: StarSword on 2018-04-08 19:16:09

Title: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-08 19:16:09
Recently switched from using iTunes as my main music ripper because my Droid's music player stopped being able to read its tags (f**k you very much, Apple).  I collect a lot of music, much of which is multiple CD sets (e.g. the album and sessions editions of After Forever), so it's useful to be able to encode the disc number into the file tag. And I can't find any option to do that.

Currently using EAC v1.3 (in compatibility mode for Vista SP3 to get AccurateRip to work) and October '17 release of LAME. Windows 10 64-bit.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: Apesbrain on 2018-04-08 19:35:51
Basic idea is discussed here:
https://hydrogenaud.io/index.php/topic,95917.msg801469.html#msg801469

If you reply with info on how you've configured LAME in EAC, someone can help you duplicate those settings into manual switches.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-08 20:09:47
Basic idea is discussed here:
https://hydrogenaud.io/index.php/topic,95917.msg801469.html#msg801469

If you reply with info on how you've configured LAME in EAC, someone can help you duplicate those settings into manual switches.
Current command line under External Compression reads:
Code: [Select]
%islow%-V 5%islow%%ishigh%-V 2%ishigh% --vbr-new %source% %dest%
... with "Add ID3 tag" checked, which I believe is the default.  From that thread I'm getting:
Code: [Select]
-V0 --vbr-new --id3v2-only --ignore-tag-errors --ta "%artist%" --tt "%title%" --tl "%albumtitle%" --ty "%year%" --tc "%comment%" --tn "%tracknr%" --tg "%genre%" --tv "TPE2=%albumartist%" --tv "TPOS=%cdnumber%" --ti "%coverfile%" %source% %dest%
... and that I should uncheck the ID3 option.  And I see the string for the disc number in that code.  So do I just overwrite the existing command line with that?

(Attached a screenshot of the dialog for the rest of the options.)
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: korth on 2018-04-08 22:40:50
You should provide a screenshot of your current ID3 Tag tab as well.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-08 23:03:52
Done. It's still on the defaults, I believe.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: Apesbrain on 2018-04-09 00:34:02
... with "Add ID3 tag" checked, which I believe is the default.  From that thread I'm getting:
Code: [Select]
-V0 --vbr-new --id3v2-only --ignore-tag-errors --ta "%artist%" --tt "%title%" --tl "%albumtitle%" --ty "%year%" --tc "%comment%" --tn "%tracknr%" --tg "%genre%" --tv "TPE2=%albumartist%" --tv "TPOS=%cdnumber%" --ti "%coverfile%" %source% %dest%
Uncheck "Add ID3 tag" and you don't need "--vbr-new".  ("--id3v2-only" and  "--ignore-tag-errors" may also be unnecessary.)  This should give you VBR -V0 files, but what is your desired output bitrate?  I see "IsLow" -V5 and "IsHigh" -V2 in your old settings, but I also see the drop-down resting on 320.  What is it that you actually want?

Good resource:
http://wiki.hydrogenaud.io/index.php?title=EAC_and_Lame
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-09 01:31:14
Uncheck "Add ID3 tag" and you don't need "--vbr-new".  ("--id3v2-only" and  "--ignore-tag-errors" may also be unnecessary.)  This should give you VBR -V0 files, but what is your desired output bitrate?  I see "IsLow" -V5 and "IsHigh" -V2 in your old settings, but I also see the drop-down resting on 320.  What is it that you actually want?

Good resource:
http://wiki.hydrogenaud.io/index.php?title=EAC_and_Lame
320 is my usual preferred bitrate.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-09 01:43:34
Well frak.  From reading the tags from files before I started messing with this in an external program (Kid3), EAC was doing what I originally asked to begin with, it's just that Windows Explorer for some stupid Microsoft reason can't see the Disc # tag.  So I was outsmarting myself this whole time.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: korth on 2018-04-09 04:47:17
Try adding the column 'Part of set' to explorer.
320 is my usual preferred bitrate.
To use the Bit rate setting from the drop-down list use -b%bitrate% in the Additional command line options.
The %islow%-V5%islow%%ishigh%-V2%ishigh% setting uses -V5 when the radio button is set to Low quality or -V2 when the radio button is set to High quality.
Just pick one. Don't use both.
or use -b320
http://wiki.hydrogenaud.io/index.php?title=Lame#Recommended_encoder_settings
http://wiki.hydrogenaud.io/index.php?title=EAC_and_Lame#Advanced_Command_Line_Usage
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-18 18:38:16
Try adding the column 'Part of set' to explorer.
320 is my usual preferred bitrate.
To use the Bit rate setting from the drop-down list use -b%bitrate% in the Additional command line options.
The %islow%-V5%islow%%ishigh%-V2%ishigh% setting uses -V5 when the radio button is set to Low quality or -V2 when the radio button is set to High quality.
Just pick one. Don't use both.
or use -b320
http://wiki.hydrogenaud.io/index.php?title=Lame#Recommended_encoder_settings
http://wiki.hydrogenaud.io/index.php?title=EAC_and_Lame#Advanced_Command_Line_Usage
Thanks for that. Replaced the whole string up to %source% with -b320.  (I know it's probably not going to give a significant improvement in quality, but memory's considerably cheaper than it was ten years ago.)
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: Porcus on 2018-04-19 04:32:00
Thanks for that. Replaced the whole string up to %source% with -b320.  (I know it's probably not going to give a significant improvement in quality, but memory's considerably cheaper than it was ten years ago.)

Why not just go lossless? Not only is transcoding not an issue then, but also you can verify (and with CUETools, sometimes even repair) lossless rips later, and hard drives are not expensive anymore.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: StarSword on 2018-04-19 13:30:03
Thanks for that. Replaced the whole string up to %source% with -b320.  (I know it's probably not going to give a significant improvement in quality, but memory's considerably cheaper than it was ten years ago.)

Why not just go lossless? Not only is transcoding not an issue then, but also you can verify (and with CUETools, sometimes even repair) lossless rips later, and hard drives are not expensive anymore.
Device compatibility. I do most of my listening on my cell phone at work, and sometimes at home on a networked audio system.  FLAC maybe provides fractionally better sound but MP3 works in more places.
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: Stacker on 2018-06-25 03:09:29
If you rip a CD with [unsolicited software], you can enter "[Disc 1]" or "(Disc 1)" or "[CD 1]" or "(CD 1)" at the end of the Album name - [unsolicited software] will interpret that as the CD# and insert it into the Tag (the numerical portion only).

Enjoy
Stacker
Title: Re: How to encode CD # in track tags (EAC/LAME)
Post by: greynol on 2018-06-25 19:43:57
There has been a complaint about this most recent post for resurrecting this discussion in order to advertise software.  Looking at the posting history it appears that the Stacker's participation here is mainly limited to promoting software.  This is in clear violation of TOS #14 and will not be tolerated.  The fact that the OP has already found the information that was requested doesn't help matters.

Why not just go lossless? Not only is transcoding not an issue then, but also you can verify (and with CUETools, sometimes even repair) lossless rips later, and hard drives are not expensive anymore.
Per TOS #5, this post is also unacceptable.  Continued TOS #5 violations will also not be tolerated.

There is a button on the top banner that links to our terms of service.  Here is the direct link:
https://hydrogenaud.io/index.php/topic,3974.html