mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 10:05:13 +01:00
Merge pull request #4819 from lonebyte/fix-fanarttv-sorting
Fix fanarttv sorting
This commit is contained in:
commit
79435c3b6f
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -185,6 +185,8 @@ Bug fixes:
|
|||
* Fix updating "data_source" on re-imports and improve logging when flexible
|
||||
attributes are being re-imported.
|
||||
:bug:`4726`
|
||||
* :doc:`/plugins/fetchart`: Correctly select the cover art from fanart.tv with
|
||||
the highest number of likes
|
||||
|
||||
For packagers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue