We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd51238 commit fdc2594Copy full SHA for fdc2594
ytmusicapi/parsers/_utils.py
@@ -4,7 +4,10 @@
4
5
6
def parse_menu_playlists(data, result):
7
- watch_menu = find_objects_by_key(nav(data, MENU_ITEMS), MNIR)
+ menu_items = nav(data, MENU_ITEMS, True)
8
+ if menu_items is None:
9
+ return
10
+ watch_menu = find_objects_by_key(menu_items, MNIR)
11
for item in [_x[MNIR] for _x in watch_menu]:
12
icon = nav(item, ICON_TYPE)
13
if icon == "MUSIC_SHUFFLE":
0 commit comments