Skip to content

Commit

Permalink
Version 1.6.9.0.2
Browse files Browse the repository at this point in the history
hotfix : `artist` tasks shouldn't have limits set for `GetArtistAlbums` (i.e. max album count retrived) (Issue #42)
  • Loading branch information
mos9527 committed Jun 24, 2023
1 parent fd82906 commit 045aa17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyncm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# 注意事项
- (PR#11) 海外用户可能经历 460 "Cheating" 问题,可通过添加以下 Header 解决: `X-Real-IP = 118.88.88.88`
"""
__version__ = "1.6.9.0.1"
__version__ = "1.6.9.0.2"

from threading import current_thread
from typing import Text, Union
Expand Down
2 changes: 1 addition & 1 deletion pyncm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def __call__(self, ids):
# would be straight out empty
# TODO: Fix GetArtistTracks
# We iterate all Albums instead as this would provide a superset of what `GetArtistsTracks` gives us
album_ids = [album['id'] for album in artist.GetArtistAlbums(_id,limit=self.args.count)['hotAlbums']]
album_ids = [album['id'] for album in artist.GetArtistAlbums(_id)['hotAlbums']]
album_task = Album(self.args,self.put,prefix='艺术家专辑')
album_task.forIds = self.forIds
# All exceptions will still be handled by this subroutine
Expand Down

0 comments on commit 045aa17

Please sign in to comment.