zydezu / ModernX

My fork of modernX (a replacement for MPV that retains the functionality of the default OSC), adding additional features - see builds at: https://github.com/zydezu/mpvconfig
131 stars 5 forks source link

Volume Control Is Greyed Out When Playing MP3 #20

Closed blueray453 closed 6 months ago

blueray453 commented 6 months ago

This is a issue mentioned in the main repo. However, i am using this fork for a long time now.

Here is a screenshot.

Screenshot

As you can see I can not change the volume when playing mp3 files. However, up and down arrow or mouse scroll works to increase or decrease volume for mp3 (just can not use the volume control in the OSC).

zydezu commented 6 months ago

Please can you send or provide this file.

blueray453 commented 6 months ago

Do you mean the mp3 file?

zydezu commented 6 months ago

Yes

blueray453 commented 6 months ago

I have added four files. However, you can test with any file.

Sheikh Sudais.zip

zydezu commented 6 months ago

2024-03-23_10-11-57_843_mpv They seem to work fine for me... perhaps it could be your specific computer setup... do other files work for you?

blueray453 commented 6 months ago

No mp3 files work for me. This issue is here for about a year now.

ThousandDemonDaggers commented 6 months ago

No mp3 files work for me. This issue is here for about a year now.

Seems you are still using the old fonts files. I had some similar problem, as you can see here. Maybe installing the new fonts provided with the latest release will fix your problem too.

blueray453 commented 6 months ago

I have removed everything except modernx_zydezu.lua and mpv.conf and fonts.

the config file has following lines:

keep-open=yes
input-ipc-server=/tmp/mpv-socket
screenshot-directory=~/Pictures/
no-window-dragging
reset-on-next-file=pause
osc=no
loop-file=inf

For some mp3 there is no GUI. For some mp3 I get the GUI and also the (Volume Control). It is not grayed out. The files I provided you, none of them have any GUI. Are you using any visualizer. Visualizer once sort of solved this problem. please check https://github.com/mpv-player/mpv/issues/6025#issuecomment-1493346580 .

blueray453 commented 6 months ago

After such a long time force-window=yes solved the problem. Thank you very much.