Skip to content

Adobe Lightroom Classic Library Smart Collections

Adnan Asani edited this page Nov 10, 2024 · 6 revisions

File Formats (File Type)

  • criteria: fileFormat
  • operation: <operation> (see Enum operations)
  • value: <value> (see Enum values)

Enum operations

Operation Description
== Maps to is
!= Maps to is not

Enum values

File Format Value
TIFF TIFF
PSD PSD
RAW RAW
JPEG JPEG
DNG DNG

There are more File Types / File Formats supported by Adobe Lightroom Classic, but these are the most common one when working within a project.

Applying File Format on boot.config.yml

Yaml

name: psd
prefix: file-format
combineType: intersect
config:
  fileFormat:
    criteria: fileFormat
    operation: "=="
    value: "PSD"

Output

Filename: file-format - psd.lrsmcol

s = {
	id = "C3EC51FB-08A6-4988-85DE-A6D98E93D593",
	internalName = "fileFormat - psd",
	title = "fileFormat - psd",
	type = "LibrarySmartCollection",
	value = {
		{
			criteria = "fileFormat",
			operation = "==",
			value = "PSD",
		},
		combine = "intersect",
	},
	version = 0,
}

Screenshot

!


Label Colors

  • criteria: labelColor
  • operation: <operation> (see Enum operations)
  • value: <value> (see Enum values)

Enum operations

Operation Description
== Maps to is
!= Maps to is not

Enum values

Label Color Value
Red 1
Yellow 2
Green 3
Blue 4
Purple 5

Applying Label Color on boot.config.yml

Yaml

name: RED
prefix: label
combineType: intersect
config:
  labelColor:
    criteria: labelColor
    operation: "=="
    value: 1

Output

Filename: label - RED.lrsmcol

s = {
	id = "D0ADF87E-ACAA-4078-BBD5-8178CE6DAA15",
	internalName = "label - RED",
	title = "label - RED",
	type = "LibrarySmartCollection",
	value = {
		{
			criteria = "labelColor",
			operation = "==",
			value = 1,
		},
		combine = "intersect",
	},
	version = 0,
}

Flags and Picks

  • criteria: pick
  • operation: ==
  • value: <value> (see Enum values)

Enum values

Pick Value
-1 Rejected
0 None (Unmarked)
1 Picked

Ratings

  • criteria: rating
  • operation: <operation> (see Enum operations)
  • value: (1-5)

Enum operations

Operation Description
== Maps to is
<= Maps to less than
>= Maps to greater than