TrevorSatori / kronos

Terminal Music Player Written In Rust
GNU General Public License v3.0
50 stars 8 forks source link

Panic whilst attempting to play mp3 file #33

Open Luxzi opened 1 month ago

Luxzi commented 1 month ago

Operating system: NixOS unstable Kronos version (commit hash): 128f5c2

I was attempting to create a Nix flake for Kronos, but when I hit play on any file, the program paniced with the message:

thread 'main' paniced at src/helpers/gen_funcs.rs:19:42: called `Option::unwrap()` on `None` value

I then tried to compile Kronos manually with cargo build --release but it gave the same result. I'm unsure as to why this is happening since I have all required libraries installed.

See PR #34 for Nix flake.

msandoval commented 4 weeks ago

I had the same problem on one particular music file. I submitted the fix here: #35