talwat / lowfi

An extremely simple lofi player.
MIT License
523 stars 22 forks source link

error messages ruining the aesthetics #1

Closed chillmatin closed 1 month ago

chillmatin commented 1 month ago

image player works just fine, it just shows some error messages which sort of ruins the experience.

chillmatin commented 1 month ago

i am using arch linux btw, and pipewire for audio

talwat commented 1 month ago

Yeah, this happens for me too. When I was testing it on my PC I just used an "alternate screen" which just meant the rest of your terminal history (and the errors) wouldn't be visible. I'll probably add a flag which does this, and enable that flag by default on Linux.

The problem is these errors come from rodio, specifically the c library it uses, and so I have no idea how to disable them. I'll look into the latter, but otherwise I'll implement the former later today.

talwat commented 1 month ago

Fixed with https://github.com/talwat/lowfi/commit/fd2d37d6357e9ab113f5970c90cc6aec19057fdf, although I'll keep an eye on this until confirmation.

AUR should be updated relatively soon.

chillmatin commented 1 month ago

wow it got solved pretty quickly. It works like a charm now. Thanks for the chill beats experience!

chillmatin commented 1 month ago

image issue still persists

talwat commented 1 month ago

That is very strange... Can you show me lowfi --version?

talwat commented 1 month ago

Well, I've tried to improve the solution, and I've added the --alternate flag as an implementation of the first solution just in case.

chillmatin commented 1 month ago

image

talwat commented 1 month ago

I haven't updated the AUR yet, so that could be why. Also yeah I disabled version for some strange reason but that should also now be fixed. My apologies 😅

chillmatin commented 1 month ago

updated the aur package, it works now. image just before opening such error pops up but then it returns back looking normal which is fine but can be improved with a flag like --verbose

chillmatin commented 1 month ago

image then it turns into this which is great