diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index b508a5f66..3259dfa53 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -590,7 +590,7 @@ class FanartTV(RemoteArtSource): self._log.debug('fanart.tv: unexpected mb_releasegroupid in ' 'response!') - matches.sort(key=lambda x: x['likes'], reverse=True) + matches.sort(key=lambda x: int(x['likes']), reverse=True) for item in matches: # fanart.tv has a strict size requirement for album art to be # uploaded