fix plugin hook in embedart

This commit is contained in:
Adrian Sampson 2011-12-28 15:56:07 -08:00
parent 890021008a
commit a1b2b6c8a2

View file

@ -137,6 +137,6 @@ def clear(lib, query):
# Automatically embed art into imported albums.
@EmbedCoverArtPlugin.listen('album_imported')
def album_imported(lib, album):
def album_imported(lib, album, config):
if album.artpath and options['autoembed']:
_embed(album.artpath, album.items())