mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
switch out string.Template with new template parser (#231)
This commit is contained in:
parent
0252865f61
commit
3c99e54174
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue