Theta API on Ricoh Theta X camera.listFiles unexpected behavior

I’ll report your findings to RICOH. @jcasman and I have a meeting with a manager form RICOH on Thursday.

In parallel, I’ll try and do more tests with the THETA X to help illustrate the problem.

firmware 1.20.0 on THETA X

image

listFiles with entryCount 2

{
	"name": "camera.listFiles",
	"parameters": {
		"fileType": "image",
		"entryCount": 2,
		"maxThumbSize": 0
	}
}

Result

Unexpected behavior. Showing all files

listFiles with _detail to true

{
	"name": "camera.listFiles",
	"parameters": {
		"fileType": "image",
		"entryCount": 2,
		"maxThumbSize": 0,
		"_detail": true
	}
}

Unexpected behavior. Showing all files.

{
	"results": {
		"entries": [
			{
				"dateTimeZone": "2022:08:10 19:28:44-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1.1/files/100RICOH/R0011225.JPG",
				"height": 2752,
				"_imageDescription": "",
				"isProcessed": true,
				"name": "R0011225.JPG",
				"previewUrl": "",
				"_projectionType": "Equirectangular",
				"size": 4412165,
				"_thumbSize": 12542,
				"width": 5504
			},
			{
				"dateTimeZone": "2022:08:10 19:18:34-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1.1/files/100RICOH/R0011224.JPG",
				"height": 2752,
				"_imageDescription": "",
				"isProcessed": true,
				"name": "R0011224.JPG",
				"previewUrl": "",
				"_projectionType": "Equirectangular",
				"size": 4445500,
				"_thumbSize": 14901,
				"width": 5504
			},
			{
				"dateTimeZone": "2022:08:10 19:18:22-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1.1/files/100RICOH/R0011223.JPG",
				"height": 2752,
				"_imageDescription": "",
				"isProcessed": true,
				"name": "R0011223.JPG",
				"previewUrl": "",
				"_projectionType": "Equirectangular",
				"size": 4260326,
				"_thumbSize": 15255,
				"width": 5504
			},
			{
				"dateTimeZone": "2022:08:10 19:17:41-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1

using startPosition 0

{
	"name": "camera.listFiles",
	"parameters": {
		"fileType": "image",
		"entryCount": 2,
		"startPosition": 0,
		"maxThumbSize": 0,
		"_detail": true
	}
}

result

works with expected behavior

{
	"results": {
		"entries": [
			{
				"dateTimeZone": "2022:08:10 19:28:44-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1.1/files/100RICOH/R0011225.JPG",
				"height": 2752,
				"_imageDescription": "",
				"isProcessed": true,
				"name": "R0011225.JPG",
				"previewUrl": "",
				"_projectionType": "Equirectangular",
				"size": 4412165,
				"_thumbSize": 12542,
				"width": 5504
			},
			{
				"dateTimeZone": "2022:08:10 19:18:34-07:00",
				"_favorite": false,
				"fileUrl": "http://192.168.1.1/files/100RICOH/R0011224.JPG",
				"height": 2752,
				"_imageDescription": "",
				"isProcessed": true,
				"name": "R0011224.JPG",
				"previewUrl": "",
				"_projectionType": "Equirectangular",
				"size": 4445500,
				"_thumbSize": 14901,
				"width": 5504
			}
		],
		"totalEntries": 355
	},
	"name": "camera.listFiles",
	"state": "done"
}
1 Like