Closed alexismarquis closed 3 months ago
@mib1185 could you take a look at this ?
Hi, thanks for the feedback, requested changes has been done.
Hey, @alexismarquis, @mib1185
Looks good. I tested it, And it still seems to work. I also looked over the code, and it all seems great
Breaking Change This will extend the classes
SynoPhotosAlbum
andSynoPhotosItem
by an editional property calledpassphrase
which should set toNone
if the item or album is not shared by others or set to the corresponding passphrase when it is shared.Context : Shared album have a
passphrase
field that is used in the public sharing link. It is also required by the download and thumbnail api methods. See https://github.com/home-assistant/core/issues/120817 for more detail.This PR adds passphrase handling, fixing downloading photos from different users in shared albums. Additionally, it addresses a problem I encountered with HEIC photos that return an
application/octet-stream
content type.Fixes #299