SimpleMobileTools / Simple-Music-Player

A clean music player with a customizable widget, stylish interface and no ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
1.26k stars 410 forks source link

Playback issues in 5.18.0 #604

Open anyuta1166 opened 9 months ago

anyuta1166 commented 9 months ago

Hello. After upgrading to version 5.18.0 I have some major issues with playback.

  1. Every time after switching to the next track, the player hangs for a few seconds. The track is successfully played, but the the song progress stays at 00:00 and the player doesn't respond to play/pause button.
  2. There are a lot of sound interruptions during playback.
  3. The player cannot be completely closed. It stays in notification bar forever (until reboot). Pressing "x" (close) button in notification does nothing.

Version 5.17.1 works perfectly without any issues.

Device: Tecno Spark Go 2022 (Android 11).

tibbi commented 9 months ago

maybe @naveensingh can take a look at it

anyuta1166 commented 9 months ago
  1. Repeatedly pressing next or previous track button causes the application to completely hang (showing the system dialog "application does not responding" with close and wait buttons).
ionuttbara commented 9 months ago

same in lastest version 5.18.1 +1. another thing, the app is slow when use bigger libraries (~2500 FLAC songs ,and ~1500 MP3 songs) , where in previous version is not slow.

sezanzeb commented 9 months ago

Can't confirm any freezes and such. 5.18.0 runs fast for me with ~7000 lossy files. And after a really short test, 5.18.1 seems to work fine for me as well.

Android 13, LineageOS 20-20230604-microG-FP4

sezanzeb commented 9 months ago

I get a laggy ui when shuffling through the complete library. Like that it takes some time before it starts playing the next song. Jumping within a track is also really unresponsive in that case.

Works fine when the playlist is shorter.

On both 5.18.0 and 5.18.1

naveensingh commented 9 months ago

Hello!

@anyuta1166

Every time after switching to the next track, the player hangs for a few seconds. The track is successfully played, but the the song progress stays at 00:00 and the player doesn't respond to play/pause button.

How many songs do you have in your playlist? Can you check this again with only 5-10 songs?

There are a lot of sound interruptions during playback.

Can you describe the kind of interruptions? Does it just go silent for a moment?

The player cannot be completely closed. It stays in notification bar forever (until reboot). Pressing "x" (close) button in notification does nothing.

After pressing the X in the notification, are the next/previous buttons still visible in the notification?


@ionuttbara

another thing, the app is slow when use bigger libraries (~2500 FLAC songs ,and ~1500 MP3 songs) , where in previous version is not slow.

Please share your device model and android version.


@sezanzeb

I get a laggy ui when shuffling through the complete library. Like that it takes some time before it starts playing the next song. Jumping within a track is also really unresponsive in that case.

Just to confirm, the UI lag is observed if you turn on shuffle mode in the player on 5.18.0 and above but not on previous versions?

What device are you using?

ionuttbara commented 9 months ago

Samsung Galaxy A73, Android 13 + Asus ZenFone ZC520KL Android 8.

JillianLaville commented 9 months ago

Found a workaround , on some of these issues with gapless play back disabled.

naveensingh commented 9 months ago

@JillianLaville can you tell me exactly what issue was fixed by disabling gapless playback?

@anyuta1166 can you check if this workaround (disabling gapless playback) works for your second case? (sound interruptions)

JillianLaville commented 9 months ago

@naveensingh I had a problem where the reproduction would stop sending audio after a playback, regardless of it being in any kind of repeat mode, it was fixed by moving the progress of the song or time, but after automatically starting a new track it would be muted without the sound of my phone being muted or the sound signal being sent to another devices, it happened regardless of which device I used to listen to, after I disabled the gapless playback, as far as I've seen it will continue playing with sound after a new track plays.

naveensingh commented 9 months ago

@JillianLaville are you playing recordings or audio books with silenced parts or is it just casual music?

JillianLaville commented 9 months ago

@naveensingh Just casual Music, shouldn't be any silenced parts, it was the same music I was always listening previously and suddenly had this problem occur consistently a couple days ago.

naveensingh commented 9 months ago

Got it. Are you also facing any delays or lags as others have mentioned?

Please also share your device info.

JillianLaville commented 9 months ago

Not really, just when it changes track it needs a couple of seconds to actualize the display and title of song, but it doesn't hinder UI traversal or performance.

@naveensingh Specs: Model MotoG42 XT2233-2 Android 12 4GB RAM 2400X1080 Screen App Version 5.18.1

naveensingh commented 9 months ago

understood, that will be fixed too.

sezanzeb commented 9 months ago

Just to confirm, the UI lag is observed if you turn on shuffle mode in the player on 5.18.0 and above but not on previous versions?

Not observing lags on 5.17.1

From 5.18 on: Both with and without shuffle. It only happens when playing back every song in my library (i.e. clicking on a track in the tracks list without filtering). It doesn't happen on a smaller subset (like when selecting songs of a particular genre only)

What device are you using?

Fairphone 4

Gapless playback is off