-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPluginConfig.lua
More file actions
41 lines (31 loc) · 1.73 KB
/
PluginConfig.lua
File metadata and controls
41 lines (31 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--[[============================================================================
PluginConfig.lua
Plugin settings. Change values and reload the plugin.
============================================================================--]]
local PluginConfig = {}
-- ── Identifiers ──────────────────────────────────────────────────
PluginConfig.PLUGIN_ID = "pl.photocoder.metadata.plugin"
PluginConfig.XMP_NS = "http://ns.photocoder.pl/metadata/1.0/"
PluginConfig.XMP_PREFIX = "custmeta"
-- ── Logging ──────────────────────────────────────────────────────
--
-- "off" — logging disabled (production)
-- "error" — critical errors only
-- "warn" — errors + warnings
-- "trace" — full diagnostics (every operation, ExifTool commands)
-- "logfile" — alias for "trace", logs in ~/Documents/LrClassicLogs/
--
-- Change to "off" when the plugin is running stably.
PluginConfig.LOG_LEVEL = "logfile"
-- ── RAW file extensions ──────────────────────────────────────────
-- Files with these extensions will be written to a sidecar .xmp
-- instead of directly into the file.
PluginConfig.RAW_EXTENSIONS = {
nef = true, cr2 = true, cr3 = true, arw = true,
raf = true, orf = true, rw2 = true, pef = true,
srw = true, dng = true, raw = true, rwl = true,
nrw = true, iiq = true, mrw = true,
x3f = true, erf = true, mef = true, mos = true,
["3fr"] = true,
}
return PluginConfig