elucid8 Posted August 25 Share Posted August 25 Poweramp build number (available in Poweramp Settings / About): 967-bundle-play Your device model: Vivo Y12s Your Android version: 11 Steps to reproduce: Play music with Poweramp. Pause and cancel Poweramp (X button in notification). Open another app, start playing something. Now pause on the bluetooth device. Try playing next. Instead of the current app to play, Poweramp ends up playing instead. Poweramp will always override other apps except it has been Force Stopped. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
maxmp Posted August 25 Share Posted August 25 Try to disable "Keep Notification" and/or "Keep Service" options in Poweramp Settings. Thanks! Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted August 25 Author Share Posted August 25 (edited) Disabling Keep Service does it Edit: Kinda, but not without creating another issue Edited August 26 by elucid8 Updated info Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted August 26 Author Share Posted August 26 (edited) This solves the problem, but now Poweramp dies (almost) immediately after a brief pause. Optimally it would: 1. Suspend all controls of media once another app has taken over media playback and kill the service (Keep Service could have an extra toggle to Always keep service, with the current behavior) Is this approach reasonable? @maxmp Edited August 26 by elucid8 Conciseness Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
maxmp Posted August 26 Share Posted August 26 @elucid8 add Poweramp and Unlocker to background optimizer exception list / allow them to run in background. This is the proper way. Keep service is mostly a workaround for Androids prior 8. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted August 26 Author Share Posted August 26 (edited) I have already done that, unfortunately. From the start. Keep service works, but it's too aggressive. You are completely right in saying that disabling Battery optimization is "the proper way", it's just that things aren't always ideal. Edited August 26 by elucid8 Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted August 26 Author Share Posted August 26 The same issue was brought up on Reddit about a year ago, so I'm probably not the only one: https://www.reddit.com/r/Poweramp/comments/vimmuc/there_is_a_problem_with_how_poweramp_responds_to/ Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
maxmp Posted August 26 Share Posted August 26 @elucid8 there are two known independent issues with this player priority. There can be more - but it may be quite hard and time consuming to investigate and understand what your issue exactly is due to the combination of Android bugs, OEM firmware bugs, and Poweramp advanced options. Spoiler One is introduced in Android 13 due to the Android bug causing Beep option sound to bring Poweramp to the top priority and force-keep Poweramp always there - on top of players list. It shouldn't happen and even shouldn't be allowed. This one can be worked around by disabling Beep option (and restarting Poweramp). Some user helped me to investigate this issue recently and workaround (not a fix, as we can't fix Android bugs) for it already added to the dev. builds. Another one is the Keep Service option, which tries to keep Poweramp alive, always. Year ago this was a legacy option for old Androids, which didn't work on recent Androids anyway. Recently (like month ago), this option was changed to allow Keep Notification option also to keep the service on the newer Androids too. It works only with Keep Notification enabled. So that year old reddit post can't be about that recent change. This option still shouldn't cause the priority override you can experience. By design, loaded Poweramp service keeps audio output created, but paused/stopped; and that may trigger some Android variants to send BT buttons to it. Usually this doesn't happen and it shouldn't happen, but may still happen for your firmware if it reacts this way to paused/stopped audio output. You may try to change output types in Poweramp settings and tweak other options, but I would recommend allowing Poweramp to run in background with appropriate system settings (https://dontkillmyapp.com has good guides on this matter). Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted September 1 Author Share Posted September 1 (edited) Solved by a fresh reinstall of the app EDIT: The issue still came back after some days. What follows is a hack that does work but requires Tasker, surprisingly it's eerily similar to the initial proposal for a solution that was dismissed. I'll post it soon. Edited September 5 by elucid8 Updated information Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted September 5 Author Share Posted September 5 You'll need to grant Tasker (paid, 3rd party app) adb permissions via PC (search tutorials online) or with the LADB app (again, search tutorials for this) It's a one-time thing, so I strongly recommend doing most or all of the permissions in the extensive list below so you don't ever have to worry about Tasker permissions. I've forgotten the exact one you need for this specific process, but you'll be reminded in the Tasker app https://www.reddit.com/r/tasker/comments/e2mjzk/adb_additional_permissions_list/ Here's the task:https://taskernet.com/shares/?user=AS35m8m6PdaeVocfnxwaBxRIYGws0vmj%2Bns010SyLgBwWCOHchmIhh3BULofUd7uSuOTDgy9AA%2Fkg0U%3D&id=Task%3AUnload+Poweramp Under Profile tab, create a new profile, select 'Application' type, leave only the Services box marked, and select all the apps you don't want Poweramp overriding. That's all. Let's hope that when the dev has the time, he can implement this into the Poweramp, so no need for Tasker. Fingers crossed. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted September 6 Author Share Posted September 6 @maxmp thoughts? This was the behavior I was hoping existed. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
Solution maxmp Posted September 6 Solution Share Posted September 6 @elucid8 the issue is not reproducible on the recent Poweramp builds (97x). Please upgrade if not yet. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
elucid8 Posted September 6 Author Share Posted September 6 Yes version-976 works as intended. Thanks. Quote Translate Revert translation? Arabic Belarusian Bengali Chinese (Simplified) Chinese (Traditional) Czech Danish Dutch English French German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Persian Polish Portuguese Romanian Russian Serbian Slovak Spanish Thai Turkish Ukrainian Vietnamese Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.