Skip to content

Commit

Permalink
use eyed3 for id3 tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
vidiben committed Jan 22, 2016
1 parent fd402f5 commit 1a69c60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ FROM debian:jessie
MAINTAINER Benoît Vidis

ENV EDITOR=vim
ENV TERM=xterm-color

ADD https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2015.6.1_all.deb /root/
RUN echo "deb http://www.deb-multimedia.org jessie main non-free" >> /etc/apt/sources.list && \
dpkg -i /root/deb-multimedia-keyring_2015.6.1_all.deb && \
apt-get update && \
apt-get install -y \
abcde \
eyed3 \
flac \
id3 \
nano \
lame \
vim && \
mkdir -p /abcde/out

ADD .abcde.conf /abcde/.abcde.conf
ADD abcde.conf /etc/abcde.conf


ENTRYPOINT [ "abcde", "-c", "/abcde/.abcde.conf" ]
ENTRYPOINT [ "abcde" ]
11 changes: 6 additions & 5 deletions .abcde.conf → abcde.conf
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ MP3ENCODERSYNTAX=lame
#MPPENC=mppenc
#AACENC=faac

ID3TAGV=2
#ID3=id3
ID3V2=id3v2
#CDPARANOIA=cdparanoia
#CDDA2WAV=icedax
#CDDAFS=cp
Expand Down Expand Up @@ -232,6 +232,7 @@ LAMEOPTS='-V 0'

# If you'd like to make a default location that overrides the current
# directory for putting mp3's, uncomment this.
# OUTPUTDIR=`pwd`
OUTPUTDIR=/abcde/out

# Or if you'd just like to put the temporary .wav files somewhere else
Expand All @@ -254,15 +255,15 @@ OUTPUTTYPE=mp3
# to the files. Remove it from your user defined string if you are getting
# files like ".ogg.ogg".
#OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM} - ${TRACKFILE}'
OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM} ${TRACKFILE}'

# Like OUTPUTFORMAT but for Various Artists discs.
#VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'

# Like OUTPUTFORMAT and VAOUTPUTFORMAT but for the ONEFILE rips.
#ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT
#VAONETRACKOUTPUTFORMAT=$VAOUTPUTFORMAT
VAOUTPUTFORMAT='Various/${ALBUMFILE}/${TRACKNUM} - ${ARTISTFILE}-${TRACKFILE}'
VAOUTPUTFORMAT='Various/${ALBUMFILE}/${TRACKNUM} ${ARTISTFILE}-${TRACKFILE}'

# Define how many encoders to run at once. This makes for huge speedups
# on SMP systems. Defaults to 1. Equivalent to -j.
Expand All @@ -276,7 +277,8 @@ MAXPROCS=3

# If set to y, enables batch mode normalization, which preserves relative
# volume differences between tracks of an album.
#BATCHNORM=n
#BATCHNORM=n"
BATCHNORM=y

# Enables nogap encoding when using the 'lame' encoder.
#NOGAP=y
Expand Down Expand Up @@ -376,4 +378,3 @@ mungefilename ()
# Useful if you have a slow network or CDDB servers seem unresponsive.
#EXTRAVERBOSE=0

ID3TAGV=1

0 comments on commit 1a69c60

Please sign in to comment.