Project

General

Profile

Support #764

Updated by Daniel Curtis almost 9 years ago

This is a guide on how I setup beets on FreeBSD to tidy up my music library. 

 h2. Prepare the Environment 

 * Make sure the system is up to date 
 <pre> 
 pkg update && pkg upgrade 
 </pre> 

 h2. Install Beets 

 * Install Beets: 
 <pre> 
 pkg install beets 
 </pre> 
 #* *NOTE*: @audio/beets@ has many useful additions in its port package. I found *BEETPORT*, *CHROMA*, *DISCOGS*, *ECHONEST*, *FETCHART*, *FFMPEG*, *IMAGEMAGICK*, *LASTFM*, *LYRICS*, and *MPDSTATS* to be useful: 
 <pre> 
 pkg install py27-discogs-client py27-setuptools27 py27-oauth2 py27-httplib2 py27-requests py27-mpd py27-mutagen py27-pyacoustid chromaprint cmake libarchive lzo2 cmake-modules py27-sphinx py27-Jinja2 py27-babel py27-pytz py27-MarkupSafe py27-docutils py27-pygments py27-pylast py27-unidecode py27-sqlite3 py27-enum34 py27-pyechonest py27-yaml ImageMagick-nox11 gmake libltdl pkgconf jbigkit jpeg lcms2 tiff libfpx liblqr-1 pcre libwmf-nox11 png openjpeg webp fftw3 ghostscript9-base autoconf autoconf-wrapper m4 help2man gmake-lite p5-Locale-gettext jbig2dec svgalib cups-image cups-client mDNSResponder gsfonts libpaper py27-munkres glib flac mp3val py27-mpd2 python27 py27-pathlib py27-xdg python2 

 portmaster audio/beets 
 </pre> 

 * Create a directory for the beets library metadata database: 
 <pre> 
 mkdir ~/.beets 
 </pre> 

 h3. Using Beets 

 * Edit the config: 
 <pre> 
 beet config -e 
 </pre> 
 #* And add the following to configure an existing music library: 
 <pre> 
 directory: ~/music 
 library: ~/.beets/musiclibrary.blb 
 import: 
     copy: no 
 </pre> 

 * Import the library to correct the music file tags: 
 <pre> 
 beet import ~/music 
 </pre> 
 #* NOTE: For larger libraries, using the @-q@ (quiet) flag. This will allow beets to update the music file metadata without asking for user input: 
 <pre> 
 beet import -q ~/music 
 </pre> 

 * Adding more music later on can be done with the @-c@ flag which will copy and correct music from @~/some_great_album@ folder to the @~/music@ folder: 
 <pre> 
 beet import -c ~/some_great_album 
 </pre> 

 h2. Resources 

 * http://beets.readthedocs.org/en/v1.3.17/guides/main.html

Back