Fixed {album_seq} and {folder_album_seq} help text

This commit is contained in:
Rhet Turnbull
2021-07-24 20:53:59 -07:00
parent 12f39dbaf5
commit 077d577c98
2 changed files with 6 additions and 6 deletions

View File

@@ -1827,7 +1827,7 @@ Substitution Description
formatted using a python string format code. formatted using a python string format code.
For example, to format as a 5-digit integer For example, to format as a 5-digit integer
and pad with zeros, use '{album_seq:05d}' and pad with zeros, use '{album_seq:05d}'
which results in 00001, 00002, 00003...etc. which results in 00000, 00001, 00002...etc.
This may result in incorrect sequences if you This may result in incorrect sequences if you
have duplicate albums with the same name; see have duplicate albums with the same name; see
also '{folder_album_seq}'. also '{folder_album_seq}'.
@@ -1848,7 +1848,7 @@ Substitution Description
For example, to format as a 5-digit integer For example, to format as a 5-digit integer
and pad with zeros, use and pad with zeros, use
'{folder_album_seq:05d}' which results in '{folder_album_seq:05d}' which results in
00001, 00002, 00003...etc. This may result in 00000, 00001, 00002...etc. This may result in
incorrect sequences if you have duplicate incorrect sequences if you have duplicate
albums with the same name in the same folder; albums with the same name in the same folder;
see also '{album_seq}'. see also '{album_seq}'.
@@ -3702,8 +3702,8 @@ The following template field substitutions are availabe for use the templating s
|{exif.lens_model}|Lens model from original photo's EXIF information as imported by Photos, e.g. 'iPhone 6s back camera 4.15mm f/2.2'| |{exif.lens_model}|Lens model from original photo's EXIF information as imported by Photos, e.g. 'iPhone 6s back camera 4.15mm f/2.2'|
|{uuid}|Photo's internal universally unique identifier (UUID) for the photo, a 36-character string unique to the photo, e.g. '128FB4C6-0B16-4E7D-9108-FB2E90DA1546'| |{uuid}|Photo's internal universally unique identifier (UUID) for the photo, a 36-character string unique to the photo, e.g. '128FB4C6-0B16-4E7D-9108-FB2E90DA1546'|
|{id}|A unique number for the photo based on its primary key in the Photos database. A sequential integer, e.g. 1, 2, 3...etc. Each asset associated with a photo (e.g. an image and Live Photo preview) will share the same id. May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{id:05d}' which results in 00001, 00002, 00003...etc. | |{id}|A unique number for the photo based on its primary key in the Photos database. A sequential integer, e.g. 1, 2, 3...etc. Each asset associated with a photo (e.g. an image and Live Photo preview) will share the same id. May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{id:05d}' which results in 00001, 00002, 00003...etc. |
|{album_seq}|An integer, starting at 0, indicating the photo's index (sequence) in the containing album. Only valid when used in a '--filename' template and only when '{album}' or '{folder_album}' is used in the '--directory' template. For example '--directory "{folder_album}" --filename "{album_seq}_{original_name}"'. To start counting at a value other than 0, append append a period and the starting value to the field name. For example, to start counting at 1 instead of 0: '{album_seq.1}'. May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{album_seq:05d}' which results in 00001, 00002, 00003...etc. This may result in incorrect sequences if you have duplicate albums with the same name; see also '{folder_album_seq}'.| |{album_seq}|An integer, starting at 0, indicating the photo's index (sequence) in the containing album. Only valid when used in a '--filename' template and only when '{album}' or '{folder_album}' is used in the '--directory' template. For example '--directory "{folder_album}" --filename "{album_seq}_{original_name}"'. To start counting at a value other than 0, append append a period and the starting value to the field name. For example, to start counting at 1 instead of 0: '{album_seq.1}'. May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{album_seq:05d}' which results in 00000, 00001, 00002...etc. This may result in incorrect sequences if you have duplicate albums with the same name; see also '{folder_album_seq}'.|
|{folder_album_seq}|An integer, starting at 0, indicating the photo's index (sequence) in the containing album and folder path. Only valid when used in a '--filename' template and only when '{folder_album}' is used in the '--directory' template. For example '--directory "{folder_album}" --filename "{folder_album_seq}_{original_name}"'. To start counting at a value other than 0, append append a period and the starting value to the field name. For example, to start counting at 1 instead of 0: '{folder_album_seq.1}' May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{folder_album_seq:05d}' which results in 00001, 00002, 00003...etc. This may result in incorrect sequences if you have duplicate albums with the same name in the same folder; see also '{album_seq}'.| |{folder_album_seq}|An integer, starting at 0, indicating the photo's index (sequence) in the containing album and folder path. Only valid when used in a '--filename' template and only when '{folder_album}' is used in the '--directory' template. For example '--directory "{folder_album}" --filename "{folder_album_seq}_{original_name}"'. To start counting at a value other than 0, append append a period and the starting value to the field name. For example, to start counting at 1 instead of 0: '{folder_album_seq.1}' May be formatted using a python string format code. For example, to format as a 5-digit integer and pad with zeros, use '{folder_album_seq:05d}' which results in 00000, 00001, 00002...etc. This may result in incorrect sequences if you have duplicate albums with the same name in the same folder; see also '{album_seq}'.|
|{comma}|A comma: ','| |{comma}|A comma: ','|
|{semicolon}|A semicolon: ';'| |{semicolon}|A semicolon: ';'|
|{questionmark}|A question mark: '?'| |{questionmark}|A question mark: '?'|

