[Add in v0.19.0] It would be amazing if you could put a button to mute the app regardless of the volume of the smartphone, similar to what it has in MX Player, for example. This function would be sensational.
I would like to take this one. Is it ok?
@karkaminski I don't know if I understand, because English is not my main language, but if you add this function to NewPipe, I would find it wonderful!
@karkaminski I think you can take it. But I'm not sure how this could be implemented without cluttering the GUI by adding a button that would be used rarely. @TobiGr what do you think?
Maybe adding this button to the upper drawer would be good?

I thought about that, too, but how would it behave? Would its value be reset every time the video is opened or would the previous state be restored?
In my opinion: if you mute one video, you mute for every other video (if you have queue for instance). It corresponds with second scenario you've mentioned - restore previous state.
Other questions are:
About the queue, as you said, the previous state should be restored.
By the way, the button should be accessible from the popup player queue, otherwise how would one mute/unmute the popup player? Also, the plan with players is #2907, so it is a good idea to add buttons to queue views.
- The "Muted" state only makes sense in main and popup players, and since this is obvious, I don't think a dialogbox is needed.
So, if user watches muted video, and use background option -> video should gone to background and unmuted ?
Yes. Then, if the user goes back to main/popup player, the video should become muted again.
For some reasons I would mutate and use a muted background queue for a long time, so it would be nice if the button was implemented when playing a background playlist as well, and keep mutating as much as one wants, even if the queue in the background, completely mute. Since I'm not a programmer, I don't know how hard it is to implement something like that, but I hope you can do that. (Sorry for my bad English, I'm using Google translate to translate.)
Mmmh ok, then I assume adding a button to the background queue should be good @karkaminski.
@TobiGr what do you think about all of this?
I am still working on this, but I get some doubts... :)
I've added "mute-button" in 2 places currently:




Using "mute" funcion, user mutes the music chanel in Android:

Is this approach we are looking for?
@karkaminski I liked the position of the buttons, however, muting the music channel is not what I expected. I was thinking of something like muting the app's audio regardless of the Android music channel, as you can see in Mx Player when you disable the option to synchronize the volume of the sound with the system volume, for example. So you could leave a muted list playing in the background while you listen to other things in another app or watch a muted video on Newpipe while listening to music with another app in the background. I don't know if you could understand what I meant because of my English, but I hope so. I also hope that what I said is possible to do.
should I open another issue for 'mute by default?'
Sorry for delay guys.
I've implemented mute button in some places. I am wondering where else i should put it, so any advice/suggestions would be much appreciated. Check below screenshots. White icon = video is muted.




@karkaminski: Do not put it in notifications, as we'll move to Android's standard media notifications, where that won't be possible, see #1660.
@karkaminski For me it's great, but if it won't work if it is in the notifications, as the friend said above, then I think you could add the mute button directly in that part where we control the list in the background. Anywhere in that area marked in orange the mute button would be fine.

@RickyM7 since it would be a feature used very rarely by just a few users it would be better to add it to the dot menu, IMO
@Stypox It will indeed be a rarely used feature, but it is still a good one. And for me I think that it doesn't matter where the button is, as long as it works, whether in notifications or anywhere else. I don't know if I could understand what I meant in the previous message or this one, but in summary, I am excited about the progress I saw. (Sorry for my bad English.)
@RickyM7 since it would be a feature used very rarely by just a few users it would be better to add it to the dot menu, IMO
I gave it a try. It doesn't look cluttered. What you think?



@karkaminski In my opinion, this is wonderful.
Most helpful comment
I gave it a try. It doesn't look cluttered. What you think?


