]> git.friedersdorff.com Git - max/dotfiles.git/blob - abcde/.abcde.conf
Correctly set the background
[max/dotfiles.git] / abcde / .abcde.conf
1 # -----------------$HOME/.abcde.conf----------------- #
2
3 # A sample configuration file to convert music cds to 
4 #       MP3 format using abcde version 2.7
5
6 #       http://andrews-corner.org/abcde.html
7 # -------------------------------------------------- #
8
9 # Encode tracks immediately after reading. Saves disk space, gives
10 # better reading of 'scratchy' disks and better troubleshooting of
11 # encoding process but slows the operation of abcde quite a bit:
12 LOWDISK=n
13
14 # Specify the method to use to retrieve the track information,
15 # the alternative is to specify 'cddb':
16 CDDBMETHOD=musicbrainz
17
18 # Make a local cache of cddb entries and then volunteer to use 
19 # these entries when and if they match the cd:
20 CDDBCOPYLOCAL="y"
21 CDDBLOCALDIR="$HOME/.cddb"
22 CDDBLOCALRECURSIVE="y"
23 CDDBUSELOCAL="y"
24
25 # Specify the encoder to use for MP3. In this case
26 # the alternatives are gogo, bladeenc, l3enc, xingmp3enc, mp3enc.
27 MP3ENCODERSYNTAX=lame 
28
29 # Specify the path to the selected encoder. In most cases the encoder
30 # should be in your $PATH as I illustrate below, otherwise you will 
31 # need to specify the full path. For example: /usr/bin/lame
32 LAME=lame
33
34 # Specify your required encoding options here. Multiple options can
35 # be selected as '--preset standard --another-option' etc.
36 # The '-V 2' option gives VBR encoding between 170-210 kbits/s.
37 LAMEOPTS='-V 2' 
38
39 # Output type for MP3.
40 OUTPUTTYPE="mp3"
41
42 # The cd ripping program to use. There are a few choices here: cdda2wav,
43 # dagrab, cddafs (Mac OS X only) and flac. New to abcde 2.7 is 'libcdio'.
44 CDROMREADERSYNTAX=cdparanoia            
45
46 # Give the location of the ripping program and pass any extra options,
47 # if using libcdio set 'CD_PARANOIA=cd-paranoia'.
48 CDPARANOIA=cdparanoia  
49 CDPARANOIAOPTS="--never-skip=40"
50
51 # Give the location of the CD identification program:       
52 CDDISCID=cd-discid            
53
54 # Give the base location here for the encoded music files.
55 OUTPUTDIR="$HOME/tmp/Music"               
56
57 # The default actions that abcde will take.
58 ACTIONS=cddb,playlist,read,encode,tag,move,clean
59
60 # Decide here how you want the tracks labelled for a standard 'single-artist',
61 # multi-track encode and also for a multi-track, 'various-artist' encode:
62 OUTPUTFORMAT='${TRACKNUM} ${ARTISTFILE} - ${OUTPUT}.${TRACKFILE}'
63 VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
64
65 # Decide here how you want the tracks labelled for a standard 'single-artist',
66 # single-track encode and also for a single-track 'various-artist' encode.
67 # (Create a single-track encode with 'abcde -1' from the commandline.)
68 ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
69 VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'
70
71 # Create playlists for single and various-artist encodes. I would suggest
72 # commenting these out for single-track encoding.
73 PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u'
74 VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u'
75
76 # This function takes out dots preceding the album name, and removes a grab
77 # bag of illegal characters. It allows spaces, if you do not wish spaces add
78 # in -e 's/ /_/g' after the first sed command.
79 mungefilename ()
80 {
81 echo "$@" | sed -e 's/^\.*//' | tr -d ":><|*/\"'?[:cntrl:]"
82 }
83
84 # What extra options?
85 MAXPROCS=4                              # Run a few encoders simultaneously
86 PADTRACKS=y                             # Makes tracks 01 02 not 1 2
87 EXTRAVERBOSE=2                          # Useful for debugging
88 COMMENT='abcde version 2.7'             # Place a comment...
89 EJECTCD=y                               # Please eject cd when finished :-)}