Lichtkasten v0.1: Culling, IPTC (PM-kompatibel), Vorlagen, FTP/Immich, Lightroom-Bridge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
37 files changed
+4431
No files matched your search
@@ -0,0 +1,18 @@
|
||||
local LrTasks = import 'LrTasks'
|
||||
local LrLogger = import 'LrLogger'
|
||||
local Bridge = require 'Bridge'
|
||||
|
||||
local log = LrLogger('LichtkastenBridge')
|
||||
log:enable('logfile')
|
||||
|
||||
_G.LichtkastenRunning = true
|
||||
|
||||
LrTasks.startAsyncTask(function()
|
||||
log:info('Lichtkasten Bridge gestartet, Inbox: ' .. Bridge.inbox())
|
||||
while _G.LichtkastenRunning do
|
||||
Bridge.heartbeat()
|
||||
local ok, err = LrTasks.pcall(Bridge.processInbox)
|
||||
if not ok then log:error('Fehler beim Verarbeiten: ' .. tostring(err)) end
|
||||
LrTasks.sleep(2)
|
||||
end
|
||||
end)
|
||||
Reference in new issue
Block a user