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

Indexing takes long time with very many directories and no changes in filesystem #112

Closed MoleMan1024 closed 1 year ago

MoleMan1024 commented 1 year ago

Indexing many directories without any changes in filesystem is quite slow, see if this can be made faster.

See https://github.com/MoleMan1024/audiowagon/issues/108

gahabana commented 1 year ago

hi @MoleMan1024 , have you been able to make some progress on the issue ? Can we hope to see some update soon or is libaums really hopeless in this scenario ? ty !!!

MoleMan1024 commented 1 year ago

FYI I made one improvement for the next version.

MoleMan1024 commented 1 year ago

This is improved in version 2.3.8

gahabana commented 1 year ago

i have installed update to 2.3.8 and connected the same drive and clicked on 'Read Metadata' .... initially it started with going thorugh 100 files every 3-4 seconds but after a while it slowed down to 100 files every 7 seconds. Though it is faster then 2.3.7 it would still take about 45+ minutes with no changes to SSD content.

Not sure what else to do.... Have tried on my own to get virtual drive in SD emulator ... w/o success (can share output of adb and sm commands and i've changed in source code SD_CARD_ID to the one shown on the output of sm command)....

please let me know how i can help better.

thank you