darkhz / invidtui

A TUI based Invidious client
MIT License
196 stars 6 forks source link

[Bug] Audio not working by default #9

Closed ghost closed 2 years ago

ghost commented 2 years ago

The audio mode does not work. I can see that it starts playing image but I cannot hear anything.

The same happens with the video. By default, it is muted, and I have to unmute it. So, anyway of changing the default behavior?

invidtui version: 0.2.1-2 arch linux

darkhz commented 2 years ago

Hmm, the player states(shuffle, mute, etc.) are usually saved on exit and restored on startup, i.e, if you muted the audio/video stream, and then exited the application, the mute state will be restored the next time you start invidtui. Does this happen regardless of whether you set the mute state or not? Can you check the contents of ~/.config/invidtui/state?

I will try reproducing this issue on my end.

ghost commented 2 years ago

This is what I have in ~/.config/invidtui/state: volume 100,shuffle

darkhz commented 2 years ago

@bambirombi hmm, the mute command isn't present in your state file, therefore invidtui shouldn't set the mute state on startup. Can you re-verify if the mute state is set now on startup? If it is, I'll look into it.

ghost commented 2 years ago

@darkhz It works correctly. It was my fault.