Music collection: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
I started using "grip" to convert my discs to audio files a long time ago when it came with Ubuntu. They dropped it from Ubuntu but I still use it by compiling from source.
== Ripping CDs ==


Originally I encoded everything to MP3 but now I am redoing it all in FLAC which I think is a better choice for archiving discs.
On Windows, the WMP (Windows Media Player) does a fine job, it has settings now to save directly to my music collection on [[Wenda]] in /home/music.


I often use a Logitech Squeezebox for playback, and it can handle FLAC just fine.
instructions on using MP3 format are here https://www.dummies.com/computers/operating-systems/windows-10/how-to-rip-cds-in-windows-10/


== Grip ==
I used "abcde" on Debian, works great, thanks to careful tuning of the .abcde.conf file.


I use a locally compiled version of grip. Version 3.3.1 compiled on Ubuntu 14.10
== on Debian: abcde ==


Download from: http://sourceforge.net/projects/grip/
Read the wiki here http://abcde.einval.com/wiki/


=== Build ===
Embedding cover art
Fixing Genre tag
Fixing Artist tag (removing "The")


  sudo apt-get install  lame cdparanoia \
If the image is big then resize down to 512x512
  libgnomeui-dev libghc-vte-dev curl libcurl4-openssl-dev
  file cover.jpg
  ./configure
  mv cover.jpg backup
  make -j 6
  convert backup -resize cover.jpg
sudo make install


vte is a terminal widget
for i in *mp3; do
  eyeD3 --add-image=cover.jpg:FRONT_COVER --artist=Pentangle --genre=Folk "$i"
done


=== Configure ===
Or just add the image
 
for i in *mp3; do
Currently I just keep all the files in a folder hierarchy. I tried keeping a MySQL database but found that I never used it.
  eyeD3 --add-image=cover.jpg:FRONT_COVER "$i"
 
done
Device is /dev/sr0
 
==== Encoder ====
 
'''FLAC''' -- using grip's defaults did not tag the tracks correctly for use with the Logitech streaming server. See this http://gnuru.org/article/1160/ripping-flac-with-grip
 
/usr/bin/flac
 
command line: Defaults: -V -o %m %w
What I use: --best -V -o %m %w -T "ARTIST=%A" -T "TRACKNUMBER=%t" -T "ALBUM=%d" -T "TITLE=%n" -T "GENRE=%G" -T "DATE=%y"
 
file extension: .flac
 
file format: ~/music/%A/%d/%t-%n.%x
 
'''MP3'''
 
I used to use these settings for MP3 encoding.
 
Encoder is "lame".
 
command line: -h -V 2 %w %m
 
file extension is .mp3
 
file format: ~/music/%A/%d/%t-%n.%x
 
==== Options ====
 
Delete .wav after encoding
 
Create m3u files
 
Use relative paths in m3u files
 
Encoding bitrate 128
 
Number of CPUs to use 4
 
=== Misc ===
 
Email address
 
Do not lowercase filenames
 
Do not change spaces to underscores

Latest revision as of 21:00, 18 July 2021

Ripping CDs

On Windows, the WMP (Windows Media Player) does a fine job, it has settings now to save directly to my music collection on Wenda in /home/music.

instructions on using MP3 format are here https://www.dummies.com/computers/operating-systems/windows-10/how-to-rip-cds-in-windows-10/

I used "abcde" on Debian, works great, thanks to careful tuning of the .abcde.conf file.

on Debian: abcde

Read the wiki here http://abcde.einval.com/wiki/

Embedding cover art Fixing Genre tag Fixing Artist tag (removing "The")

If the image is big then resize down to 512x512

file cover.jpg
mv cover.jpg backup
convert backup -resize cover.jpg
for i in *mp3; do 
  eyeD3 --add-image=cover.jpg:FRONT_COVER --artist=Pentangle --genre=Folk "$i"
done

Or just add the image

for i in *mp3; do 
  eyeD3 --add-image=cover.jpg:FRONT_COVER "$i"
done