Update darktable ghost publish plugin

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-12-25 12:50:21 +02:00
parent f44dac4158
commit cc9f7dd068
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ local widget = dt.new_widget("box") {
strip_gps_checkbox strip_gps_checkbox
} }
local function initialize(storage, format, images, high_quality, extra_data) local function initialize(_, _, images, _, extra_data)
extra_data.exported_files = {} extra_data.exported_files = {}
extra_data.cleanup_files = {} extra_data.cleanup_files = {}
@@ -65,7 +65,7 @@ local function initialize(storage, format, images, high_quality, extra_data)
return images return images
end end
local function store(storage, image, format, filename, number, total, high_quality, extra_data) local function store(_, image, _, filename, _, _, _, extra_data)
if extra_data.strip_gps then if extra_data.strip_gps then
local command = string.format("exiftool -gps:all= -overwrite_original '%s'", filename) local command = string.format("exiftool -gps:all= -overwrite_original '%s'", filename)
os.execute(command) os.execute(command)
@@ -89,7 +89,7 @@ local function store(storage, image, format, filename, number, total, high_quali
end end
end end
local function finalize(storage, image_table, extra_data) local function finalize(_, _, extra_data)
local files_arg = table.concat(extra_data.exported_files, " ") local files_arg = table.concat(extra_data.exported_files, " ")
local command = string.format( local command = string.format(
@@ -118,7 +118,7 @@ local function finalize(storage, image_table, extra_data)
end end
end end
local function supported(storage, format) local function supported(_, _)
return true return true
end end

View File

@@ -27,7 +27,7 @@ export const createImageNode = (image: ImageInput) => {
return { return {
type: "image", type: "image",
version: 1, version: 1,
cardWidth: "regular", cardWidth: "wide",
...image, ...image,
}; };
}; };