Read the statement by Michael Teeuw here.
MMM-GooglePhotos suddenly stopped working this morning
-
@Jabl0 i host my pics on a network share
i mount that share on my pi thru the /etc/fstab file
i mount it to a directory in the /media foldersudo mkdir /media/fileserver
here server-share local-folder and user/passsword on the server
//ds-data/media /media/fileserver cifs username=xxx,password=yyy,iocharset=utf8,file_mode=0777,dir_mode=0777
ImagePhotos uses the uploads folder in its directory
now i rename that out of the way and use a filesystem link to make uploads map to the mounted folder
cd ~/MagicMirror/modules/MMM-ImagePhotos mv uploads upload-orig sudo ln -s /media/fileserver uploads
then you’ve got it
the server folder will be auto mounted on boot
you may have to force remount if the server is rebootedsudo mount -a
-
@Jabl0 i have a fork of ImagesPhotos that supports nested folders in the uploads folder
i also have a module that allows guests to upload pics from their phones to the uploads folder via qr code
https://github.com/sdetweil/uploadPics
this supports upload to any folder. so works w any module providing view from locally accessible folder -
@sdetweil is this module dead in the water now?
It was the backbone of my entire MM, using Carousel the mirror nicely flipped between the family calendar and the google photos.
is there a work around still using this module or is it a case of finding an alternative? If the latter which is the best module to use for the same end result?
Sorry to hijack but didn’t want to start a whole new thread.
Cheers. -
@JMac we dont know. selecting photos to share requires using their app it appears.
we dont know what that means for api access like we do for MagicMirror. someone will have to dig in and find out
the old way doesn’t work, so this module is non-functional currently
-
@sdetweil love all your solutions. This will keep me busy 😉 thanks again mate 🙌🏾
-
@sdetweil just to update you. Network share works great and the kids are loving the QR code :) So thank you.
One thing i have noticed this module doing that the MMM-GooglePhotos module did not do, is it just goes black with only the mouse curser showing. Nothing shows up in PM2 logs when this happens. I guess its because it runs from browser?
Anyway i can troubleshoot this and see what is causing it? Maybe my Pi is not powerful enough? Its a Raspberry Pi 3 Model B.
See screenshot below:
Thanks :)
-
@Jabl0 are you using my fork of the module? there was a bug handling restarting if one of the images failed to load
when you have the black screen you might be able to open the developers window , ctrl-shift-i, select the console tab
also i think there is a
debug:true
config option which will show the whole flow of getting files and selecting a file to display in the output of npm startif you install MMM-Logging or MMM-LogExt it will capture the browser console and merge w the npm start console
-
@sdetweil apologies but i am not sure what you mean by fork :( however, i am using this one https://github.com/roramirez/MMM-ImagesPhotos and i see you are a contributor on there?
I will give the recommended debugging log methods you have suggested and see what i can find.
Thank you.
-
@Jabl0 fork, means i have a copy too
-
@sdetweil Ah, right! Learnt something new :) I am using the other one. One more thing, i did enable debugging yesterday and for some strange reason i have not seen the black screen since i have done this. Fingers crossed though.
I did see these errors:
Invalid SOS parameters for sequential JPEG
But the module kept running fine with no black screen.
I would like to use your version, will i have to completely remove the module and clone yours instead, or is there a quicker way to migrate?
Thanks.