Duplicated 'size' field in JSON output

Found a bug in "Everything"? report it here
Post Reply
linuxmant
Posts: 1
Joined: Thu Oct 26, 2017 2:57 am

Duplicated 'size' field in JSON output

Post by linuxmant »

Hello, I'm trying to automate the download of a folder using everything but when I get the response from the HTTP server after calling the url for a folder, I get "file" items with two 'size' fields, one is empty and the other has the actual size of the file.
Also the query string parameters for size and date created don't seem to work, I still get those fields in the Json response

Sample call:
'http://localhost/J%3A/My%20Recordings?j ... ize_column'

Response:

Code: Select all

{
	"results": [{
		"type": "folder",
		"name": "MBHBA-music_data",
		"size": "",
		"date_modified": "131253694229441539"
	}, {
		"type": "file",
		"name": "MBHBA-music.aup",
		"size": "",				<<------------ invalid json
		"size": "5205",
		"date_modified": "131253707813107688"
	}]
}
Thanks for the awesome app.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Duplicated 'size' field in JSON output

Post by void »

Thanks for the bug report.

Everything is sending the size twice when sorting the results by anything other than name ascending.

The first size: is always blank.

I've fixed the issue for the next release of Everything.
For now, please sort results by name.
Post Reply