diff --git a/install.sh b/install.sh
index 3cc76cf..61d94f6 100755
--- a/install.sh
+++ b/install.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"
export SCRIPT_DIR="$(pwd)"
-export VERSION=1.0.0
+export VERSION=1.0.0.0
cd $SCRIPT_DIR/target
echo Extract files to ~:
diff --git a/package.sh b/package.sh
index 6930fac..6fa0efd 100755
--- a/package.sh
+++ b/package.sh
@@ -5,7 +5,7 @@ export PACKAGE_NAME=LRPhotos
export TARGET_DIR_MAC="$SCRIPT_DIR/target/mac/Library/Application Support/Adobe/Lightroom"
export SOURCE_DIR=$SCRIPT_DIR/src/main/lua/$PACKAGE_NAME.lrdevplugin
export RESOURCE_DIR=$SCRIPT_DIR/res
-export VERSION=1.0.0
+export VERSION=1.0.0.0
#
# mac
#
diff --git a/src/main/applescript/PhotosImport.scptd/Contents/Info.plist b/src/main/applescript/PhotosImport.scptd/Contents/Info.plist
index f17ba4f..a8d74fb 100644
--- a/src/main/applescript/PhotosImport.scptd/Contents/Info.plist
+++ b/src/main/applescript/PhotosImport.scptd/Contents/Info.plist
@@ -10,7 +10,5 @@
1.0.0
CFBundleVersion
1
- NSHumanReadableCopyright
- Copyright © 2021 , All Rights Reserved
diff --git a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.recover.rtf b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.recover.rtf
index 8d8fd70..e9e3a80 100644
--- a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.recover.rtf
+++ b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.recover.rtf
@@ -12,7 +12,6 @@
\f0\i\fs24 \cf2 -------------------------------------------------------------------------------
\f1\i0 \cf3 \
-\pard\pardeftab480\slleading40\pardirnatural\partightenfactor0
\f0\i \cf2 -- Initial created by Simon Schoeters in 2011
\f1\i0 \cf3 \
@@ -20,7 +19,7 @@
\f0\i \cf2 --
\f1\i0 \cf3 \
-\f0\i \cf2 -- 29.05.2021. Dieter Stockhausen. Add publishing functionality
+\f0\i \cf2 -- 29.05.2021. Dieter Stockhausen. Add publishing functionality
\f1\i0 \cf3 \
\f0\i \cf2 --
@@ -302,7 +301,7 @@
\f0\i \cf2 -- Extract the photo descriptors from the photos file
\f1\i0 \cf3 \
-\f0\i \cf2 -- Format is:
+\f0\i \cf2 -- Format is:
\f1\i0 \cf3 \
\f0\i \cf2 -- image posix file path : LR photo uuid : name of LR catalog file : Photos photo ID
@@ -387,7 +386,7 @@
\f0\i \cf2 -- matchesRegex
\f1\i0 \cf3 \
-\f0\i \cf2 -------------------------------------------------------------------------------
+\f0\i \cf2 -------------------------------------------------------------------------------
\f1\i0 \cf3 \
\f2\b \cf4 on
@@ -673,7 +672,7 @@
\f0\i \cf2 --
\f1\i0 \cf3 \
-\f0\i \cf2 -- format of albumPath:
+\f0\i \cf2 -- format of albumPath:
\f1\i0 \cf3 \
\f0\i \cf2 -- "folder1/folder2/..../album"
@@ -713,7 +712,7 @@
\f2\b \cf4 set
\f1\b0 \cf3 \cf3 isValid\cf3
\f2\b \cf4 to
-\f1\b0 \cf3 \cf10 matchesRegex\cf3 (\cf3 albumPath\cf3 , \cf7 "^(\\\\/[\\\\w\\\\s-]+)+$"\cf3 )\
+\f1\b0 \cf3 \cf10 matchesRegex\cf3 (\cf3 albumPath\cf3 , \cf7 "^(\\\\/[^\\\\/]+)+$"\cf3 )\
\f2\b \cf4 if
\f1\b0 \cf3
@@ -1797,7 +1796,7 @@ errorMsg="\cf3 & \cf3 errorMsg\cf3 \cf11 to\cf3 \cf3 sessionFile\cf3 \
\f2\b \cf4 set
\f1\b0 \cf3 \cf3 argv\cf3
\f2\b \cf4 to
-\f1\b0 \cf3 \{\cf7 "/Users/dieterstockhausen/Temp/Unbenannter Export"\cf3 \}\
+\f1\b0 \cf3 \{\cf7 "/Users/dieterstockhausen/Desktop/Unbenannter Export"\cf3 \}\
\f2\b \cf4 end
\f1\b0 \cf3
diff --git a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.rtf b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.rtf
index 8d8fd70..e9e3a80 100644
--- a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.rtf
+++ b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.rtf
@@ -12,7 +12,6 @@
\f0\i\fs24 \cf2 -------------------------------------------------------------------------------
\f1\i0 \cf3 \
-\pard\pardeftab480\slleading40\pardirnatural\partightenfactor0
\f0\i \cf2 -- Initial created by Simon Schoeters in 2011
\f1\i0 \cf3 \
@@ -20,7 +19,7 @@
\f0\i \cf2 --
\f1\i0 \cf3 \
-\f0\i \cf2 -- 29.05.2021. Dieter Stockhausen. Add publishing functionality
+\f0\i \cf2 -- 29.05.2021. Dieter Stockhausen. Add publishing functionality
\f1\i0 \cf3 \
\f0\i \cf2 --
@@ -302,7 +301,7 @@
\f0\i \cf2 -- Extract the photo descriptors from the photos file
\f1\i0 \cf3 \
-\f0\i \cf2 -- Format is:
+\f0\i \cf2 -- Format is:
\f1\i0 \cf3 \
\f0\i \cf2 -- image posix file path : LR photo uuid : name of LR catalog file : Photos photo ID
@@ -387,7 +386,7 @@
\f0\i \cf2 -- matchesRegex
\f1\i0 \cf3 \
-\f0\i \cf2 -------------------------------------------------------------------------------
+\f0\i \cf2 -------------------------------------------------------------------------------
\f1\i0 \cf3 \
\f2\b \cf4 on
@@ -673,7 +672,7 @@
\f0\i \cf2 --
\f1\i0 \cf3 \
-\f0\i \cf2 -- format of albumPath:
+\f0\i \cf2 -- format of albumPath:
\f1\i0 \cf3 \
\f0\i \cf2 -- "folder1/folder2/..../album"
@@ -713,7 +712,7 @@
\f2\b \cf4 set
\f1\b0 \cf3 \cf3 isValid\cf3
\f2\b \cf4 to
-\f1\b0 \cf3 \cf10 matchesRegex\cf3 (\cf3 albumPath\cf3 , \cf7 "^(\\\\/[\\\\w\\\\s-]+)+$"\cf3 )\
+\f1\b0 \cf3 \cf10 matchesRegex\cf3 (\cf3 albumPath\cf3 , \cf7 "^(\\\\/[^\\\\/]+)+$"\cf3 )\
\f2\b \cf4 if
\f1\b0 \cf3
@@ -1797,7 +1796,7 @@ errorMsg="\cf3 & \cf3 errorMsg\cf3 \cf11 to\cf3 \cf3 sessionFile\cf3 \
\f2\b \cf4 set
\f1\b0 \cf3 \cf3 argv\cf3
\f2\b \cf4 to
-\f1\b0 \cf3 \{\cf7 "/Users/dieterstockhausen/Temp/Unbenannter Export"\cf3 \}\
+\f1\b0 \cf3 \{\cf7 "/Users/dieterstockhausen/Desktop/Unbenannter Export"\cf3 \}\
\f2\b \cf4 end
\f1\b0 \cf3
diff --git a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.scpt b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.scpt
index 7fc43d7..7bcdbdb 100644
--- a/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.scpt
+++ b/src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.scpt
@@ -132,7 +132,7 @@ on createOrGetAlbum(albumPath)
if albumPath is missing value or albumPath is equal to "" then
return missing value
end if
- set isValid to matchesRegex(albumPath, "^(\\/[\\w\\s-]+)+$")
+ set isValid to matchesRegex(albumPath, "^(\\/[^\\/]+)+$")
if not isValid then
error "Albumpath " & albumPath & " is not a valid path."
end if
@@ -324,7 +324,7 @@ end updatePhotosFile
on run argv
if (argv = me) then
- set argv to {"/Users/dieterstockhausen/Temp/Unbenannter Export"}
+ set argv to {"/Users/dieterstockhausen/Desktop/Unbenannter Export"}
end if
-- Read the directory from the input and define the session file
set tempFolder to item 1 of argv
diff --git a/src/main/lua/lrphotos.lrdevplugin/Logger.lua b/src/main/lua/lrphotos.lrdevplugin/Logger.lua
index 525cab3..f22177d 100644
--- a/src/main/lua/lrphotos.lrdevplugin/Logger.lua
+++ b/src/main/lua/lrphotos.lrdevplugin/Logger.lua
@@ -5,7 +5,7 @@
local LrLogger = import("LrLogger")
local _logger = LrLogger("PhotosServiceProvider")
_logger:enable("logfile")
-local enabled = false
+local enabled = true
-------------------------------------------------------------------------------
local logger = {}
-------------------------------------------------------------------------------
diff --git a/src/main/lua/lrphotos.lrdevplugin/PhotosImport/PhotosImport.applescript b/src/main/lua/lrphotos.lrdevplugin/PhotosImport/PhotosImport.applescript
index bdd463b..e10731c 100644
Binary files a/src/main/lua/lrphotos.lrdevplugin/PhotosImport/PhotosImport.applescript and b/src/main/lua/lrphotos.lrdevplugin/PhotosImport/PhotosImport.applescript differ
diff --git a/src/main/lua/lrphotos.lrdevplugin/PhotosPublishTask.lua b/src/main/lua/lrphotos.lrdevplugin/PhotosPublishTask.lua
index a1577fd..3bae444 100755
--- a/src/main/lua/lrphotos.lrdevplugin/PhotosPublishTask.lua
+++ b/src/main/lua/lrphotos.lrdevplugin/PhotosPublishTask.lua
@@ -48,7 +48,6 @@ function PhotosPublishTask.processRenderedPhotos(_, exportContext)
local exportSession = exportContext.exportSession
local exportParams = exportContext.propertyTable
- local collectionName = exportContext.publishedCollectionInfo.name
-- Export message settings
local nPhotos = exportSession:countRenditions()
local progressScope = exportContext:configureProgress {
diff --git a/src/main/lua/lrphotos.lrdevplugin/PhotosServiceProvider.lua b/src/main/lua/lrphotos.lrdevplugin/PhotosServiceProvider.lua
index 2e83a7c..ac20b56 100755
--- a/src/main/lua/lrphotos.lrdevplugin/PhotosServiceProvider.lua
+++ b/src/main/lua/lrphotos.lrdevplugin/PhotosServiceProvider.lua
@@ -9,7 +9,7 @@ require 'PhotosPublishTask'
local PhotosServiceProvider = {
hideSections = { 'postProcessing', 'exportLocation'},
- -- hideSections = { 'postProcessing'},
+ --hideSections = { 'postProcessing'},
exportPresetFields = {
{ key = 'useAlbum', default = true },
{ key = 'albumBy', default = "service" },