Rclone raspberry pi b2 backblaze1/13/2024 ![]() But that all broke when I tried to revive it. I was originally rotating the display 90 degrees as needed to display the photos with the using the maximum amount of display real estate. So for those photos running getinfo.py will produce an error (but the processing of the other photos will continue.) Many of my photos do not have EXIF information, yet they can still be displayed. It’s not a disaster to not have that, but under some circumstances it may help. Then I needed to install Pillow using pip3: sudo pip3 install Pillow. Then I needed pip3: sudo apt-get install python3-pip. I believe I installed python3, perhaps as sudo apt-get install python3. The drawback of this approach, i.e., not using qiv, is that we gotta do some image manipulation, for which python is the best candidate. $ sudo apt-get update & sudo apt-get upgrade ![]() Anyway, fbi is installed via:īut if your RPi is freshly installed, you may first need to do a An install of Raspberry Pi Lite on my RPi 4 took 11 minutes. My SD card is unstable or something, so I have to re-install the OS periodically. The nice thing about this approach is that fbi works with a lightweight OS – Raspbian Lite is fine, you’ll just need to install a few packages. My refresh took about 13 minutes the other day, but the old slideshow keeps playing until almost the last second, so it’s OK. This invokes master.sh once a day at 4:24 PM to refresh the 60 photos. My crontab file looks like this (you edit crontab using the crontab -e command): sleep 25 cd ~. You’ll need to make these files executable. Print "usleeping, noexist is $noexit\n" if $DEBUG > 1 Open(MON,"ps -ef|grep fbi|grep -v grep|") || die "Cannot launch ps -ef!!\n" # wait appropriate estimated amount of time, then look aggressively for fbi # fbi runs in background, then exits, so we need to monitor if it's still alive System("sudo xargs -a $mshow -0 fbi -a -noverbose -1 -T 1 -t $delay ") #system("cat $picNames|xargs -0 qiv -DfRsmi -d $delay \&") # shell echo cannot work with null character so we need to use a file to store it If then echo Picking out the JPEGs fiĮgrep ‘\.?$’ files |awk ‘$1 > 11000 /black.jpg") # filter down to only jpegs, lose the docs folders If then echo Listing all files from Google drive fi #listing of all Google drive files starting from the picture root STARTFOLDER=”MaryDocs/Pictures and videos” # call this from cron once a day to refesh random slideshow once a day Here is the master file which I call master.sh.Ĭopy Code Copied! Use a different Browser I used a display custom-built for the RPi, : Raspberry Pi 7″ Touch Screen Display: Electronics), though I believe any HDMI display would do. This work was done on a Raspberry Pi 3 running Raspbian Lite (more on that later). You need an approach like that because you will never get to the end if you just try to display 40000 images in order! I thought, what about randomly picking a few for display from amongst all the pictures, displaying that subset for a few days, and then moving on to a new randomly selected sample of images, etc? That should produce a nice review of all of them over time, eventually. So I also felt obliged to create features you will never have in a commercial product, to make the effort worthwhile. After 17 years of digital photos we have about 40,000 of them, over 200 GB. We make a point to copy all our cameras’ pictures onto the Google Drive, which we do the old-fashioned, by-hand way. ![]() Now, since I had bought that Raspberry Pi PiDisplay awhile back, and it is underutilized, and I know a thing or two about linux, I felt I could create a custom photo frame with things I already have lying around – a Raspberry Pi 3, a PiDisplay, and my personal Google Drive. Regardless, they spend 99% of the the time black. Please note I am putting all my currently active development and latest updates into this newer post: Raspberry Pi photo frame using your pictures on your Google Drive IIĪll my spouse’s digital photo frames are either broken or nearly broken – probably she got them from garage sales.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |