iamdb / hifi.rs

a high resolution Qobuz streamer built in Rust
GNU General Public License v3.0
75 stars 10 forks source link

crash on specific playlist #161

Closed LTSCommerce closed 1 year ago

LTSCommerce commented 1 year ago

URL: https://play.qobuz.com/playlist/11398919

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/runner/work/hifi.rs/hifi.rs/hifirs/src/player.rs:630:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
iamdb commented 1 year ago

Ah, looks like it's a playlist with some tracks unplayable. Definitely not a case I was expecting, but should be able to fix that.

iamdb commented 1 year ago

I believe this should also be fixed with the new release, but let me know if it still exists. The new behvior should show disabled tracks in the search/playlist lists, but when adding to the player it will strip out any unplayable tracks.