diff --git a/API_README.md b/API_README.md index 9e85540b..c15152af 100644 --- a/API_README.md +++ b/API_README.md @@ -1943,7 +1943,7 @@ cog.out(get_template_field_table()) |{lf}|A line feed: '\n', alias for {newline}| |{cr}|A carriage return: '\r'| |{crlf}|a carriage return + line feed: '\r\n'| -|{osxphotos_version}|The osxphotos version, e.g. '0.49.2'| +|{osxphotos_version}|The osxphotos version, e.g. '0.49.3'| |{osxphotos_cmd_line}|The full command line used to run osxphotos| |{album}|Album(s) photo is contained in| |{folder_album}|Folder path + album photo is contained in. e.g. 'Folder/Subfolder/Album' or just 'Album' if no enclosing folder| diff --git a/README.md b/README.md index 3b88fdb0..1c3db195 100644 --- a/README.md +++ b/README.md @@ -1849,7 +1849,7 @@ Substitution Description {lf} A line feed: '\n', alias for {newline} {cr} A carriage return: '\r' {crlf} a carriage return + line feed: '\r\n' -{osxphotos_version} The osxphotos version, e.g. '0.49.2' +{osxphotos_version} The osxphotos version, e.g. '0.49.3' {osxphotos_cmd_line} The full command line used to run osxphotos The following substitutions may result in multiple values. Thus if specified @@ -4025,7 +4025,7 @@ The following template field substitutions are availabe for use the templating s |{lf}|A line feed: '\n', alias for {newline}| |{cr}|A carriage return: '\r'| |{crlf}|a carriage return + line feed: '\r\n'| -|{osxphotos_version}|The osxphotos version, e.g. '0.49.2'| +|{osxphotos_version}|The osxphotos version, e.g. '0.49.3'| |{osxphotos_cmd_line}|The full command line used to run osxphotos| |{album}|Album(s) photo is contained in| |{folder_album}|Folder path + album photo is contained in. e.g. 'Folder/Subfolder/Album' or just 'Album' if no enclosing folder| diff --git a/docs/.buildinfo b/docs/.buildinfo index e87bcdab..2066a1fa 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 3a7efae54b6e07cdaf59f7d2e9729b6e +config: c75833b1d95a335d2161bc31370bc337 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_modules/index.html b/docs/_modules/index.html index f0bf5407..5aa263e2 100644 --- a/docs/_modules/index.html +++ b/docs/_modules/index.html @@ -5,7 +5,7 @@ - Overview: module code - osxphotos 0.49.2 documentation + Overview: module code - osxphotos 0.49.3 documentation @@ -123,7 +123,7 @@
-
osxphotos 0.49.2 documentation
+
osxphotos 0.49.3 documentation
@@ -146,7 +146,7 @@
@@ -146,7 +146,7 @@ +
[docs] def get_files_for_uuid(self, uuid: str) -> List: + """query database for UUID and return list of files associated with UUID or empty list""" + conn = self._conn + c = conn.cursor() + c.execute( + "SELECT filepath FROM export_data WHERE uuid = ?", + (uuid,), + ) + results = c.fetchall() + return [os.path.join(self.export_dir, r[0]) for r in results]
+
[docs] def get_photoinfo_for_uuid(self, uuid): """returns the photoinfo JSON struct for a UUID""" conn = self._conn diff --git a/docs/_sources/template_help.rst.txt b/docs/_sources/template_help.rst.txt index 5f0d944f..0331ae6c 100644 --- a/docs/_sources/template_help.rst.txt +++ b/docs/_sources/template_help.rst.txt @@ -320,7 +320,7 @@ Template Substitutions * - {crlf} - a carriage return + line feed: '\r\n' * - {osxphotos_version} - - The osxphotos version, e.g. '0.49.2' + - The osxphotos version, e.g. '0.49.3' * - {osxphotos_cmd_line} - The full command line used to run osxphotos * - {album} diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 79aa3254..8dbf09bf 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.49.2', + VERSION: '0.49.3', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/cli.html b/docs/cli.html index ec63d8cc..99d5a613 100644 --- a/docs/cli.html +++ b/docs/cli.html @@ -6,7 +6,7 @@ - OSXPhotos Command Line Interface (CLI) - osxphotos 0.49.2 documentation + OSXPhotos Command Line Interface (CLI) - osxphotos 0.49.3 documentation @@ -124,7 +124,7 @@
@@ -147,7 +147,7 @@
@@ -145,7 +145,7 @@
@@ -147,7 +147,7 @@
@@ -147,7 +147,7 @@
@@ -147,7 +147,7 @@
@@ -145,7 +145,7 @@
@@ -147,7 +147,7 @@
@@ -144,7 +144,7 @@
@@ -147,7 +147,7 @@
@@ -147,7 +147,7 @@