Open estradanet opened 2 years ago
As I don't have access to a synology nas, I don't know if I'll be able to add support for the photos api. I'd be willing to look at a pull request, though.
This is the only thing I could get or understand https://community.synology.com/enu/forum/7/post/145996
Hi @estradanet,
I tried to fix the broken API in the module, but I failed. I think it's an issue with the cache/cookie handling. May somebody with ExppressAüü expriences will find the bug.
Instead of using the build in Syno Photo sync, I wrote a shall shell script to download photos from the NAS and then include those locally in MMM-Wallpaper.
I'm testing right now. As soon all is running fine, I will share the script via Gist.
Update: Tested and working...
https://gist.github.com/lmaertin/58c5566b3c69a159e393389241f3db76
Script updated to delete orphaned photos (removed from album)
Script updated to delete orphaned photos (removed from album)
I need your help with implementing. I got
curl: (3) URL using bad/illegal format or missing URL
Great wallpaper!! Thank you so much.
As Synology Moments was replaced with Synology Photos, it seems to be that the link does not work anymore. Here's the code:
module: "MMM-Wallpaper", position: "fullscreen_below", filter: "grayscale(0) brightness(0.2) Contrast(0.5)", config: { // See "Configuration options" for more information. //source: "chromecast", source: "synology-moments:https://xxx.xxx.xx:xxxx/mo/sharing/xxxxxxxxxx", slideInterval: 60 * 1000 // Change slides every minute }
Regards, Luis