AIMP Forum

AIMP for Android => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: JayGuerette on August 04, 2023, 23:37:28

Title: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 04, 2023, 23:37:28
Playing MP3 files with associated CUE files connected to bluetooth host. When first connecting, the artist/song data is sent, but when advancing to the next song in the playlist, it updates in the AIMP interface, but not on the bluetooth host. Stopping & starting playback doesn't fix it. Disconnecting & reconnecting bluetooth doesn't fix it. Used to work in v3. I verified it with multiple laptops and my car: they all see the same symptom.

Update: I also verified this bug exists with manually created playlists from MP3s on the device, and is unrelated to CUE files.

Update: I tried switching AVRCP versions, and at first I thought going from the default 1.5 to 1.4  resolved the issue, but it quickly returned.
Title: Re: [1347] Bluetooth artist/song data not updated on playlist advance
Post by: Artem on August 06, 2023, 20:58:27
Refer to the "About" dialog of the app, and check the "enable logging" option. Restart the app. Now, reproduce an issue and send the log file to me. Please, report to me a approximate time when issue was happened.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 22, 2023, 01:06:10
Attached is the debug output. I connected to bluetooth on my laptop and began playing music. The meta data was sent to the laptop and was displayed. When I went to the next song, the meta data would update. I then disconnected bluetooth, enabled logging, and reconnected bluetooth. The meta data was NOT sent to the laptop. I advanced through the play  list twice, for 3 songs total, and my laptop never displayed updated meta data. I can duplicate the exact same behavior in my car.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: Artem on August 22, 2023, 10:45:50
As I can see in log, AIMP send information about following tracks:

Quote
updateMeta(Sonata per flauto dritto e basso continuo in fa Magg. BWV1033 (Frans Bruggen, flauto diritto - Anner Bylsma, violoncello - Gustav Leonhardt, clavicembalo))
updateMeta(Suite per pianoforte in Mi minore HWV438 (Ragna Schirmer, pianoforte))
updateMeta(Concerto per violino e archi in do Maggiore (Giuliano Carmignola, violino - Venice Baroque Orchestra - Andrea Marcon, direttore))

Please, try this build:
https://disk.yandex.ru/d/u8vR-DS3xxcX4Q
And give me about your results
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 22, 2023, 14:55:41
Same testing procedure as before. I did it twice and got the same result each time.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 22, 2023, 15:31:11
Although I did this previously, I tested again using v3.30.1250 on my wife's phone (older, stuck at Android 9) with the same laptop and the same mp3/cue files, and I'm unable to reproduce the problem. It's definitely not the laptop.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: Artem on August 22, 2023, 16:43:11
But I'm not change anything in media session implementation in v4. v4 bring with music library and tag editing feature. That's all.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 22, 2023, 17:53:55
I just tried VLC. I didn't try it before because it doesn't support CUE files, but I just realized if I pointed it at a network stream that provided metadata, I might be able to reproduce the issue: it did the exact some thing.

I'll try Android support. Thanks for looking into this.

Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 23, 2023, 22:04:58
I ended up contacting Samsung.

They asked if I was using Samsung Music, I said no, and they said it was the app's fault. I didn't want to go down that route, so I installed Samsung Music.

It worked. I could not reproduce the problem .... and then I noticed that every app I tried worked.

I rebooted. I tried again, every app was still working. So I uninstalled Samsung Music .... and suddenly every app I tried exhibited the same problem: no song/artist updates on advance.

I reinstalled Samsung Music. I did not open it ... and suddenly every app I tried worked.

 ???
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: Artem on August 23, 2023, 22:43:51
Mystic..
So, if I understand correctly, now all app (including AIMP) works fine, right?
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: JayGuerette on August 23, 2023, 23:17:30
Correct.

I am, at least at the moment, unable to reproduce any of this issues I saw before. Previously, I could easily & repeatably reproduce the problem in under a minute.
Title: Re: [x] [1347] Bluetooth artist/song data not updated on playlist advance
Post by: Artem on August 23, 2023, 23:46:40
OK, thanks