<?xml version="1.0" encoding="utf-8"?>

<schemalist gettext-domain="celluloid">
	<schema	path="/io/github/celluloid-player/celluloid/"
		id="io.github.celluloid-player.Celluloid">
		<child	schema="io.github.celluloid-player.Celluloid.window-state"
			name="window-state" />

		<key name="settings-migrated" type="b">
			<default>false</default>
			<summary>Whether the settings has already been migrated from the previous version</summary>
			<description>
			</description>
		</key>
		<key name='autofit-enable' type='b'>
			<default>true</default>
			<summary>Automatically resize window to fit video</summary>
			<description>
			</description>
		</key>
		<key name="dark-theme-enable" type="b">
			<default>true</default>
			<summary>Enable dark theme</summary>
			<description>
			</description>
		</key>
		<key name="csd-enable" type="b">
			<default>true</default>
			<summary>Enable client-side decorations</summary>
			<description>
			</description>
		</key>
		<key name="always-use-floating-controls" type="b">
			<default>false</default>
			<summary>Use floating controls in windowed mode</summary>
			<description>
			</description>
		</key>
		<key name="always-autohide-cursor" type="b">
			<default>false</default>
			<summary>Automatically hide mouse cursor in windowed mode</summary>
			<description>
			</description>
		</key>
		<key name="controls-unhide-cursor-speed" type="d">
			<default>0</default>
			<summary>The minimum cursor speed at which floating controls will be unhidden.</summary>
			<description>
			</description>
		</key>
		<key name="controls-dead-zone-size" type="d">
			<range min="0" max="1"/>
			<default>0</default>
			<summary>Size of the dead zone in which cursor movement will not cause the controls to be shown.</summary>
			<description>
			</description>
		</key>
		<key name="use-skip-buttons-for-playlist" type="b">
			<default>false</default>
			<summary>Use skip buttons for controlling playlist</summary>
			<description>
			</description>
		</key>
		<key name="last-folder-enable" type="b">
			<default>false</default>
			<summary>Make file chooser remember last file's location</summary>
			<description>
			</description>
		</key>
		<key name="always-open-new-window" type="b">
			<default>false</default>
			<summary>Always open new window</summary>
			<description>
			</description>
		</key>
		<key name="always-append-to-playlist" type="b">
			<default>false</default>
			<summary>Always append opened files to playlist</summary>
			<description>
			</description>
		</key>
		<key name="mpv-options" type="s">
			<default>""</default>
			<summary>Options to pass to mpv</summary>
			<description>
			</description>
		</key>
		<key name="mpv-config-file" type="s">
			<default>""</default>
			<summary>Path to mpv configuration file</summary>
			<description>
			</description>
		</key>
		<key name="mpv-config-enable" type="b">
			<default>false</default>
			<summary>Load mpv configuration file</summary>
			<description>
			</description>
		</key>
		<key name="mpv-input-config-file" type="s">
			<default>""</default>
			<summary>Path to mpv input configuration file</summary>
			<description>
			</description>
		</key>
		<key name="mpv-input-config-enable" type="b">
			<default>false</default>
			<summary>Load mpv input configuration file</summary>
			<description>
			</description>
		</key>
		<key name="mpris-enable" type="b">
			<default>true</default>
			<summary>Enable MPRIS support</summary>
			<description>
			</description>
		</key>
		<key name="media-keys-enable" type="b">
			<default>true</default>
			<summary>Enable media keys support</summary>
			<description>
			</description>
		</key>
		<key name="prefetch-metadata" type="b">
			<default>true</default>
			<summary>Prefetch metadata</summary>
			<description>
			</description>
		</key>
		<key name="ignore-playback-errors" type="b">
			<default>false</default>
			<summary>Ignore playback errors</summary>
			<description>
			</description>
		</key>
		<key name="inhibit-idle" type="b">
			<default>true</default>
			<summary>Inhibit session idling</summary>
			<description>
			</description>
		</key>
	</schema>

	<schema	path="/io/github/celluloid-player/celluloid/window-state/"
		id="io.github.celluloid-player.Celluloid.window-state">
		<key name="width" type="i">
			<default>640</default>
			<summary>Width of the window</summary>
			<description>
			</description>
		</key>
		<key name="height" type="i">
			<default>480</default>
			<summary>Height of the window</summary>
			<description>
			</description>
		</key>
		<key name="maximized" type="b">
			<default>false</default>
			<summary>Whether or not the window is maximized</summary>
			<description>
			</description>
		</key>
		<key name="volume" type="d">
			<range min="0" max="1"/>
			<default>1.0</default>
			<summary>Volume of player</summary>
			<description>
			</description>
		</key>
		<key name="loop-playlist" type="b">
			<default>false</default>
			<summary>Whether or not to loop when the end of playlist is reached</summary>
			<description>
			</description>
		</key>
		<key name="playlist-width" type="i">
			<default>250</default>
			<summary>Width of the playlist</summary>
			<description>
			</description>
		</key>
		<key name="show-controls" type="b">
			<default>true</default>
			<summary>Show or not show the controls</summary>
			<description>
			</description>
		</key>
		<key name="show-playlist" type="b">
			<default>false</default>
			<summary>Show or not show the playlist</summary>
			<description>
			</description>
		</key>
		<key name="last-folder-uri" type="s">
			<default>""</default>
			<summary>URI of the last folder accessed</summary>
			<description>
			</description>
		</key>
	</schema>
</schemalist>
