<?xml version="1.0"?>
<info xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
	<id>previewgenerator</id>
	<name>Preview Generator</name>
	<summary>A preview pre-generation app</summary>
	<description><![CDATA[The Preview Generator app allows admins to pre-generate previews. The app listens to edit events and stores this information. Once a cron job is triggered it will generate start preview generation. This means that you can better utilize your system by pre-generating previews when your system is normally idle and thus putting less load on your machine when the requests are actually served.

The app does not replace on demand preview generation so if a preview is requested before it is pre-generated it will still be shown.
The first time you install this app, before using a cron job, you properly want to generate all previews via:
**./occ preview:generate-all -vvv**

**Important**: To enable pre-generation of previews you must add **php /var/www/nextcloud/occ preview:pre-generate** to a system cron job that runs at times of your choosing.]]>
	</description>
	<licence>AGPL</licence>
	<author>Roeland Jago Douma</author>
    <!-- set to a high version to avoid appstore upgrades -->
	<version>99.99.99</version>
	<namespace>PreviewGenerator</namespace>
	<category>multimedia</category>
	<website>https://github.com/rullzer/previewgenerator</website>
	<bugs>https://github.com/rullzer/previewgenerator/issues</bugs>
	<repository type="git">https://github.com/rullzer/previewgenerator.git</repository>
	<types>
		<filesystem/>
	</types>
	<dependencies>
		<php min-version="7.2"/>
		<nextcloud min-version="20" max-version="28" />
	</dependencies>

	<commands>
		<command>OCA\PreviewGenerator\Command\Generate</command>
		<command>OCA\PreviewGenerator\Command\DeleteOld</command>
		<command>OCA\PreviewGenerator\Command\PreGenerate</command>
	</commands>
</info>
