switch out string.Template with new template parser (#231)

This commit is contained in:
Adrian Sampson 2011-12-15 11:53:58 -08:00
parent 0252865f61
commit 3c99e54174
2 changed files with 2 additions and 2 deletions

View file

@ -16,12 +16,12 @@ import sqlite3
import os
import re
import sys
from string import Template
import logging
from beets.mediafile import MediaFile
from beets import plugins
from beets import util
from beets.util import bytestring_path, syspath, normpath, samefile
from beets.util.functemplate import Template
MAX_FILENAME_LENGTH = 200

View file

@ -156,7 +156,7 @@ Here's an example file::
default: $genre/$albumartist/$album/$track $title
soundtrack: Soundtracks/$album/$track $title
comp: $genre/$album/$track $title
singleton: Singletons/$artist - $track
singleton: Singletons/$artist - $title
[bpd]
host: 127.0.0.1