flingo64 / PhotoStation-Upload-Lr-Plugin

Photo StatLr (aka PhotoStation Upload) is a Lightroom Publish and Export Service Plugin that enables the export /publishing of photos and videos from Lr to a Synology Photo Station. It uploads the photos/videos and all required thumbnails. It can download comments and ratings and do a real two-way synch of various metadata (tags, ratings, labels).
http://messmer-online.de/index.php/software/11-photo-statlr
GNU General Public License v3.0
209 stars 21 forks source link

Patterns for matching Ratings and ColorLabels match other tags #51

Closed ftitius closed 3 years ago

ftitius commented 3 years ago

In PSPublishSupport.lua lines 1377-1385 patterns were used for matching ratings and color labels which also match tags with a '*' or a '+' inside their name. Please correct the patterns with a start (^) and end ($) sign:

Existing patterns:

'([%*]+)' '%+(%a+)'

Would be better:

'^([%*]+)$' '^%+(%a+)$'

I found this error because PhotoStat LR always wanted to republished the same photos. Cause where the difference between local and remote tags, because one tag with a '+' inside its name was never recognized as a normal tag.

flingo64 commented 3 years ago

That was a bad one! It prevented downloading certain tags even if you didn't enable downloading color label tags or rating tags. It's fixed in v6.9.5

ftitius commented 3 years ago

Thanks - works like a charm. Wonderful plugin.