Skip to content

Opening Android App causes playback event #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JoAllg opened this issue Jun 10, 2022 · 8 comments
Closed

Opening Android App causes playback event #110

JoAllg opened this issue Jun 10, 2022 · 8 comments
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released

Comments

@JoAllg
Copy link

JoAllg commented Jun 10, 2022

Describe the bug
On Android opening the SpotTube App causes some kind of sound event to be sent, withouth any other user interaction.
I.e. if there has been music playing in another app then it is stopped and in the Notifications it shows that SpotTube is playing music right now (though there is no sound)

edit: just installed Spottube on PC and experienced a similar problem. Just by starting the App, it sends some sound event that confuses the playback of other apps (in this case, my bluetooth speaker stoped playing sound for a moment)

To Reproduce
Steps to reproduce the behavior:

  1. Open the SpotTube while playing music from another app
  2. Notice the music playing is stopped immediately
  3. Look at the notifications to see that SpotTube seems to play sound

Expected behavior
Do not play any sound / do not send any sound event to android until the user has told the app to play music.

Installation Source/Method
apk from github (2.2.1)

Smartphone (please complete the following information):

  • Device: Xiaomi Poco X3 NFC
  • OS: Android (ArrowOS)
  • Version 11
@JoAllg JoAllg added the bug Something isn't working label Jun 10, 2022
@KRTirtho
Copy link
Owner

Yeah, this is an intended behavior to warm up (initialize) the device speakers. But stopping other music coming from different source is unintended. I've to investigate a bit to find out why is this happening

@JoAllg
Copy link
Author

JoAllg commented Jun 10, 2022

Thanks for the fast reply. Please notice my edit, I experience a similar problem on Windows 10, though here it is only with a connected bluetooth speaker, not if I were to use the internal speakers of my laptop. On Android it happens in both cases.

@KRTirtho
Copy link
Owner

Latest version v2.3.0 is just released. Can you try checking if the issue got fixed

@JoAllg
Copy link
Author

JoAllg commented Jul 11, 2022

Hey, thanks for the reply! I checked on android only for now: Starting the App does not cause other Apps to stop playing music. However when I start a song in Spotube, then the playback of other apps is not stopped (causing two sounds to overlap) and vice versa. The same if a phone call is started.

@KRTirtho
Copy link
Owner

I'll be working on that for finding what's the cause

@KRTirtho
Copy link
Owner

KRTirtho commented Sep 9, 2022

Can you check again. It should be fixed in v2.4.0

@JoAllg
Copy link
Author

JoAllg commented Sep 10, 2022

The problems I described before are all fixed! The only thing I noticed is that after a phone call (to be exact, I tested calling with Whatsapp) the playback does not resume automatically, as I am accustomed from other apps.

@KRTirtho KRTirtho closed this as completed Mar 8, 2023
@KRTirtho KRTirtho added the deployed This issue has been fixed/implmented and has been released label Mar 8, 2023
@KRTirtho KRTirtho moved this to Deployed in Spotube Board Mar 8, 2023
@KRTirtho
Copy link
Owner

KRTirtho commented Mar 8, 2023

The only thing I noticed is that after a phone call (to be exact, I tested calling with Whatsapp) the playback does not resume automatically, as I am accustomed from other apps.

@JoAllg if it still happens, create a separate issue for it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployed This issue has been fixed/implmented and has been released
Projects
Status: Deployed
Development

No branches or pull requests

2 participants