tag:blogger.com,1999:blog-4445641680779870170.post7507866858707245937..comments2023-06-21T21:25:57.631-06:00Comments on Switching To Linux: Raspberry Pi - Daily Deviations Picture FrameAnonymoushttp://www.blogger.com/profile/15675335294399006677noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-4445641680779870170.post-92208215213921392792019-03-05T00:11:08.981-07:002019-03-05T00:11:08.981-07:00Great idea to make a digital frame with raspberry-...Great idea to make a digital frame with raspberry-pi, if you are not a tech savvy, this 10 inch digital picture frame is great for you and your parents.<br /><br />https://www.hdgenius.com/10-INCH-WIFI-PHOTO-FRAME-product.htmlRichardhttps://www.blogger.com/profile/04387894534963003413noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-73030205267432134992013-04-30T16:04:38.500-06:002013-04-30T16:04:38.500-06:00thanks for the linkthanks for the linkBarquerohttps://www.blogger.com/profile/18119381387401672724noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-24646875873976840102013-04-12T18:17:03.292-06:002013-04-12T18:17:03.292-06:00Great tutorial Cameron! I've had a blast playi...Great tutorial Cameron! I've had a blast playing with this project. I have had this running on a RPi model B with no problem but when I tried to run it on a model A I started to experience lockups on random pictures. A quick look into the running processes showed that the fbi call was eating up all the system RAM. It was adding each picture to memory without freeing up the resources of the previous image. I rewrote the slideshow.sh file to call each file individually and clean up after itself (had to put the last sleep 5 in to give it time to dispose of its resources correctly). Anyway I hope this helps others with similar issues:<br /><br />cd /home/pi/deviant/pics<br />FILES=/home/pi/deviant/pics/*.*<br /><br />while [ TRUE ]<br />do<br /> for F in $FILES<br /> do<br /> fbi -noverbose -m 1440x900 -a -T 2 $F &<br /> sleep 70<br /> killall -9 fbi<br /> sleep 5<br /> done<br />done<br /><br /><br />Anonymoushttps://www.blogger.com/profile/14262866777195808724noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-59276700955533115442013-03-26T19:07:09.842-06:002013-03-26T19:07:09.842-06:00has anyone had trouble with fbi hanging on certain...has anyone had trouble with fbi hanging on certain images? it seems the rPi is locked up when i experience this, i can't hit q or esc to quit. starpausehttps://www.blogger.com/profile/14684149736686471646noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-176049276703410822013-03-15T04:53:25.743-06:002013-03-15T04:53:25.743-06:00This seems to work:
wget 'http://api.flickr.c...This seems to work:<br /><br />wget 'http://api.flickr.com/services/feeds/photos_public.gne?tags=explore' -O- | grep -Po 'http://[^.]+\.staticflickr[^"]+(_b.jpg|_z.jpg)' | wget -i-Tomhttps://www.blogger.com/profile/14379881605741607452noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-22327779452513215202013-03-14T10:19:55.891-06:002013-03-14T10:19:55.891-06:00Thanks Jerad - I would use (for example) http://ap...Thanks Jerad - I would use (for example) http://api.flickr.com/services/feeds/photos_public.gne?tags=explore or http://api.flickr.com/services/feeds/photos_public.gne?tags=moonrise.<br /><br />These return a page of results in the same way as the backend.deviantart.com link - I just can't work out what I need to change the code to to get it to work with the different URL.Tomhttps://www.blogger.com/profile/14379881605741607452noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-82227351231807057062013-03-14T09:35:59.936-06:002013-03-14T09:35:59.936-06:00Tom, the 4 lines are combined to form a wget filte...Tom, the 4 lines are combined to form a wget filtered for the files he is downloading from deviant art. What specific files on flickr are you interested in? The [search term] isn't specific enough.Anonymoushttps://www.blogger.com/profile/03791462069614164024noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-37395026639403877452013-03-13T09:51:34.864-06:002013-03-13T09:51:34.864-06:00Could someone help me change the filters in the wg...Could someone help me change the filters in the wget lines to use Flickr instead? The feed for it is http://api.flickr.com/services/feeds/photos_public.gne?tags=[search term]<br /><br /><br />I can't get my head round what is going on in the example. Many thanks.Tomhttps://www.blogger.com/profile/14379881605741607452noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-44197344349927686332013-03-12T10:03:00.926-06:002013-03-12T10:03:00.926-06:00I didn't talk about the screen because it wasn...I didn't talk about the screen because it wasn't a very elegant solution and I'm sure you guys could come up with something better. I took apart an old monitor (1280x800) and installed it in the picture frame (Mostly duct tape). I then ran the hdmi and power cable through the wall to power it. This involves cutting holes in drywall and keeping the RPi separate from the frame. Like I said, not exactly an elegant solution, but it works.Anonymoushttps://www.blogger.com/profile/15675335294399006677noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-16887328487309090002013-03-10T10:54:59.563-06:002013-03-10T10:54:59.563-06:00Exactly. I assume you use some sort of screen conn...Exactly. I assume you use some sort of screen connected via HDMI?Sine irahttps://www.blogger.com/profile/08291047899441005420noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-71385909917890049322013-03-06T11:22:00.275-07:002013-03-06T11:22:00.275-07:00I am having problems with the if statements. They...I am having problems with the if statements. They never evaluate to a true condition. I have :<br /><br />if [ "$(file $f|grep JPEG)"]; then<br />echo "true"<br />else<br />echo "false"<br />fi<br /><br />I have tried all manors of spaces, no spaces, etc for the condition, but no luck.<br /><br />Anonymoushttps://www.blogger.com/profile/03791462069614164024noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-55539395082382199082013-03-04T18:46:19.020-07:002013-03-04T18:46:19.020-07:00What did you use for your screen? As the only hard...What did you use for your screen? As the only hardware you noted was the Model B Raspberry Pi and the 8GB SD Card, of which I'm sure you could also use something smaller, depending on what you choose your input to be. Have you thought about making this work with a video file or multiple screens?Anonymoushttps://www.blogger.com/profile/17157669874124279611noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-16377292351910303982013-03-03T18:53:31.576-07:002013-03-03T18:53:31.576-07:00I noticed duplicate URLs from the grep. Easily rem...I noticed duplicate URLs from the grep. Easily remove duplicates by adding <br /><br />sort -U |<br /><br />after grep.Unknownhttps://www.blogger.com/profile/02559254122072340849noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-48713796482389631052013-03-02T13:53:31.315-07:002013-03-02T13:53:31.315-07:00Great page. Got mine up and running. I am using ...Great page. Got mine up and running. I am using a local folder for my source, but I am finding that the FBI app is either not looping to start over again or erroring on something.<br /><br />I have a new 'B' board running the latest image.<br /><br />Since I am running it local I only have the slideshow.sh, which has this in it.<br /><br />fbi -noverbose -u -a -t 10 /var/photos/images/*.JPG<br /><br />I cannot find an error log, and every page just states it loops automatically.<br /><br />Any thoughts?<br /><br />Thanks, Phil<br />Anonymoushttps://www.blogger.com/profile/15639712223159386589noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-33418812342207663732013-02-26T23:33:47.242-07:002013-02-26T23:33:47.242-07:00What hardware setup were you using ie especially t...What hardware setup were you using ie especially the screen?Mteigershttps://www.blogger.com/profile/11501024847560389041noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-6931641385712110112013-02-25T21:50:54.501-07:002013-02-25T21:50:54.501-07:00One of those digital picture frames that cycles th...One of those digital picture frames that cycles through a bunch of pre-loaded jpgs of your friends and family. This gave me the idea of having a piece of art hanging on the wall, with a nice wooden frame, that actually downloads new art everyday and cycles through it.<a href="http://www.digitalframe0.com/category-2-b0-7+inch.html" rel="nofollow">7 inch digital photo frame</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-12457499244160266652013-02-25T14:35:55.870-07:002013-02-25T14:35:55.870-07:00Follow this guide but skip the part where we creat...Follow this guide but skip the part where we create the getart.sh script. When you edit the rc.local file, change the line "bash /home/pi/deviant/getart.sh" to "bash /home/pi/deviant/slideshow.sh" Then put all your image files in the /home/pi/deviant/ folder and you should be good to go!Anonymoushttps://www.blogger.com/profile/15675335294399006677noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-70061872850585887062013-02-24T08:49:26.826-07:002013-02-24T08:49:26.826-07:00What if you want to use your own library of photos...What if you want to use your own library of photos that average 4 MB instead of the art website ? Either in a slideshow type list or just randomly. Over 5000 photos.tadamadeithttps://www.blogger.com/profile/09405358614153838916noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-52278499305306330232013-01-26T16:26:14.583-07:002013-01-26T16:26:14.583-07:00I put together something similar that pulls from T...I put together something similar that pulls from Twitter. I used chromium-browser in kiosk mode. I had some trouble with the cursor showing up in the center of the screen on reboot and eventually solved it with unclutter. I wrote an on the whole process.<br />http://www.altmake.com/2012/12/27/social-frame/Anonymoushttps://www.blogger.com/profile/10630223986339182006noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-24808369571862316432013-01-18T17:44:05.094-07:002013-01-18T17:44:05.094-07:00Also I put "cd /home/pi/deviant" at the ...Also I put "cd /home/pi/deviant" at the start of getart.sh, because the files were all going into '/'. YMMVmishohttps://www.blogger.com/profile/09474334868823083319noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-52787089566197752892013-01-18T17:24:31.106-07:002013-01-18T17:24:31.106-07:00I'm not sure if this is true for all, but FILE...I'm not sure if this is true for all, but FILES=~/deviant/* failed for me; I used FILES=/home/pi/deviant/* since the scripts are chown rootmishohttps://www.blogger.com/profile/09474334868823083319noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-81951844680692171482013-01-11T08:12:12.861-07:002013-01-11T08:12:12.861-07:00Excellent thank you! This one had me scratching my...Excellent thank you! This one had me scratching my head, I'm glad you figured out a solution.Anonymoushttps://www.blogger.com/profile/15675335294399006677noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-13828982893124147262013-01-10T19:59:04.088-07:002013-01-10T19:59:04.088-07:00Hey Cameron,
I made a minor adjustment for the id...Hey Cameron, <br />I made a minor adjustment for the identifying the script, use it if you want. I noticed it was picking up on ASCII in HTML files etc so wasn't behaving as intended. :)<br /><br />from<br />elif [ "$(file $f|grep ASCII)" ]; then<br /><br />to<br />elif [ "$(basename $f)" == "$(basename $0)" ]; then<br />Anonymoushttps://www.blogger.com/profile/00379161637943084989noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-8869321943798737242013-01-10T16:50:57.354-07:002013-01-10T16:50:57.354-07:00I'm glad I could help! Thanks for checking it ...I'm glad I could help! Thanks for checking it out :)Anonymoushttps://www.blogger.com/profile/15675335294399006677noreply@blogger.comtag:blogger.com,1999:blog-4445641680779870170.post-37851828648451529792013-01-08T10:16:36.449-07:002013-01-08T10:16:36.449-07:00Thanks for the walk through. I was wanting to do ...Thanks for the walk through. I was wanting to do a very similar project. Despite never having really used any form of Linux i got this up and going in no time.E.J.https://www.blogger.com/profile/00978876198834038179noreply@blogger.com