addendum music ripping using abcde on linux

This commit is contained in:
Wouter Groeneveld 2022-03-08 22:02:44 +01:00
parent 265f70269f
commit a7416c0742
1 changed files with 32 additions and 0 deletions

View File

@ -68,3 +68,35 @@ The jump in quality from `128 kbps` to 192 (and especially higher) is huge. It's
One last thing: invest in a good **headset** and **speaker**! The speakers of a MacBook or your average smartphone are laughably bad when trying to enjoy something with a deep bass or subtle tone differences. Over-ear Bose headphones are good enough for me, and the noise cancellation works wonders when my wife insists on watching TV. I realize better (and more expensive) options are available. I've enjoyed Sony in-ear buds too---while they lasted, before breaking down completely. Navidrome supports Sonos speakers through another daemon service, but I haven't tried that yet. Most of the heavy lifting is still done by the Pioneer box as seen in [my office setup](/post/2021/02/my-retro-desktop-setup/).
And that's how you stream your own music. Don't forget from time to time to dig through your CD collection and effectively use the CD itself on your retro Hi-Fi installation to sit down, relax, and do nothing but enjoy the music.
---
**Addendum** 8th March: I am officially an idiot. Who still manually tags their music files? Compared to other CD rip software, Audiograbber is extremely limited, yet I didn't know better. After reading Williams' [enjoying music curation again](https://blog.yossarian.net/2022/02/21/Enjoying-music-curation-again) post, I tried the Linux command-line tool [abcde](https://linux.die.net/man/1/abcde)---yes, the Retroxp machine is dual-booted----which can be configured to automatically download (and embed) album art, fill in M3U data, rip simultaneously in multiple formats, etc.
And it worked like a charm! Details on how to use it can be found in William's post. Here's my `.abcde.conf` file:
```
ACTIONS="cddb,read,getalbumart,encode,tag,move,clean"
OUTPUTTYPE="mp3"
LAMEOPTS="--preset extreme"
WAVOUTPUTDIR=/tmp
OUTPUTDIR="$HOME/Music/"
OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${ARTISTFILE} - ${TRACKNUM} - ${TRACKFILE}'
PADTRACKS=y
EJECTCD=y
MAXPROCS=2
CDDBMETHOD="musicbrainz"
# see http://frozen.ca/automatic-cd-ripping-with-abcde/
mungefilename ()
{
echo "$@" | sed s,:,\ -,g | tr / _ | tr -d \\"\?\[:cntrl:\]
}
```
Happy (semi-)automated ripping!