rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

PI-608 uploader frozen while reading file header #98

Closed naluinui closed 3 years ago

naluinui commented 3 years ago

✅ DoD

📝 Summary

The problem was the app auto-set timestamp format of the site to be 'File Header' which required to read in every file header to get the metadata out, so I fixed this by:

  1. Set the timestamp format to be 'Auto-detect' and let the app read the timestamp from filename instead. If the users want to use 'File Header' they can change the settings anytime in the prepare tab.
  2. When insert site and files attached to that site, I also pass the device information that we got from the first audio file header with it. So we know those files are files from AudioMoth without reading the file headers of every file.

🛑 Problems