kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

Synology moments no longer exist in DSM 7.2 #69

Open estradanet opened 2 years ago

estradanet commented 2 years ago

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

kolbyjack commented 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.

estradanet commented 1 year ago

This is the only thing I could get or understand https://community.synology.com/enu/forum/7/post/145996

estradanet commented 1 year ago

https://github.com/zeichensatz/SynologyPhotosAPI

lmaertin commented 1 year ago

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.

lmaertin commented 1 year ago

Update: Tested and working...

https://gist.github.com/lmaertin/58c5566b3c69a159e393389241f3db76

lmaertin commented 1 year ago

Script updated to delete orphaned photos (removed from album)

Fredi009sg commented 1 year ago

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