Update darktable ghost publish plugin
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -43,7 +43,7 @@ local widget = dt.new_widget("box") {
|
||||
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.cleanup_files = {}
|
||||
|
||||
@@ -65,7 +65,7 @@ local function initialize(storage, format, images, high_quality, extra_data)
|
||||
return images
|
||||
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
|
||||
local command = string.format("exiftool -gps:all= -overwrite_original '%s'", filename)
|
||||
os.execute(command)
|
||||
@@ -89,7 +89,7 @@ local function store(storage, image, format, filename, number, total, high_quali
|
||||
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 command = string.format(
|
||||
@@ -118,7 +118,7 @@ local function finalize(storage, image_table, extra_data)
|
||||
end
|
||||
end
|
||||
|
||||
local function supported(storage, format)
|
||||
local function supported(_, _)
|
||||
return true
|
||||
end
|
||||
|
||||
|
@@ -27,7 +27,7 @@ export const createImageNode = (image: ImageInput) => {
|
||||
return {
|
||||
type: "image",
|
||||
version: 1,
|
||||
cardWidth: "regular",
|
||||
cardWidth: "wide",
|
||||
...image,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user