TrevorSatori / kronos

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

panic #24

Open Arian-p1 opened 1 year ago

Arian-p1 commented 1 year ago

hey can u make a error.rs to handle the errors because it will panic for me for some files its better to return the error and jump to next one

TrevorSatori commented 1 year ago

Hey, I completely agree. When does this happen, what is the file extension? could you describe your issue more?

Arian-p1 commented 1 year ago

_thread 'main' panicked at 'ERROR: Failed to read file!: TextDecode("Found invalid encoding")', src/helpers/genfuncs.rs:16:10

this is the error when reading mp3 file (some of them)