Closed diogosalazar closed 7 months ago
Yes, there are plans to support Albums.
An 'Album' in Photos is the pendant to a 'Shared Album' in Photo Station and there is comprehensive support for Shared Albums in Photo StatLr already. Besides the documented features, you'll also find an undocumented dialog for Managing Shared Albums under
Library
-> Plug-in Extras
-> Photo StatLr / Manage PS Shared Albums
So, most of the conceptual and UI work should be done already, but the code dealing with (Shared) Albums has to be reworked completely to support a generic intterface to both Photo Station and Photos API.
Fantastic! Anything I can do to help?
I have been looking at the plugin source and although I am not used to Lua I was able to add a method to PSPhotosAPI.lua
and used it in PSUploadTask.lua
with the uploadPhoto
method to create an 'Album' in order to create the albums in Photos (although I did not implement adding the recently uploaded photo to said album).
I am going to read the documentation link you sent me above but please let me know if I could be of assistance on this matter.
Cheers
Assistance is highly appreciated! It would make sense if you could do the PhotosAPI implementation of the required basic methods.
I still have to cleanup and adjust the the northbound export interface of the PhotosAPI and the PhotoStationAPI providers to be consistent. The biggest API naming inconsistency is because Folders were named Albums in PhotoStation and Albums were named SharedAlbums and that's currently reflected in the provider API and also in some of the PhotosAPI implementation internals.
Nevertheless, the list of required basic methods is quite clear:
Martin
Version 7.4.0 was just released. It adds Shared Album Management for Synology Photos.
In the new Synology Photos it is possible to upload images with any folder structure and then later on add said photos to 'albums'. The web api for Synology Photos supports creating, updating and adding items (photos) to albums:
api=SYNO.Foto.Browse.NormalAlbum&method=create&version=1&name=%22%22&item=%5B5279%5D
, andapi=SYNO.Foto.Browse.Album&method=set_name&version=1&id=8&name=%22Test%22
. A photo can be in many albums, while still being in a single folder location. This is similar to Lightroom's Collections.Are there plans for adding support to setting/managing published photo 'albums'?
Thanks