Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when pausing an audiobook #7

Open
javsanpar opened this issue Jul 5, 2022 · 3 comments
Open

Crash when pausing an audiobook #7

javsanpar opened this issue Jul 5, 2022 · 3 comments

Comments

@javsanpar
Copy link
Owner

The login is all working! I can reach my bookshelf and see my books. However, when trying to play a book nothing happens and when I try to pause it afterwards it errors (forwards, backwards and exit all "work" without crashing).

This is the error I get when clicking pause, no error is given when pressing play

    Finished release [optimized] target(s) in 0.06s
     Running `target/release/storytel-tui`
thread '<unnamed>' panicked at 'Error setting MPV property: MPV_ERROR_COMMAND', src/mpv.rs:99:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/mpv.rs:20:66

Originally posted by @MauritsWilke in #6 (comment)

@javsanpar
Copy link
Owner Author

I have managed to reproduce the problem!

storytel-tui crash if the user press button before the audiobook starts playing.

@MauritsWilke, can you try to reproduce an audiobook and wait a reasonable time 😄 for it to start? If the audiobook is short, it should take less to load.

@MauritsWilke
Copy link

Yep it was just me being impatient! It's all working now, thanks a lot!

@javsanpar
Copy link
Owner Author

Perfect! Anyway, my intention is to fix this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants