andrescm Posted March 30, 2015 Share Posted March 30, 2015 Hello,I've been using this app since I bought it about 3 years ago. It's perfect in almost every aspect except one, which I discovered during the last year when I bought a car. I use the app to stream music via bluetooth. But many times I only have the phone connected via BT in case someone calls me, not to play music. Now I'll try to explain the sequence in detail: 1. (The "Resume on Bluetooth" option is always disabled).2. The phone connects to the car stereo via bluetooth.3. I start playing FM radio on my car stereo.4. At some moment I receive a notification on my phone (an SMS, a Whatsapp message, a calendar reminder, etc.). The notification ringtone is heard through the car stereo.5. The car stereo's sound source switches automatically from FM to bluetooth stream at this moment.6. I switch the car stereo's source back to FM radio.7. I hear the FM radio for a second and then Poweramp starts out of the blue playing from where it left off the last time I used it. If it was in the middle of a song, it resumes that song. Conclusion: I have to unlock my phone, stop Poweramp and switch the car stereo back to FM radio for a second time. How can I stop this from happening?. I mean, I'm not using the app at all at these moments, it's not even in the recent apps panel. As far as I know, it's only reacting to some kind of trigger launched by the car stereo when I switch to FM radio, but that's all I can tell. I've read this post and it seems to cover my case, I've yet to confirm. If that's the case, is there any way I can trace the bluetooth commands so I detect which app sends the MEDIA_PLAY command? I'll greatly appreciate any comment on this matter. Regards, Andrés Link to comment Share on other sites More sharing options...
andrewilley Posted March 30, 2015 Share Posted March 30, 2015 You could try the Settings > Audio > Audio Focus menu and unticking the audio focus change settings, and/or try unticking Resume After Call. Andre Link to comment Share on other sites More sharing options...
andrescm Posted March 30, 2015 Author Share Posted March 30, 2015 Thanks for your quick response. It's unticked already, the only enabled options are "Pause in call" and both short and permament audio focus change. The two resume options are disabled. Link to comment Share on other sites More sharing options...
andrewilley Posted March 31, 2015 Share Posted March 31, 2015 As I said, try unticking those in case that helps. Andre Link to comment Share on other sites More sharing options...
andrescm Posted March 31, 2015 Author Share Posted March 31, 2015 Ah, sorry, I didn't read well. I'll try and post back! Link to comment Share on other sites More sharing options...
andrewilley Posted March 31, 2015 Share Posted March 31, 2015 It could be trying to resume thinking there was a call, or a focus issue, try them all in turn and see if any help. Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 9, 2020 Share Posted November 9, 2020 Whenever I attach my Note 9 to a TV to use DEX, then Poweramp will begin playing automatically. The playback does not start immediately - there is about a 1 minute delay. If during that time I start another media app, for example Youtube, then it will stop playing when Poweramp interrupts and begins playing. If I force-stop the Poweramp app, it restarts itself in 1 minute and begins playing automatically again. I have been unable to find any solution. It sounds like the same problem manifesting. This makes me very suspicious of Poweramp. What is it doing? Is Poweramp monitoring me? If anyone finds a working solution for this behavior, please post. Link to comment Share on other sites More sharing options...
andrewilley Posted November 9, 2020 Share Posted November 9, 2020 Have you checked PA Settings > Headset/Bluetooth > Last Processed Commands to see if any command is being recieved by PA? Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 When I check PA Settings > Headset/Bluetooth > Last Processed Commands the list is empty. Again, this makes me very suspicious of Poweramp. What is it doing? Is Poweramp monitoring me? Link to comment Share on other sites More sharing options...
andrewilley Posted November 10, 2020 Share Posted November 10, 2020 16 minutes ago, LeeHounshell said: Is Poweramp monitoring me? No, why would it? Are any of the 'Resume' options enabled in Settings > Headset/Bluetooth or in Settings > Audio > Audio Focus ? How are you attaching your device to the TV, cable or wireless display? Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 22 hours ago, andrewilley said: No, why would it? Are any of the 'Resume' options enabled in Settings > Headset/Bluetooth or in Settings > Audio > Audio Focus ? How are you attaching your device to the TV, cable or wireless display? Andre Anytime an app does not let me force-stop it, there is cause for concern. If I have my TV plugged into my Note 9 using DEX, then when Poweramp starts playing automatically and I try to force-stop it, it just restarts itself. I am a professional Android programmer. Normal apps do not exhibit this type of behavior unless the developer went to a lot of trouble to monitor events and cause the app to restart itself. Facebook was once under fire for this sort of behavior - and for monitoring everything a user did on their device. So when I see similar autostart behavior happening with Poweramp, it gives me pause for concern. That's why I asked. I am not accusing Poweramp, just asking. I do not have any Bluetooth device active. I am just playing sound through the TV's HDMI output. The connection is physical, using an HDMI cable. My Audio Focus has default settings - these values are currently enabled: Resume After Call, Short Audio Focus Change, Duck Volume, and Permanent Audio Focus Change are all ON. Everything else is OFF. If you can tell me how to change those settings, I will try it and let you know if that stops the bizarre autoplay behavior. Thank you. Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 Additionally, I have the Poweramp widget on my home screen. Link to comment Share on other sites More sharing options...
MotleyG Posted November 10, 2020 Share Posted November 10, 2020 Is PA set to be the default audio player, and perhaps the TV connection is driving that to bring PA from the Android side? I'd have to think that something is calling for it to wake it up. I have never had PA start up by itself in years of use on several devices. And I trust it well that there isn't anything leaking, at least from my perspective. Link to comment Share on other sites More sharing options...
andrewilley Posted November 10, 2020 Share Posted November 10, 2020 Try allowing the background service to unload. Disable Settings > Misc > Keep Service. Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 4 minutes ago, andrewilley said: Try allowing the background service to unload. Disable Settings > Misc > Keep Service. Andre Keep Service is already disabled. All of my PA settings are default - I have not changed anything from the install. Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 7 minutes ago, MotleyG said: Is PA set to be the default audio player, and perhaps the TV connection is driving that to bring PA from the Android side? I'd have to think that something is calling for it to wake it up. I have never had PA start up by itself in years of use on several devices. And I trust it well that there isn't anything leaking, at least from my perspective. My default player is YouTube Music Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 10, 2020 Share Posted November 10, 2020 I only have the autoplay problem when I plug my phone into a 4K TV using HDMI. It is completely reproducible and happens every time I plug my phone into the TV. Link to comment Share on other sites More sharing options...
andrewilley Posted November 10, 2020 Share Posted November 10, 2020 Sounds like something in Android is launching PA for you. Might be worth sending a logfile to Max when it next happens? (Settings > Get Support > Send Log > send to gpmaxmpz @gmail . com ) Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 11, 2020 Share Posted November 11, 2020 7 minutes ago, andrewilley said: Sounds like something in Android is launching PA for you. Might be worth sending a logfile to Max when it next happens? (Settings > Get Support > Send Log > send to gpmaxmpz @gmail . com ) Andre Done. I just sent you my log. Link to comment Share on other sites More sharing options...
andrewilley Posted November 11, 2020 Share Posted November 11, 2020 10 minutes ago, LeeHounshell said: Done. I just sent you my log. Could you PM @maxmp to let him know what email address you sent from, and that it applies to this thread. Andre Link to comment Share on other sites More sharing options...
LeeHounshell Posted November 11, 2020 Share Posted November 11, 2020 7 minutes ago, andrewilley said: Could you PM @maxmp to let him know what email address you sent from, and that it applies to this thread. Andre Done. Link to comment Share on other sites More sharing options...
Pankajk5 Posted February 15, 2021 Share Posted February 15, 2021 I am having the same problem with Zen mode in one plus 6T Link to comment Share on other sites More sharing options...
andrewilley Posted February 15, 2021 Share Posted February 15, 2021 30 minutes ago, Pankajk5 said: I am having the same problem with Zen mode in one plus 6T So you are saying playback commences whenever you connect your phone to a Bluetooth device, even when the resume option in Settings > Headset/Bluetooth and/or Settings > Audio > Audio Focus is turned off? When do you see in Settings > Headset/Bluetooth > Last Processed Commands when this happens? Andre Link to comment Share on other sites More sharing options...
Pankajk5 Posted February 15, 2021 Share Posted February 15, 2021 15 minutes ago, andrewilley said: So you are saying playback commences whenever you connect your phone to a Bluetooth device, even when the resume option in Settings > Headset/Bluetooth and/or Settings > Audio > Audio Focus is turned off? When do you see in Settings > Headset/Bluetooth > Last Processed Commands when this happens? Andre I have two issues: 1. Sometimes I see with Bluetooth or wired connect, Poweramp starts automatically. 2. There is a Zen mode in one plus(attached screenshot shot), after which it enables the Poweramp automatically and I can't even disable the music during that time. Link to comment Share on other sites More sharing options...
andrewilley Posted February 15, 2021 Share Posted February 15, 2021 @Pankajk5 Still the same question what does Last Processed Commands show. If your Zen thingy or other connection method is generating a KEYCODE_MEDIA_PLAY (or KEYCODE_MEDIA_PLAY_PAUSE) event, Poweramp will do as its told and start playing. Andre Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.