Aleksoid1978 / MPC-BE

MPC-BE – универсальный проигрыватель аудио и видеофайлов для операционной системы Windows.
GNU General Public License v3.0
2.17k stars 88 forks source link

Feature Request: Mute from command line #431

Closed TomKranenburg closed 5 months ago

TomKranenburg commented 5 months ago

I have absolutely no issue with MPC-BE at all. In fact I think it's great. The best media player out there by far.

The command line options are excellent too. I was just wondering if there is a command line parameter to start the player muted? I tried "/mute" but no luck. At the moment I'm sending a virtual key code via a script and it's pretty clunky.

Perhaps there is an option you can set inside the playlist itself? That could work too. I tried setting "audio:0" in the file header but no luck there. I can't find a lot of documentation on the mpcpl format really.

If there is some I'd love to read it. I'd love to know if there is an acceptable comment format for mpcpl files as well. I tried "#" and some others but it just errors.

v0lt commented 5 months ago

To completely mute audio using the command line, you can select "Null Audio Renderer".

/audiorenderer N    Start using audiorenderer N, where N starts from 0 (see "Audio" settings)
TomKranenburg commented 5 months ago

Would this be:

/audiorenderer Null

Can I then easily unmute it? Basically I have a ton of downloaded youtube videos. On some the sound is awful. I will get hit with the worst music you've ever heard if I'm not careful when starting the playlist.

Aleksoid1978 commented 5 months ago

Can I then easily unmute it?

No.

clsid2 commented 5 months ago

MPC-HC has /volume N option. Doesn't MPC-BE have that?

Aleksoid1978 commented 5 months ago

No.

TomKranenburg commented 5 months ago

MPC-HC has /volume N option. Doesn't MPC-BE have that?

This would be perfect. Like I said I have a huge amount of youtube videos of dubious quality. I can't risk playing these unmuted.

Aleksoid1978 commented 5 months ago

Added /volume N command line.

TomKranenburg commented 4 months ago

Added /volume N command line.

You're amazing thank you. If there is an easy way to donate to this project please let me know.

Aleksoid1978 commented 4 months ago

You can't donate to Russia)