xgi / castero

TUI podcast client for the terminal
MIT License
616 stars 37 forks source link

Basic functionality broken on MacOS 10.15.5 #129

Closed samtay closed 4 years ago

samtay commented 4 years ago

Added a feed, but pressing space or enter to try to play or enqueue anything just exits without an error message. AFAICT there is no debugging or logging that I can enable? Happy to provide more information.. here's a GIF of what I'm seeing, although I doubt it is helpful: screen

xgi commented 4 years ago

Yeah, sadly I haven't prioritized error logging...

Best guess: do you have either mpv or vlc installed? castero doesn't handle its own playback yet, so you'll need one of them. Make sure you can do either mpv --version or vlc --version.

samtay commented 4 years ago

🤦 Sorry that was right there in your README#dependencies section. I am on a new machine and didn't have vlc installed yet. Thank you! Although, I do see helpful messages like this in your code; do you consider them not user-friendly enough to print to stderr?

Either way, thank you! App is working great now.

xgi commented 4 years ago

No worries, glad it worked out.

And yeah, I'm pretty good about having specific error messages, but curses captures the standard I/O streams so if the client crashes the stacktrace doesn't always get displayed. There are relatively few fatal errors that aren't already handled, but I should probably pipe them to an error.txt log for cases like this :)