Some compatibility fixes for the lastfm plugin, and probably others. (The changes were unintentional.)

This commit is contained in:
Michael Wiencek
2011-06-13 12:31:16 -05:00
parent 4be9f003bb
commit fe2cc4d4d2
2 changed files with 4 additions and 1 deletions

View File

@@ -421,3 +421,6 @@ class NatAlbum(Album):
for file in track.linked_files:
track.update_file_metadata(file)
super(NatAlbum, self).update(update_tracks)
def _finalize_loading(self, error):
self.update()

View File

@@ -156,7 +156,7 @@ class Track(DataObject):
# Track metadata plugins
try:
run_track_metadata_processors(self, tm, release, node)
run_track_metadata_processors(self.album, tm, release, node)
except:
self.log.error(traceback.format_exc())