diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-06-19 15:08:05 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-06-19 15:08:05 +0200 |
commit | 4264cea8e446cd5cb5f01c9749b201d5c57ecff6 (patch) | |
tree | 6d0ebac70ca61b4b116cc5e4d35c448d1bbe8ea8 /nephilim/plugins | |
parent | 7ea46b5470d3212d2b1bad639497597fb1e771f1 (diff) |
Move expand_tags for musicdir from winMain to nephilim_app.
Diffstat (limited to 'nephilim/plugins')
-rw-r--r-- | nephilim/plugins/AlbumCover.py | 2 | ||||
-rw-r--r-- | nephilim/plugins/Lyrics.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index 9c9746d..a62a701 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -134,7 +134,7 @@ class wgAlbumCover(QtGui.QLabel): self.logger.info("autorefreshing cover") # generate filenames - (self._cover_dirname, self._cover_filepath) = generate_metadata_path(self.plugin.parent(), song, self.plugin.settings().value(self.plugin.name() + '/coverdir').toString(), + (self._cover_dirname, self._cover_filepath) = generate_metadata_path(song, self.plugin.settings().value(self.plugin.name() + '/coverdir').toString(), self.plugin.settings().value(self.plugin.name() + '/covername').toString()) write = False diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py index e982ee3..02d6a3c 100644 --- a/nephilim/plugins/Lyrics.py +++ b/nephilim/plugins/Lyrics.py @@ -110,7 +110,7 @@ class Lyrics(Plugin): if not song: return self.o.set_lyrics(None, None) - (self.lyrics_dir, self.lyrics_path) = misc.generate_metadata_path(self.parent(), song, + (self.lyrics_dir, self.lyrics_path) = misc.generate_metadata_path(song, self.settings().value(self.name() + '/lyricdir').toString(), self.settings().value(self.name() + '/lyricname').toString()) try: |