org.freedesktop.Tracker.Extract.gschema.xml 2.58 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Nokia <ivan.frade@nokia.com>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA  02110-1301, USA.
-->
<schemalist>
21
  <schema id="org.freedesktop.Tracker.Extract" path="/org/freedesktop/tracker/extract/" gettext-domain="tracker-miners">
22
    <key name="verbosity" enum="org.freedesktop.TrackerMiners.TrackerVerbosity">
23
      <default>'errors'</default>
24 25
      <summary>Log verbosity</summary>
      <description>Log verbosity.</description>
26 27
    </key>

28
    <key name="sched-idle" enum="org.freedesktop.TrackerMiners.TrackerSchedIdle">
29
      <default>'first-index'</default>
30 31
      <summary>Scheduler priority when idle</summary>
      <description>
32 33 34
	The scheduler is the kernel component that decides which
	runnable application will be executed by the CPU next. Each
	application has an associated scheduling policy and priority.
35
      </description>
36 37
    </key>

38
    <key name="max-bytes" type="i">
39 40
      <summary>Max bytes to extract</summary>
      <description>Maximum number of UTF-8 bytes to extract.</description>
41 42 43
      <range min="0" max="10485760"/>
      <default>1048576</default>
    </key>
44 45

    <key name="max-media-art-width" type="i">
46 47
      <summary>Max media art width</summary>
      <description>Maximum width in pixels for any media art extracted. Anything bigger is resized. Set to -1 to disable saving media art from files. Setting to 0 sets no limit on the media art width.</description>
48 49 50
      <range min="-1" max="2048"/>
      <default>0</default>
    </key>
51 52

    <key name="wait-for-miner-fs" type="b">
53 54
      <summary>Wait for FS miner to be done before extracting</summary>
      <description>When true, tracker-extract will wait for tracker-miner-fs to be done crawling before extracting meta-data. This option is useful on constrained environment where it is important to list files as fast as possible and can wait to get meta-data later.</description>
55 56
      <default>false</default>
    </key>
57 58
  </schema>
</schemalist>