toasterofbread / spmp

A YouTube Music client with a focus on customisation of colours and song metadata. Built with Compose Multiplatform for Android and desktop.
GNU General Public License v3.0
980 stars 42 forks source link

With broken songs, weirdness begins #356

Open Vladik01-11 opened 1 month ago

Vladik01-11 commented 1 month ago

Checklist

Steps to reproduce

  1. Play the song several times so that it downloads and saves locally
  2. At the time when it should load, turn off the Internet, the application will stop or something like that.
  3. If it stops playing during playback, then a bug has been fixed.

Expected behavior

Correct song playback

Actual behavior

It can be both together and separately: Extraneous noise; Low volume; Any songs stop playing until the app stops completely.

Screenshots / recordings

At the end of the first session, the defective song began to play with interference + blocking the playback of songs, and in the second only blocking.

https://github.com/user-attachments/assets/c34e0bf5-8bd5-49cb-9616-6e1a49db2f4b

Logs

12_08-18-31-12_220.zip

SpMp version

0.4.0 Beta (e6ed0ea)

SpMp platform

Android

OS version

Android 13, NoRoot

Additional information

This error is very rare, which makes it difficult for me to catch logs, and so once because of this, logs for the release version were provided. Because I can easily catch the current bug on the release version, because now there is a song on it, because of which it is being played. This does not mean that the bug is not in the debug version, it is just unknown when it will occur in the debug version. Both songs have already been saved on the device where the first beat is (or something is wrong with it)

toasterofbread commented 1 month ago

Try this build

Vladik01-11 commented 1 month ago

Try this build

the same thing, here's the log 12_08-22-39-38_870.zip

toasterofbread commented 1 month ago

I only see the first song (B66nlOL7LCY) being played in that log. Are you sure you performed the same actions (playback of both songs breaking)?

Vladik01-11 commented 1 month ago

I only see the first song (B66nlOL7LCY) being played in that log. Are you sure you performed the same actions (playback of both songs breaking)?

at the same time, there is no log, but the problem has not gone behind the scenes, now I will check almost the same as initially. 14_08-21-15-26_611.zip in the 1st and 2nd sessions after playing that ill-fated song, there was interference and low volume

toasterofbread commented 2 weeks ago

Hmm, neither of those logs seem to contain any useful indicators.

A few questions:

Vladik01-11 commented 2 weeks ago

You said the issue is rare. Is it rare to find a song that triggers the issue, or does it occur rarely even for a specific song? Does it seem to happen with every song?

I was referring to an issue that stops a song from playing and to this there may be low volume or interference. This bug CAN happen with any song that is most likely already loaded on the device, I don't know the specific cause of the bug, I can listen to songs in the background for 4 hours and catch this bug or after 20 minutes.

When you say 'At the time when it should load', what do you mean exactly?

When I wrote this, I thought that it is the time when listening to a song that the song should save on the device when the network is interrupted, Android decides to kill the background process or any other that explicitly interrupts the song playback / downloading, can affect this bug, now I don't know the specific reasons, sorry 😖