{
	"items": [
	{
		"name": "KOReader",
		"priority": 0,
		"items": [
		{
			"name": "Start the filemanager",
			"if": "\"KindleVoyage\" -m!",
			"priority": 1,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual /mnt/us/documents",
			"status": false,
			"internal": "status Start KOReader on the File Manager"
		},
		{
			"name": "Start the filemanager",
			"if": "\"KindleVoyage\" -m",
			"priority": 1,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual /mnt/us/documents",
			"exitmenu": false,
			"status": false,
			"internal": "status Start KOReader on the File Manager"
		},
		{
			"name": "Open the last document",
			"if": "\"KindleVoyage\" -m!",
			"priority": 2,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual",
			"status": false,
			"internal": "status Start KOReader on the last document"
		},
		{
			"name": "Open the last document",
			"if": "\"KindleVoyage\" -m",
			"priority": 2,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual",
			"exitmenu": false,
			"status": false,
			"internal": "status Start KOReader on the last document"
		},
		{
			"name": "Start the filemanager (no framework)",
			"if": "\"Kindle2\" -m \"KindleDX\" -m \"KindleDXG\" -m \"Kindle3\" -m \"Kindle4\" -m || || || ||",
			"priority": 3,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --framework_stop /mnt/us/documents",
			"status": false,
			"internal": "status Kill the framework and start KOReader's FM"
		},
		{
			"name": "Open the last document (no framework)",
			"if": "\"Kindle2\" -m \"KindleDX\" -m \"KindleDXG\" -m \"Kindle3\" -m \"Kindle4\" -m || || || ||",
			"priority": 4,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --framework_stop",
			"status": false,
			"internal": "status Kill the framework and start KOReader"
		},
		{
			"name": "Start the filemanager (ASAP)",
			"if": "\"KindleVoyage\" -m!",
			"priority": 5,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --asap /mnt/us/documents",
			"status": false,
			"internal": "status Start KOreader on the File Manager ASAP"
		},
		{
			"name": "Start the filemanager (ASAP)",
			"if": "\"KindleVoyage\" -m",
			"priority": 5,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --asap /mnt/us/documents",
			"exitmenu": false,
			"status": false,
			"internal": "status Start KOreader on the File Manager ASAP"
		},
		{
			"name": "Open the last document (ASAP)",
			"if": "\"KindleVoyage\" -m!",
			"priority": 6,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --asap",
			"status": false,
			"internal": "status Start KOreader on the last document ASAP"
		},
		{
			"name": "Open the last document (ASAP)",
			"if": "\"KindleVoyage\" -m",
			"priority": 6,
			"action": "/mnt/us/koreader/koreader.sh",
			"params": "--kual --asap",
			"exitmenu": false,
			"status": false,
			"internal": "status Start KOreader on the last document ASAP"
		},
		{
			"name": "Tools",
			"priority": 7,
			"items": [
			{
				"name": "Update KOReader",
				"priority": 1,
				"action": "./bin/koreader-ext.sh",
				"params": "update_koreader",
				"exitmenu": false,
				"checked": true,
				"refresh": false,
				"status": false,
				"internal": "status Try to update KOReader . . ."
			},
			{
				"name": "Clean Install of KOReader",
				"priority": 2,
				"action": "./bin/koreader-ext.sh",
				"params": "install_koreader",
				"exitmenu": false,
				"checked": true,
				"refresh": false,
				"status": false,
				"internal": "status Try to install KOreader from scratch . . ."
			}
			]
		}
		]
	}
	]
}
