Skip to content

Commit

Permalink
search: fix missing artists when albums filter is set
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Oct 3, 2023
1 parent 9a87990 commit 40e5650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytmusicapi/parsers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def parse_top_result(data, search_result_types):


def parse_search_result(data, search_result_types, result_type, category):
default_offset = (not result_type) * 2
default_offset = (not result_type or result_type == "album") * 2
search_result = {'category': category}
video_type = nav(data, PLAY_BUTTON + ['playNavigationEndpoint'] + NAVIGATION_VIDEO_TYPE, True)
if not result_type and video_type:
Expand Down

0 comments on commit 40e5650

Please sign in to comment.