Skip to content

Instantly share code, notes, and snippets.

@andresilva
Created May 20, 2014 16:45
Show Gist options
  • Select an option

  • Save andresilva/0ea5db06bb092c42f7e2 to your computer and use it in GitHub Desktop.

Select an option

Save andresilva/0ea5db06bb092c42f7e2 to your computer and use it in GitHub Desktop.
beets config
directory: ~/music
plugins: mpdupdate scrub info inline convert
convert:
format: aac
opts: '-c:a libfdk_aac -vbr 4 -cutoff 18000'
dest: ~/transcode
paths:
default: $albumartist - $album/$track $title
replace:
'[\\/]': _
'^\.': _
'[\x00-\x1f]': _
item_fields:
metadata_string: |
md = map(unicode, filter(None, [label, year if year != original_year else '', media]))
if md: return u'[' + ', '.join(md) + '] '
else: return None
paths:
default: $albumartist/$album ($original_year) $metadata_string{$format$}/$track $title
singleton: Singletons/$artist - $title
comp: Various Artists/$album ($original_year) $metadata_string{$format$}/$track $title
mpd:
host: localhost
port: 6600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment