Skip to content

Commit

Permalink
fix: Episodes for later playlist causing crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Feb 5, 2024
1 parent 065841f commit a099377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parsers/songs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ export interface ShuffleAndRadioIds {

export function get_shuffle_and_radio_ids(item: any): ShuffleAndRadioIds {
const shuffle = find_object_by_icon_name(
j(item, MENU_ITEMS),
jo(item, MENU_ITEMS),
"menuNavigationItemRenderer",
"MUSIC_SHUFFLE",
);

const radio = find_object_by_icon_name(
j(item, MENU_ITEMS),
jo(item, MENU_ITEMS),
"menuNavigationItemRenderer",
"MIX",
);
Expand All @@ -335,7 +335,7 @@ export function parse_menu_library_like_status(item: any): LikeStatus | null {

export function get_library_like_status(item: any) {
const toggle_menu = find_object_by_icon_name(
j(item, MENU_ITEMS),
jo(item, MENU_ITEMS),
TOGGLE_MENU,
[
"LIBRARY_ADD",
Expand Down

0 comments on commit a099377

Please sign in to comment.