THETA SC2 Thumbnail Bug in listFiles API and Workaround

The SC2 API has a bug that prevents all the thumbnails from being displayed at one time.

The workaround is as follows:

  1. use camera.listFiles to get all the URLs from the camera
  2. store the urls into an array or list
  3. append ?type=thumb to the end of each URL
  4. pull down the desired number of files as bytes
  5. display the bytes on the mobile screen or save to storage

This is only needed with the SC2. The V and Z1 can get the thumbnail data with listFiles