zaps166 / QMPlay2

QMPlay2 is a video and audio player which can play most formats and codecs.
GNU Lesser General Public License v3.0
857 stars 178 forks source link

RestoreAVSState prevents playback #754

Open kozak243 opened 3 months ago

kozak243 commented 3 months ago

Hi! I think I found a bug in QMPlay2. When I changed the setting 'RestoreAVSState' QMPlay2.ini to true, the player suddenly stopped playing any of my files. I tried restarting the app, switching between different audio tracks, and even rebooting my system, but nothing seems to work.

As soon as I switch 'RestoreAVSState' back to false, sound comes back to life. Not sure what's causing this, but thought I'd let you know in case it's a simple fix.

QMPlay2 version: 24.06.16-git-c1e88a8a (x86-64, xcb) Arch Linux

Let me know if you need any more info or if this is a known issue

zaps166 commented 3 months ago

When you have RestoreAVSState enabled, QMPlay2 should (re)store whether you have enabled or disabled audio. See Playback menu: Enable audio, Enable video, Enable subtitles.

kozak243 commented 3 months ago

This wasn't actually a bug and was just a dumb mistake on my part. Audio was in fact disabled. Sorry for the unnecessary trouble and any time that was wasted on it. Sorry for the unnecessary trouble and any time that was wasted on it 🥴

I wasn't aware audio was disabled and it wasn't immediately clear why the file wouldn't play at all. I was really confused and thought it broke somehow. Maybe visual indicator or notification when a user tries to open an audio file with audio disabled - an icon in the UI or a system-wide notification - to enable sound? Just a thought! Thanks for your understanding and time.