AIMP Forum

AIMP for Android => Вопросы / Questions => Topic started by: sargan on August 02, 2021, 20:22:09

Title: How do I stop Auto Play
Post by: sargan on August 02, 2021, 20:22:09
Recently installed AIMP ... on Galaxy S20

Plays my Audio files OK.

However, issue is it starts playing on its own .....
Scenario, I am on a call, with BlueTooth headset, I finish call ..... and AIMP start-up and plays an audio file form my phone.

This is annoying, how do I stop this Auto Play.
Title: Re: How do I stop Auto Play
Post by: Artem on August 02, 2021, 23:33:52
Refer to the "About" dialog of the app, and check the "enable logging" option. Now, reproduce an issue and send the log file to me.
Title: Re: How do I stop Auto Play
Post by: sargan on August 03, 2021, 13:51:18
Just reproduced ...
Made a call using headset .... finished call .... about 20 sec later AIMP start playing.
I go to App (which I had not started) press pause ... it stops
Put hone down .... starts playing again  ... again press pause  it stops
Even If I go to menu and press EXIT   .. it still restarts after 20-30 sec delay

I can't stop it playing unless I break Bluetooth connection to Headset

I have no idea where the Log file will be, can you advise where I can find this.



Title: Re: How do I stop Auto Play
Post by: Artem on August 03, 2021, 21:22:40
I have no idea where the Log file will be, can you advise where I can find this.

In the about screen, click the "share" button that displayed next to the "enable logging" option
Title: Re: How do I stop Auto Play
Post by: sargan on August 04, 2021, 10:26:33
Log attached

Seems only way I can stop it 'auto start' playing is to disable BlueTooth link to headset, it does not auto-play over phone speakers.
Title: Re: How do I stop Auto Play
Post by: Artem on August 04, 2021, 21:29:38
Please, try on v3.20 beta:
https://disk.yandex.ru/d/GSNGv8WzhTpq_A

We have improved our code to prevent from unexpected app start up.
Title: Re: How do I stop Auto Play
Post by: sargan on August 04, 2021, 23:21:04
When I use that link all the pages & instructions are in Russian.

Do you have an English version please.

UPDATE - I used Google translate and found it was asking to install Yandesk.disk      and then download to that ..... just elected simple download instead.
Installed .... will see how it works.
Title: Re: How do I stop Auto Play
Post by: Artem on August 05, 2021, 09:00:04
When I use that link all the pages & instructions are in Russian.

Do you have an English version please.

UPDATE - I used Google translate and found it was asking to install Yandesk.disk      and then download to that ..... just elected simple download instead.
Installed .... will see how it works.

Hm, its should be automatically switch the language to English. You not need to install anything to download the file. Just click the download button
Title: Re: How do I stop Auto Play
Post by: ZeoN7 on August 05, 2021, 09:57:06
When I use that link all the pages & instructions are in Russian.

Do you have an English version please.

UPDATE - I used Google translate and found it was asking to install Yandesk.disk      and then download to that ..... just elected simple download instead.
Installed .... will see how it works.
Just select English language at bottom-right corner
and there is white button "Download"

(https://www.aimp.ru/forum/index.php?action=dlattach;topic=67382.0;attach=64209)
Title: Re: How do I stop Auto Play
Post by: sargan on August 12, 2021, 17:33:34
This Beta version is just the same ...... still getting autoiplay.

I can give exact scenario today
Phone had been booted up ... so all connections new
All fine for a few Hrs.
Answering incoming calls with phone fine (no headset)
Used my mobile to make an outgoing call - using Plantronics BlueTooth headset ..... call made fine.
When I finshed call.
Put phone on desk, and headset back in cradle ---- NO call active

Several minutes later AIMP auto started playing audio files.
There was no request or action from me to play music, it seems AIMP just starts playing after a Bluetooth call.
I put the player on 'pause' a couple of minutes later restarted playing again.

Had to close the BlueTooth connection to stop this.    This is not something I want to do as need to be able to use my BlueTooth headset to make/receive calls.

I attach Debug Log from today


Title: Re: How do I stop Auto Play
Post by: Artem on August 13, 2021, 14:32:49
Seems that app was started on click the headset main button (I have no idea why OS forward command to our app if its not running), but immediately suspended on loosing the audio focus (by outcoming call?), after the call OS has restore the audio focus, so player resumes the state.

I think that you have not set the "ignore external commands if player is not running" option (Settings \ Integration). Please, try to switch it on.
Title: Re: How do I stop Auto Play
Post by: sargan on August 17, 2021, 17:51:39
I had not chnag3ed any settings - just installed and added folders.
Have now selected that option ... be good if it fixes it.