[LineageOS] Bluetooth volume sets to zero on screen on when music is playing - Moto G 2015 Q&A, Help & Troubleshooting

Whenever I'm playing music (I tried using different music players) on a bluetooth speaker and I lock the screen, as soon as the screen turns on, the volume jumps to zero!
This also happens when I start the music, close the player (with the music playing from the notification) and when i reopen it it jumps again to zero. Another thing to note is that when turning the volume back up it doesn't go up normally, instead it ticks up and sometimes down (like +1 +1 -1 +1 +1 -1 . . .). Also this doesn't happen when ambient display turns the display on, only when I press the unlock key or touch the screen from ambient display.
I already tried disabling battery optimization from all bluetooth system apps but it didn't fix it.
LineageOS Version: 14.1-20171109-NIGHTLY-osprey. Tested with Phonograph, Pi music player, Retro Music player, LineageOS Music player

Did you try a clean flash including a /data /cache /system wipe? Often fixes those strange issues.

Related

HELP ! how to make the music player keep playing even the machine goes sleep

the problem i face is same as the title, i want the music keep playing even while i press the power button.
i have tried pocketplayer, S2P, kinoma, HTC audio manager (manilla2d built-in) and they stop while i press the power button to put the machine to sleep mode.
i search in google but i can not find suitable articles for me.
is there anything i could do with my machine ? i am using hermes with manilla 2d rom, but before i flash this rom, everything just fine, but now, it makes me so annoying that i need keep press power button every few mins .
I use S2P and S2U2 and have set S2U2 to only blank the screen and not power off totally after 45 seconds (you can just change this to the time you want). That way I can just let the display time out and the music keeps playing. I think you can use any music player along with S2U2 this way and keep the music playing with the display off.
Pocket Player works for me
I use pocket player, and that function works fine for me. Just make sure to change the sttings : menu>more>options>advanced>power options
The only problem I have had is with the newest version. The music keeps playing when I use the power button, but I can't control playback functions like I could in version 3.6
I wouldn't recommend any other player. I use pocket player on a daily basis for my work. I do floor contracting/installation. I listen all day through bluetooth headset(function supported by pocket player without adding any other programs like BT toggle). Also has EQ and a lot of plugins(support winmedia plugins as well).
Might sound like a salesman, but I've tried them all and pocket player is the best. I hope somebody figures a way to make HTC home support
Try buying a new phone, something like a smartphone that can play music while the phone is asleep.

Widgetlocker stops music player

Hi,
I have Galaxy S2 with Widgetlocker 2.2 installed.
It works fine expects for some music/radio players. If I set screen to turn off after 30s, then when screen turns off, music stops, as if the player could not keep one playing with a locked screen.
I uninstalled WL, the screen turns off and gets locked with the native android lockscreen but this time, music does not stop.
One more precision, this problem occurs only on players that are not multitask, I mean they have always to be on forground the work.
And problem with WidgetLocker is that it overtakes the process from the monotask player and so the player stops, wheras it does't with the classic lock screen.
Any idea on WL settings?

Music Pause & Notification Sound Issues

Hey guys, I've posted this inside of a thread in the Nexus 4 forums before, but no-one else seemed to have this issue. It seems to persist in the Nexus 5. Essentially what's happening is my music levels stay low after a notification sound plays while my music is on pause. Should a different notification play after I've resumed playback, the music levels get restored to original levels. Maybe a list will outline what happens better than typing it out:
1. Listening to music
2. Pause music for any reason
3. Notification sound plays while music is paused
4. Resume music playback
5. The music levels are low, meaning I must ramp up the volume to achieve same sound level (for the Media sound slider only!)
6. Another notification comes in while music is playing again
7. Immediately after notification sound ends, music levels get restored to original, louder state
Click to expand...
Click to collapse
Now, what normally happens when a notification sound plays during the playback of music, is the music levels drop, the notification sound plays, and then the music levels return to their normal levels. When this issue happens, the music levels don't come back up if the music is on pause, even after un-pausing and re-pausing the music, meaning that there should be an event firing right after the notification sound that isn't, when the music is paused. Can anyone else try to recreate this? What could be the cause of this? Any solution? If it makes any difference, I've only been able to test with Pandora for music and Hangouts and Google Voice app for notifications.
Oh, here are some more observations that I've noticed that are important and almost forgot to mention:
1. This happens only if I have a song queued on Pandora. That means having Pandora open and have a song already playing, then pause it. I can't just boot up my phone, receive a notification, and the Media sound levels will be low.
2. The levels fix themselves not only upon another notification paying while music playback has resumed, it also comes back upon the end of the song. Once a new song is downloaded from Pandora and starts playing, the levels fix themselves.
3. The levels also fix themselves if I force quit Pandora while the music levels are down. Does this mean it's an issue with Pandora?
4. Probably goes without saying, but I can fix them by rebooting my phone.
Click to expand...
Click to collapse

google play music pausing when screen turns off, and other issues

I'm using stock marshmellow from lg. google play music pauses the song when the screen turns off. usually between 30 seconds and 2 minutes after the screen turns off. I'm not exactly sure if it pauses the song or the audio just cuts off. I've added google play music to ignore battery optimizations and that didn't help.
another issue I'm having is after I reboot the phone, play music doesn't detect my songs. the sd card is mounted but there is no music in play music. sometimes remounting the sd card doesn't work and I have to reboot. also, after rebooting, my playlist is empty.

Bluetooth headphones resume playback not working

Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Kiwidude333 said:
Hello,
I use a pair of true wireless Soul X-shock earphones to listen to seminars when out jogging etc using background playback. (Samsung Galaxy S7 and MX Player Pro)
The play/pause function (on the earphones) works as it should if there is less than an approx 5 minute delay between button presses...
However, when the video is pause is longer than 5 minutes I find the resume function on my earphones no longer operate and background playback of the video is completely halted.
Not only that, when resuming playback on my phone screen and then pressing the home button or lock screen the video does not play in the background as it should.
I have found the only way to remedy this is to force quit MX Player Pro directly and start it up again. That way the background playback function behaves like normal again.
The problem also happens immediately if I put my ear phones back into the charging case and take them out to use them again.
I am able to use spotify without issue taking my ear phones on and off but MX Player Pro behaves very differently.
I have also noticed the background playback for MX Player Pro on the notifications bar gets killed after about 5 minutes of no playback, requiring a full restart of the app before it can come back again.
I have already added MX Player Pro to the power saving exceptions list but the issue still happens.
Is there anyway to fix this via settings or via new update?
Click to expand...
Click to collapse
Thanks for your feedback. When you pause the playback manually, MX Player will no longer use the foreground service. So, the system may kill the app to reclaim the resources if it is required for some other process. Once it's killed by the system, it may not be able to receive the media button controls. So, you can't resume the playback from the headset. However, everything should work as expected when you open the app again. If you found any abnormal behaviour, kindly provide us with more info so that we can investigate it further for you.

Categories

Resources