View File

@@ -139,7 +139,7 @@ TEMPLATE_SUBSTITUTIONS = {
+ "For example, to start counting at 1 instead of 0: '{album_seq.1}'. " + "For example, to start counting at 1 instead of 0: '{album_seq.1}'. "
+ "May be formatted using a python string format code. " + "May be formatted using a python string format code. "
+ "For example, to format as a 5-digit integer and pad with zeros, use '{album_seq:05d}' which results in " + "For example, to format as a 5-digit integer and pad with zeros, use '{album_seq:05d}' which results in "
+ "00001, 00002, 00003...etc. " + "00000, 00001, 00002...etc. "
+ "This may result in incorrect sequences if you have duplicate albums with the same name; see also '{folder_album_seq}'.", + "This may result in incorrect sequences if you have duplicate albums with the same name; see also '{folder_album_seq}'.",
"{folder_album_seq}": "An integer, starting at 0, indicating the photo's index (sequence) in the containing album and folder path. " "{folder_album_seq}": "An integer, starting at 0, indicating the photo's index (sequence) in the containing album and folder path. "
+ "Only valid when used in a '--filename' template and only when '{folder_album}' is used in the '--directory' template. " + "Only valid when used in a '--filename' template and only when '{folder_album}' is used in the '--directory' template. "
@@ -148,7 +148,7 @@ TEMPLATE_SUBSTITUTIONS = {
+ "For example, to start counting at 1 instead of 0: '{folder_album_seq.1}' " + "For example, to start counting at 1 instead of 0: '{folder_album_seq.1}' "
+ "May be formatted using a python string format code. " + "May be formatted using a python string format code. "
+ "For example, to format as a 5-digit integer and pad with zeros, use '{folder_album_seq:05d}' which results in " + "For example, to format as a 5-digit integer and pad with zeros, use '{folder_album_seq:05d}' which results in "
+ "00001, 00002, 00003...etc. " + "00000, 00001, 00002...etc. "
+ "This may result in incorrect sequences if you have duplicate albums with the same name in the same folder; see also '{album_seq}'.", + "This may result in incorrect sequences if you have duplicate albums with the same name in the same folder; see also '{album_seq}'.",
"{comma}": "A comma: ','", "{comma}": "A comma: ','",
"{semicolon}": "A semicolon: ';'", "{semicolon}": "A semicolon: ';'",