On the THETA X, if there are images in 5504x5504 format, the fileListing fails. The debug log shows the proper filelisting content. camera.listFiles
works.
Although the 5504x5504 format may not be officially supported, the output of camera.listFiles does work and thus, I can rewrite my app to get the fileListing from camera.listFiles
instead use using theta-client. However, I would like to use theta-client.
HttpClient: RESPONSE http://192.168.1.1/osc/commands/execute failed with exception: io.ktor.serialization.JsonConvertException: Illegal input
I/System.out(28352): {"name":"camera.listFiles","parameters":{"fileType":"all","startPosition":0,"entryCount":10000,"maxThumbSize":0,"_detail":true}}
I/System.out(28352): BODY END
I/System.out(28352): HttpClient: RESPONSE: 200 OK
I/System.out(28352): METHOD: HttpMethod(value=POST)
I/System.out(28352): FROM: http://192.168.1.1/osc/commands/execute
I/System.out(28352): COMMON HEADERS
I/System.out(28352): -> Connection: Keep-Alive
I/System.out(28352): -> Content-Length: 1525
I/System.out(28352): -> Content-Type: application/json; charset=utf-8
I/System.out(28352): -> User-Agent: Dalvik/2.1.0 (Linux; U; Android 10; RICOH THETA X Build/QKQ1.210402.001)
I/System.out(28352): -> X-Content-Type-Options: nosniff
I/System.out(28352): BODY Content-Type: application/json; charset=utf-8
I/System.out(28352): BODY START
I/System.out(28352): {"results":{"entries":[{"dateTimeZone":"2024:02:19 14:10:37-08:00","_favorite":false,"fileUrl":"http://192.168.1.1/files/100RICOH/R0010007.JPG","height":5504,"_imageDescription":"","isProcessed":true,"name":"R0010007.JPG","previewUrl":"","_projectionType":"","size":5271438,"_storageID":"412176649172527ab3d5edabb50a7d69","_thumbSize":6181,"_uploaded":false,"width":5504},{"dateTimeZone":"2024:02:18 08:09:56-08:00","_favorite":false,"fileUrl":"http://192.168.1.1/files/100RICOH/R0010003.JPG","height":2752,"_imageDescription":"","isProcessed":true,"name":"R0010003.JPG","previewUrl":"","_projectionType":"Equirectangular","size":4214567,"_storageID":"412176649172527ab3d5edabb50a7d69","_thumbSize":10729,"_uploaded":false,"width":5504},{"dateTimeZone":"2024:02:17 14:21:23-08:00","_favorite":false,"fileUrl":"http://192.168.1.1/files/100RICOH/R0010002.JPG","height":2752,"_imageDescription":"","isProcessed":true,"name":"R0010002.JPG","previewUrl":"","_projectionType":"Equirectangular","size":4238256,"_storageID":"412176649172527ab3d5edabb50a7d69","_thumbSize":7534,"_uploaded":false,"width":5504},{"dateTimeZone":"2024:02:17 14:21:15-08:00","_favorite":false,"fileUrl":"http://192.168.1.1/files/100RICOH/R0010001.JPG","height":2752,"_imageDescription":"","isProcessed":true,"name":"R0010001.JPG","previewUrl":"","_projectionType":"Equirectangular","size":4218202,"_storageID":"412176649172527ab3d5edabb50a7d69","_thumbSize":7578,"_uploaded":false,"width":5504}],"totalEntries":4},"name":"camera.listFiles","state":"done"}
I/System.out(28352): BODY END
I/System.out(28352): HttpClient: RESPONSE http://192.168.1.1/osc/commands/execute failed with exception: io.ktor.serialization.JsonConvertException: Illegal input
The official mobile app doesn't list the files in 5504x5504 format, but the other files are listed. This is better behavior than just showing an error. Also, information is in camera.listFiles
. Is there any problem showing it?
"fileUrl":"http://192.168.1.1/files/100RICOH/R0010007.JPG","height":5504,"_imageDescription":"","isProcessed":true,"name":"R0010007.JPG","previewUrl":"","_projectionType":"","size":5271438,"_storageID":"412176649172527ab3d5edabb50a7d69","_thumbSize":6181,"_uploaded":false,"width":5504