

I have never dealt with scripts on the Pi. Oh, and the whole thing is supposed to run in a script once an hour later, but I’m not there yet. But I can’t think of a better solution yet. This is not only slow but also kind of stupid. rm -rf /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG/* My workaround is that I clear the pictures folder in MM every time and fill it all over again after a new sync. A simple synchronization does not work, because in the google folder are heic files and in my MM are now the converted JPEGs. My problem is now, I want to delete the deleted images in google Drive also on the pi. I then specified this location as the image path in MMM-BackgroundSlideshow.
#Mirrorsync forum code
In the code it looks like this: mogrify -path /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG -format jpeg -resize 2560x1440 /home/pi/Pictures/*Īll images in all formats that can be found in /home/pi/Pictures/* will be converted to JPEG in 2560x1440 pixels and saved to /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG. Now begins the part where I’m not 100% happy yet. If you delete a picture in the google-drive it will be deleted on the pi the next time you run the script. Now you have all pictures synced in pi/Pictures. Rclone sync googleDrive:MagicMirror /home/pi/Pictures/

Mirror sync in progress? Į: Failed to fetch File has unexpected size (7972 != 7996). Get:12 focal-backports/universe amd64 DEP-11 Metadata Įrr:12 focal-backports/universe amd64 DEP-11 MetadataĮ: Failed to fetch File has unexpected size (281900 != 281380).
#Mirrorsync forum full
SHA1:e980132e11c446c812eff0edeaf77bf11c87ec4a For several months now, weve been unable to complete full syncs of debian on our server: so Ive had to manually refresh it. Get:11 focal-backports/main amd64 DEP-11 Metadata Įrr:11 focal-backports/main amd64 DEP-11 Metadataįile has unexpected size (7972 != 7996).

Ign:12 focal-backports/universe amd64 DEP-11 Metadata Ign:11 focal-backports/main amd64 DEP-11 Metadata Get:7 focal-updates/multiverse amd64 DEP-11 Metadata Įrr:7 focal-updates/multiverse amd64 DEP-11 Metadata Get:6 focal-updates/universe amd64 DEP-11 Metadata Įrr:6 focal-updates/universe amd64 DEP-11 Metadata The app is working fine this way with multiple devices and if the user re-enables sync on a particular device that. Get:5 focal-updates/main amd64 DEP-11 Metadata Įrr:5 focal-updates/main amd64 DEP-11 Metadataįile has unexpected size (281900 != 281380). Ign:7 focal-updates/multiverse amd64 DEP-11 Metadata

Ign:6 focal-updates/universe amd64 DEP-11 Metadata Ign:5 focal-updates/main amd64 DEP-11 Metadata
