nick42d/youtui

panicked at ytmapi-rs/src/parse/artist.rs:169:56: not yet implemented

Closed this issue · 3 comments

The error is shown on a blank screen (i.e. the UI disappears and is replaced by this text only) following:

  1. Search for 'classical music'.
  2. Select one of the following:
    • Deutsche Grammophon - DG
    • Warner Classics
    • Naxos Music
    • Sony Classical

The program doesn't recover, though pressing Enter brings up a mangled, non-responsive part of the UI:
image

Btw, playback continues uninterrupted.

Welp, that's the first time someone's triggered that branch in GetArtistQuery it seems. Think I know what needs fixing. Could be an opportunity to improve the panic handling too.

Resolved in #161, panic code should be more robust now too, you should no longer get a glitchy crash if you find another panic. Note; these 'artists' will correctly return no results, they don't have any albums.