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

Support for Synology Photos #48

Closed stepman0 closed 2 years ago

stepman0 commented 3 years ago

For testing purpose, I installed the current beta of Synology DSM 7 and the new Synolog Photos (in a Virtual Machine).

Unfortunately, the plugin does not work with the new version (as I expected ;-).

Are there any plans on supporting it?

flingo64 commented 3 years ago

No plans yet, but definitely strongly interested! I'm not registered for the DSM 7 Beta test program, so I cannot says how close the new Photos API is to the old Photo Station API. if someone could provide a Browser network capture (*.har file) of a typical Photos Browser session (login, browse a gallery, open a photo in detailed view) I could do a first check and compare of the API calls to estimate the upgrade efforts. Access to a Photos servers would be even better, but not neccessary for the first step.

quizzical86 commented 3 years ago

It seems like there is a Photo's server that you can use: I just checked synology's own DSM7 demo platform and see that Synology Photo's is accessible there: https://demo.synology.com/dsm It is a bit slow to load though

flingo64 commented 3 years ago

meanwhile, stepman0 was so kind to support me with access to his DSM7/Photos Beta Preview. Last week, I installed the DSM7/Photos as vDSM on my box, so testing is solved.

The plugin is almost ready for Photos, but there are still some real basic function in the Photos API that do not work reliable, so I can't get a stable result.

quizzical86 commented 3 years ago

I just wanted to flag that DSM7 has been officially released on 29 June so it is now the official version :) https://www.synology.com/en-uk/DSM70

stepman0 commented 3 years ago

@flingo64 Have you already looked into the new and shiny DSM7? I updated my Diskstation without thinking of Photostation/Photos ... :-(

Any guess when your plugin will support Photos?

flingo64 commented 3 years ago

I just installed the final DSM7 including Photos as VM to check if there are any changes to the Beta version. My alpha-version plugin seems to work with all the restrictions encountered so far:

Having said that I'm looking for two to three friendly users for the alpha version.

stepman0 commented 3 years ago

I can test the alpha version.

flingo64 commented 3 years ago

I can test the alpha version.

Shipped to you via email! :-)

mathewsd001 commented 3 years ago

I'm also available for testing

flingo64 commented 3 years ago

I'm also available for testing

Shipped to you via email! :-)

Feilner commented 3 years ago

@flingo64 May be you can create a branch on GitHub for the version to support Synology Photos on DSM7. This would enable also others to test and also contribute.

flingo64 commented 3 years ago

I still have to prepare the code to be readable by others. I'll create a branch for it, but it will take some time, since I'm currently busy on other thing. Stay tuned!

mathewsd001 commented 2 years ago

Hi Martin, I am able to use Lightroom Classic with DSM 7 Photos by recreating my structure in the Hard Drive Publish Services. Regards, dave

On Fri, 27 Aug 2021 at 06:02, Martin @.***> wrote:

I still have to prepare the code to be readable by others. I'll create a branch for it, but it will take some time, since I'm currently busy on other thing. Stay tuned!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/flingo64/PhotoStation-Upload-Lr-Plugin/issues/48#issuecomment-907084233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHZ54BY7SNVPOLJWNFEYZTT65PENANCNFSM4RWUQZSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

flingo64 commented 2 years ago

Just installed Photos 1.1.0 0224 on my vDSM7 and the Photos app for Android. I'm really excited about the map view (at least in the Android app) - which was the killer feature of Photo Stations for me and now finally it's also available in Photos! They also added the rating feature to Photos. So, they got me back on track! Stay tuned for a Xmas present ...

quizzical86 commented 2 years ago

Without wanting to sound like a sad and lonely person (promise I'm not ;-P ) this might be the Christmas present I look forward to most! It's the last thing preventing me from migrating to DSM7. I'm rather confused about how a migration from Photo Station to Photos would work for those using your great plugin; do you intend to provide some hints on that as well?

fred-h20 commented 2 years ago

Without wanting to sound like a sad and lonely person (promise I'm not ;-P ) this might be the Christmas present I look forward to most! It's the last thing preventing me from migrating to DSM7. I'm rather confused about how a migration from Photo Station to Photos would work for those using your great plugin; do you intend to provide some hints on that as well?

Same for me. I really want to update to DSM7, but I would miss this plugin really much. Thank you Martin for the great work within the last years and if we can support you with testing feel free to ask.

flingo64 commented 2 years ago

... I'm rather confused about how a migration from Photo Station to Photos would work for those using your great plugin; do you intend to provide some hints on that as well?

I'm currently concentrating on getting the plugin in a good shape, but I'm pretty sure there are guidelines from Synology how to migrate the Photo Station to Photos. My expectation is that this migration process will migrate all photos/videos including thumbnails and add. videos to Photos and do a complete indexing thereafter. If that's done, you basically will have these changes in LR:

If you want to build a copy of your gallery so you can use Photo Station and Photos in parallel (until you are sure Photos meets your expectations):

flingo64 commented 2 years ago

Photo StatLr 7.0.0 is online! It supports both Synology Photo Station and Synology Photos.

Please check the Release Notes or Changelog to get an understanding of how it works and which features are supported for Photos. There is also a short FAQ on migrating from Photo Station to Photos

Thanks to stepman0 for supporting me in the first days of the Photos Beta and for alpha-testing and feedback!

This is my Christmas gift to the Photo StatLr community! More than 4.000 installations and still more than 200 active users (for a superb Photo Gallery that was discontinued by Synology!) were always a strong motivation to keep this thing going. Besides that, my own requirements and the fun working with the plugin helped a lot!

I wish you all a Merry Christmas and a lot of fun with Photo StatLr for Photos! Please, do not forget to pass on a Christmas gift to those who need our support, donate to a good cause and let other know you did it!

Martin

quizzical86 commented 2 years ago

Upgrade going well so far, It's busy checking my 75000 photo's. Thanks a lot for the helpful instructions, wouldn't have been able to do it without them!

A tip for those who used the backup feature of DS Photo and want to use it in the new synology photo's app: When selecting the backup destination, you will likely not be able to find the folder you used in DS Photo: you have to open Synology Photos using your computer and then go to settings -> shared space -> Set access permissions. There you need to enable mobile backup for the account you are using. Now you will be able to upload the photos you've taken with your mobile to the shared space folders (instead of only private folders which I don't use at all).

quizzical86 commented 2 years ago

I've been struggling quite a bit with the check of the photo's, I ended up republishing a lot of them. The issue I struggle most with is the error "17:48:31, ERROR: That does it, I'm leaving! Internal error: '[string "PSUploadTask.lua"]:123: attempt to index field 'exifTool' (a nil value)'" Any clue what I could do to solve that? One thing I've discovered that helps remove this error is to remove colour labels in lightroom. A picture that has a colour label Green applied for example will give the above error and fail to publish. If I then remove the label it will publish successfully.

flingo64 commented 2 years ago

I've been struggling quite a bit with the check of the photo's, I ended up republishing a lot of them.

7.1.0 fixes a lot of smaller issues

The issue I struggle most with is the error "17:48:31, ERROR: That does it, I'm leaving! Internal error: '[string "PSUploadTask.lua"]:123: attempt to index field 'exifTool' (a nil value)'"

You found the very last bug! ;-) For the moment you can work around it by disabling the Upload options 'Color Label Tag' and 'Rating Tag' in the Published Collection settings. I already fixed it and will release it in 7.1.1. I opened an new issue for it.