summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Lyrics.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/plugins/Lyrics.py')
-rw-r--r--nephilim/plugins/Lyrics.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py
index 4dc647e..d110fd3 100644
--- a/nephilim/plugins/Lyrics.py
+++ b/nephilim/plugins/Lyrics.py
@@ -109,8 +109,8 @@ class Lyrics(Plugin):
o = None
# private
- DEFAULTS = {'fetchers' : ['Lyricwiki', 'Animelyrics'], 'lyricdir' : '$musicdir/$songdir',
- 'lyricname' : '.lyrics_nephilim_$artist_$album_$title', 'store' : True}
+ DEFAULTS = {'fetchers' : ['Lyricwiki', 'Animelyrics'], 'lyricdir' : '${musicdir}/${songdir}',
+ 'lyricname' : '.lyrics_%s_${artist}_${album}_${title}'%common.APPNAME, 'store' : True}
"implemented fetchers"
available_fetchers = None #XXX SettingsWidget currently uses it
"enabled fetchers, those with higher priority first"
@@ -273,15 +273,15 @@ class Lyrics(Plugin):
# paths to lyrics
self.lyricdir = QtGui.QLineEdit(self.settings.value('lyricdir').toString())
self.lyricdir.setToolTip('Where should %s store lyrics.\n'
- '$musicdir will be expanded to path to MPD music library (as set by user)\n'
- '$songdir will be expanded to path to the song (relative to $musicdir\n'
+ '${musicdir} will be expanded to path to MPD music library (as set by user)\n'
+ '${songdir} will be expanded to path to the song (relative to ${musicdir}\n'
'other tags same as in lyricname'
%common.APPNAME)
self.lyricname = QtGui.QLineEdit(self.settings.value('lyricname').toString())
self.lyricname.setToolTip('Filename for %s lyricsfiles.\n'
'All tags supported by MPD will be expanded to their\n'
- 'values for current song, e.g. $title, $track, $artist,\n'
- '$album, $genre etc.'%common.APPNAME)
+ 'values for current song, e.g. ${title}, ${track}, ${artist},\n'
+ '${album}, ${genre} etc.'%common.APPNAME)
self.store.layout().addWidget(QtGui.QLabel('Lyrics directory'), 0, 0)
self.store.layout().addWidget(self.lyricdir, 0, 1)
self.store.layout().addWidget(QtGui.QLabel('Lyrics filename'), 1, 0)