duraz0rz Posted January 3, 2020 Share Posted January 3, 2020 Car: 2017 Honda Civic Hatchback Phone: Samsung Galaxy Note 9 - Stock ROM Poweramp version: 3.0 build 856 Music playback pauses after an arbitrary amount of time after resuming when plugged in. Tends to happen when the backup camera is on. Link to comment Share on other sites More sharing options...
andrewilley Posted January 3, 2020 Share Posted January 3, 2020 I find the same with my Hyundai Android-Auto head-unit, and I agree it's a bit annoying. When I first press Play in the Android Auto interface (or when I select 'media' mode via the steering wheel controls, which should also start playback) I hear a very brief clip of music (less than a second) and then it goes back into pause mode again (and is shown that way on both the Android Auto display and the PA Player UI on the phone screen). I need to press the Play icon on the unit for a second time for playback to resume normally - and after that, the controls respond fine. Andre Link to comment Share on other sites More sharing options...
michaelteck Posted February 3, 2020 Share Posted February 3, 2020 This happens to me, too, in my 2019 Jeep Wrangler. I have to touch the play button to resume play. Annoying! Link to comment Share on other sites More sharing options...
andrewilley Posted February 3, 2020 Share Posted February 3, 2020 @maxmp can I send you any debug info, as this happens every time I first start playback via Android Auto (USB connection to Hyundai factory-installed head-unit) and it's obviously not just happening to me. I see the same as the others, the first press of the Play button in the Android Auto Poweramp interface briefly commences playback (half a second maybe) and then it pauses again. I have to press Play for a second time for it to start playing properly, and afterwards in that session I can play/pause/skip fine. There's nothing in the Last Processed Commands log by the way, just one BTReceiver headset connection event to the car (because BT is on). Andre Link to comment Share on other sites More sharing options...
MotleyG Posted February 3, 2020 Share Posted February 3, 2020 I have experienced this same issue when using Bluetooth in several rental cars, different brands. I can't give much other info unfortunately, as I don't have BT in my regular driver. G Link to comment Share on other sites More sharing options...
andrewilley Posted February 3, 2020 Share Posted February 3, 2020 1 hour ago, MotleyG said: I have experienced this same issue when using Bluetooth in several rental cars, different brands. Plain BT works fine, play means play. It's only in Android Auto that this issue occurs for me. Andre Link to comment Share on other sites More sharing options...
MotleyG Posted February 3, 2020 Share Posted February 3, 2020 55 minutes ago, andrewilley said: Plain BT works fine, play means play. It's only in Android Auto that this issue occurs for me. Andre Correct, I did mean using AA, not just BT. Link to comment Share on other sites More sharing options...
dvhttn Posted February 4, 2020 Share Posted February 4, 2020 14 hours ago, andrewilley said: Plain BT works fine, play means play. It's only in Android Auto that this issue occurs for me. Andre Same here - and the same symptons described by you above with the brief music clip then pause. However, I'm using Android Auto for Phone Screens rather than AA as you seem to be. Dunno if that helps at all ...? Link to comment Share on other sites More sharing options...
andrewilley Posted February 4, 2020 Share Posted February 4, 2020 I recall that @maxmp mentioned a while ago that because Android Auto tends to be fitted into cars, he does not have a very wide set of devices to test with. Hopefully between us we might be able to provide him with enough diagnostics to help him solve this though. Andre Link to comment Share on other sites More sharing options...
Disturbd1 Posted February 6, 2020 Share Posted February 6, 2020 FWIW, the pausing happens to me, too. Regardless of settings in Poweramp; I can turn off "resume on xxxx" or enable, the result is the same. AA has introduced a lot of problems since its overhaul last year. My phone is a Samsung on Android 10, but this happened on Android 9 as well. It doesn't happen when my wife uses her phone, also a Sammy on 10, in her car. Which is newer than mine. Both on the same version of Poweramp. Link to comment Share on other sites More sharing options...
andrewilley Posted March 3, 2020 Share Posted March 3, 2020 I've just sent @maxmp a log-file recording when this issue occurs. I waited until the recent AA update in case that fixed it, but the problem still happens. The first time I press play after connecting my phone to the car head-unit (or the head-unit tries to auto-play), Poweramp plays for a fraction of a second and then pauses again. Pressing Play for a second time starts playback properly, and from then on play/pause works normally for the rest of the session. Problem does not occur with Bluetooth connections, only Android Auto. Andre Link to comment Share on other sites More sharing options...
andrewilley Posted March 10, 2020 Share Posted March 10, 2020 Was that logfile any help Max? I've just found that the problem also occurs if you try to listen to music from PA via the Android Auto app on the phone too, so you can test it without needing a separate AA head unit. The first time you press the Play button in an Android Auto / Poweramp session, PA commences playing for a fraction of a second and then pauses again. If you press Play for a second time it works fine from there on. Andre Link to comment Share on other sites More sharing options...
dvhttn Posted March 25, 2020 Share Posted March 25, 2020 Just to add that I've recently started using (got working!) Android Auto on our works vans (new Mercedes box vans). I can confirm the play/pause issues mentioned above but also a different issue that's probably related. If the playing gets interrupted for any reason (for example, today my phone holder, and thus my phone, fell off the windscreen and broke the cable connection. Plugging things back in and everything was fine except that PA would only do the play/pause thing. But a subsequent 'play' only led to an immediate 'pause'. I tried play on the head unit and phone with the same results. I decided to leave it as it was and about 10 minutes later (when I could next stop and check) it started to play again when I hit the 'play' button. The playing has been interrupted for other reasons over the last week and a similar thing has happened. Note 9 running a mostly stock Android 10 with the 864 version of PA. Link to comment Share on other sites More sharing options...
maxmp Posted March 25, 2020 Share Posted March 25, 2020 @dvhttn how exactly your headunit / Android sends events to apps, including Poweramp is visible via Poweramp settings / Headset/Bluetooth / Last Processed Commands. I've seen cases when headunit + Android (failures like this are caused by playback state desync between those) are sending wrong commands to app. You may get better results by using standard (AudioTrack / OpenSL) output instead of Hi-Res. You may try Settings /Audio / Advanced Tweaks / Emulate Media Stream if you wish to continue to use Hi-Res output. If your Android is recently updated with OTA, often old "descriptors" are wrong and unpairing and pairing the headunit again is required (though this affects all players on device, not just Poweramp). Link to comment Share on other sites More sharing options...
andrewilley Posted March 25, 2020 Share Posted March 25, 2020 @maxmp Did you have a look at the logfile I sent about three weeks ago regarding this issue? For me, the bug recurs after every Android Auto connection. When you first press the Play button in Android Auto, PA starts to play for a fraction of a second and then it reverts back to the paused state. The next time you press Play, it works fine and continues to work normally for the rest of that session. This also occurs when using just the stand-alone Android Auto app on the phone itself, with no connection to a car, so I don't think it's a remote pairing issue. It also occurs with OpenSL ES too, and there is nothing in the Last Processed Commands list as Bluetooth is not being used. However it does not seem to occur with other audio apps in Android Auto - I tested using Black Player and Rocket Player and they both worked fine first-time. Andre Link to comment Share on other sites More sharing options...
maxmp Posted March 25, 2020 Share Posted March 25, 2020 @andrewilley Logs emails are heavily filtered and quickly deleted - I can't find it now - please resend. I certainly can't reproduce this issue on my phones, but I don't test AA on every possible Android + device combination (e.g. not tested on Android 10/R ATM), though I tested this scenario on Android 10 + Auto For Phone Screens + BT device. Link to comment Share on other sites More sharing options...
andrewilley Posted March 26, 2020 Share Posted March 26, 2020 Logfile resent, this was with the car head-unit connected via USB to my Samsung Galaxy A70, Android 9. I can do another log with Android Auto app for phone screen, no bluetooth just phone speaker audio, if you need it. Andre Link to comment Share on other sites More sharing options...
andrewilley Posted April 2, 2020 Share Posted April 2, 2020 Should be fine now in build 866. Andre Link to comment Share on other sites More sharing options...
Athanville Posted October 7, 2020 Share Posted October 7, 2020 i have a weird bug on my installation, i have a device specifically for the car that is left connected to usb, funny is how after the car shuts down, Poweramp will randomly just start playing. Anyone else getting this? Link to comment Share on other sites More sharing options...
Disturbd1 Posted October 7, 2020 Share Posted October 7, 2020 This still happens to me. Worse still: of I try to resume through my car's infotainment screen, Poweramp "crashes" on it and says it can't load. But if I unlock my phone and press Play from Poweramp it immediately begins to play and feed playback info to Android Auto again. Link to comment Share on other sites More sharing options...
OttoKrieg Posted October 6, 2021 Share Posted October 6, 2021 I'd like to contibute to fixing this issue as well. Samsung s10+, android 11 Link to comment Share on other sites More sharing options...
CaptainKishimoto Posted November 1, 2021 Share Posted November 1, 2021 Yeah this issue happens to me all the time (using latest build 906-911). Let me know what I can post to help. Link to comment Share on other sites More sharing options...
andrewilley Posted November 1, 2021 Share Posted November 1, 2021 Assuming that you have BT auto-resume turned off in PA, and also on your AA headunit too, take a look at PA Settings > Headset/Bluetooth > Last Processed Commands just after it happens, and see if there are any rogue commands in there. Andre Link to comment Share on other sites More sharing options...
CaptainKishimoto Posted November 3, 2021 Share Posted November 3, 2021 Not sure what I should be looking for but: ================== 21:40:27.361 BTReceiver headset event connection BT=true am mode=0 Mazda ================== 21:40:27.454 BTReceiver headset event disconnection BT=true am mode=0 Mazda no_keep_notif_on_dscn=false ================== 21:40:27.468 PlayerService onRoutingChanged newDevice=bt oldDevice=speaker ================== 21:40:27.468 PlayerService reloadPipeline allowPlaying=true forceResume=false state after reload=2 ================== 21:40:27.483 HeadsetPlugReceiver headset event disconnection BT=false am mode=0 no_keep_notif_on_dscn=false ================== 21:40:30.865 PlayerService onRoutingChanged newDevice=speaker oldDevice=bt ================== 21:40:30.865 PlayerService reloadPipeline allowPlaying=false forceResume=false state after reload=2 ================== 21:40:33.834 BTReceiver headset event connection BT=true am mode=0 Mazda ================== 21:40:33.924 BTReceiver headset event disconnection BT=true am mode=0 Mazda no_keep_notif_on_dscn=false ================== 21:40:33.931 PlayerService onRoutingChanged newDevice=bt oldDevice=speaker ================== 21:40:33.931 PlayerService reloadPipeline allowPlaying=true forceResume=false state after reload=2 ================== 21:40:34.856 PSMediaSessionHelper.Callback onPlay com.google.android.projection.gearhead ================== 21:40:36.998 PlayerService onRoutingChanged newDevice=speaker oldDevice=bt ================== 21:40:36.998 PlayerService reloadPipeline allowPlaying=false forceResume=false state after reload=2 ================== 21:40:40.349 BTReceiver headset event connection BT=true am mode=0 Mazda ================== 21:40:40.409 BTReceiver headset event disconnection BT=true am mode=0 Mazda no_keep_notif_on_dscn=false ================== 21:40:40.424 PlayerService onRoutingChanged newDevice=bt oldDevice=speaker ================== 21:40:40.424 PlayerService reloadPipeline allowPlaying=true forceResume=false state after reload=2 ================== 21:40:43.480 PlayerService onRoutingChanged newDevice=speaker oldDevice=bt ================== 21:40:43.480 PlayerService reloadPipeline allowPlaying=false forceResume=false state after reload=2 ================== 21:40:46.962 BTReceiver headset event connection BT=true am mode=0 Mazda ================== 21:40:47.047 PlayerService onRoutingChanged newDevice=bt oldDevice=speaker ================== 21:40:47.047 PlayerService reloadPipeline allowPlaying=true forceResume=false state after reload=2 ================== 21:40:47.920 BTReceiver headset event disconnection BT=true am mode=0 Mazda no_keep_notif_on_dscn=false ================== 21:40:50.267 PSMediaSessionHelper.Callback onPlay com.google.android.projection.gearhead ================== 21:40:50.947 PlayerService onRoutingChanged newDevice=speaker oldDevice=bt ================== 21:40:50.947 PlayerService reloadPipeline allowPlaying=false forceResume=false state after reload=2 ================== 21:40:53.344 BTReceiver headset event connection BT=true am mode=0 Mazda ================== 21:40:53.424 BTReceiver headset event disconnection BT=true am mode=0 Mazda no_keep_notif_on_dscn=false ================== 21:41:00.032 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 21:41:00.206 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA Link to comment Share on other sites More sharing options...
andrewilley Posted November 3, 2021 Share Posted November 3, 2021 @maxmp Any ideas? Andre Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now