NewPipe
NewPipe copied to clipboard
Issue with volume after interruption
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- [X] I have read the FAQ and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected version
0.24.1
Steps to reproduce the bug
- Play any Video.
- Turn off screen (make sure background playback is ON).
- If any interruption/notification comes volume decrease (which is normal).
- But volume doesn't back to normal after interruption goes.
- To get back to normal have to unlock the device.
Expected behavior
Volume should be normalised after interruption.
Actual behavior
Volume doesn't normalised after interruption.
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Android 12/MIUI 13
Affected device model
Redmi Note 10
Additional information
- I have turned on the resume playing after interruption in settings.
- I have tested same thing in Motorola devices but i haven't face this issue.
- Seems like it only effected Xiaomi/Redmi Devices.
- I also changed MIUI Battery optimisation to no background restrictions for Newpipe but it doesn't help.
This bug only occurs when the screen is off? Not when it is on?
Did full testing. Here is results.
- Happens when screen is off. Direct turn off screen while using Newpipe. No other app in background.
- Also happens when you are on other app while screen is on. Have to switch back to Newpipe to normalise volume.
- Not happen when you are on Newpipe while screen is on.
Update: Issue still persist (0.25.0).
Same here with Xiaomi Mi 11 Ultra, MIUI 13.0.13, Android 12. Is this probably Xiaomi MIUI related? I'm going to upgrade to MIUI 14 soon...
This bug drives me crazy since a long time now and I'm almost happy to find someone more has already reported here. In the beginning I was begging all other components like Bluetooth connection, Absolute volume, Poweramp equalizer, Soundcore headphone app, MIUI etc. until I noticed it's only affecting NewPipe playing background audio.
For me it happens when using a Bluetooth headphone and only when NewPipe is playing in the background while screen is switched off (most powerful feature for using NewPipe). Does this happen for you playing via internal speaker as well? As soon as some notification sound for some new incoming message is played, the volume is switched lower and does not reset as it usually does.
The workaround for me is even weird. Only switching on the screen does not help. I need to switch on, switch off, switch on again, then the volume is reset to normal. Sometimes after several minutes while NewPipe keeps playing in the back at low volume, the volume gets reset by whatever reason I don't know. It's not a new notification sound.
Redmi Note 10 MIUI 14 (Android 12). Yes this affects internal speakers too.
I'm suffering from the same issue. Im guessing it only affect us Xiaomi phone users only, consider I have
Xiaomi 12T Pro running Android 12, MIUI 13.
Devs please take a look at the compatibility issue with MIUI and Newpipe which cause this audio ducking issue.
I'm suffering from the same issue. Im guessing it only affect us Xiaomi phone users only, consider I have
Xiaomi 12T Pro running Android 12, MIUI 13.
Devs please take a look at the compatibility issue with MIUI and Newpipe which cause this audio ducking issue.
Yep, Xiaomi MIUI 14 here
Have same Problem with MIUI 13 with Android 12
This issue is annoying since I can remember and a blocker for background audio playback. It only affects Xiaomi devices with MIUI of any versions. The only annoying workaround, when the devices screen is off: Press power button 4 times, to switch on, off, and on again. Now volume is reset. Another press turns the screen off again. Gettings lots of notification and having the device turned off in the pocket, this will kill the power button soon.
There are many duplicates to this ticket, I'm going to try referencing all duplicates now..
Have you every tried reproducing or fixing this issue?
It might be something around the feature of "audio ducking for noticiations". This might be a system feature, but I can't find any option for that. Maybe https://github.com/TeamNewPipe/NewPipe/issues/5233 could help? Can't you add an option to disable ducking in NewPipe?
Tried this? : https://xdaforums.com/t/notifications-that-lower-music-and-media-sound-volume-in-silent-mode-miui-10.3861399/post-84595387
I am having this bug with OneUI 6.0 (Android 14 Galaxy A54), while using Maps or Waze
Unlocking the screen is not enough to restore the volume, I need to put the NewPipe app in foreground.
I tried to give full rights to newpipe to execute in the background with no luck. I haven't found any setting like the one @opusforlife2 mentioned, but again it's a Samsung and not Redmi
Currently doing some experiments to narrow down the issue
Adding to this thread that I have been experiencing this same issue on version 0.26 and 0.27 with my Samsung Galaxy S22 Ultra with OneUI 6 and Android 14 as well, so it's not isolated to Xiaomi phones.
My experiences are limited to bluetooth since my phone is usually on silent but:
- Play a video in the background to a bluetooth device (car, Android Auto, headphones, etc.)
- Note: Most of the time I'm doing this I 'Share' the video from YouTube to NewPipe and select 'Start Playing in Background' from the quick select menu thing. Not sure if that could be part of the missing link here.
- Receive any kind of notification that includes a sound (call, text, Waze/Maps, etc.)
- Once the notification finishes, audio volume stays at the reduced level.
I haven't dug into it much more cuz killing the NewPipe process and starting it again fixes it. But I can confirm this is the only app I have that does this and I have numerous audio playing apps that I've used over the time frame I've experienced this bug (Blackplayer, Auxio, Finamp, Spotify, etc).
If I get time or the team would like, I could maybe do some debugging and see if I can narrow it down.
@hellcat707hp Debugging help is always welcome.
Tried this? : https://xdaforums.com/t/notifications-that-lower-music-and-media-sound-volume-in-silent-mode-miui-10.3861399/post-84595387
Some time ago I tried that without success.
Right now I have that option "more sound sources" disabled and I haven't seen the issue for a while now. Maybe fixed but I can't be sure. Anybody can confirm? I'm on NewPipe 0.27.0 and MIUI by xiaomi.eu 14.0.13.0 stable now.