From 95ef461b5e64832d38bf503e15e592baeefe97b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Mon, 30 May 2011 11:15:04 +0200 Subject: [PATCH] Temporary fix for the cover art plugin --- contrib/plugins/coverart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/plugins/coverart.py b/contrib/plugins/coverart.py index a9a1b9a04..48d4c4bff 100644 --- a/contrib/plugins/coverart.py +++ b/contrib/plugins/coverart.py @@ -127,9 +127,9 @@ def coverart(album, metadata, release, try_list=None): _process_url_relation(try_list, relation) # Use the URL of a cover art link directly - if relation.type == 'cover art link': + if relation.type == 'cover art link' or relation.type == 'has_cover_art_at': _try_list_append_image_url(try_list, QUrl(relation.target[0].text)) - elif relation.type == 'amazon asin': + elif relation.type == 'amazon asin' or relation.type == 'has_Amazon_ASIN': _process_asin_relation(try_list, relation) except AttributeError, e: album.log.error(traceback.format_exc())