MoleMan1024 / audiowagon

AudioWagon will play audio files from an attached USB flash drive in cars equipped with Android Automotive OS
https://moleman1024.github.io/audiowagon/
GNU General Public License v3.0
58 stars 17 forks source link

Hang/no reaction for folders with cover images (version 2.2.2) #88

Closed MoleMan1024 closed 1 year ago

MoleMan1024 commented 1 year ago

Describe the issue Notified by e-mail and could reproduce locally when there are external cover.jpg or similar files present in a directory. AudioWagon 2.2.2 will hang indefinitely, eject will not react and nothing will playback. The buffering or playback action looks like it is going on but some thread seems stuck somewhere

AudioWagon version 2.2.2

Logfiles log.zip

Photos screen2

MoleMan1024 commented 1 year ago

I could reproduce this when using a cover.jpg in a folder with some larger flac files. Did not happen with .mp3s for me, but might be related to a certain timing.

MoleMan1024 commented 1 year ago

Extracting album art was using runBlocking, seems to work better after moving this to AlbumArtContentProvider.

MoleMan1024 commented 1 year ago

Deadlock occurs when loading external cover art images from a folder, a fix is prepared.

MoleMan1024 commented 1 year ago

Fixed in version 2.2.3