Skip to content

Commit

Permalink
Don't show the "On Spotify" track info item if we lack title and uri …
Browse files Browse the repository at this point in the history
…of a track.
  • Loading branch information
michaelherger committed Jun 30, 2023
1 parent 2fed61f commit a0d4534
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OPML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,8 @@ sub trackInfoMenu {
};
}

$args = undef unless $args->{title} || $args->{uri};

return _objInfoMenu($client, $args);
}

Expand Down

0 comments on commit a0d4534

Please sign in to comment.