Slideshow, problem with feh and nfs - Raspberry Pi Forums


i have wd mycloud device using backup photos phone. followed few guides set shared nfs drive, , can use feh read images it. started few images, , worked fine. however, have grown directory 70+ photos (eventually thousands) feh work while, , nfs mount hangs or gets stuck or something. can ssh pi, cannot "cd" or "ls" directory. if try, ssh session hangs , have start one. thought in reading came across other people had issue. problem -r (reload) option doesn't seem load new images added directory.

workaround has been use feh single image , using -r option reload image every few seconds. have background script looks @ nfs mount , grabs random image every few seconds, , overwrites local image. image overwritten on image feh looking @ (basically double buffering since nfs can slow on wifi). feh draw incomplete image, method has been working hours (couldn't other method work more few minutes).

questions:
1) has had success using feh large network directory? ability add new images image list?
2) if have hack method of overwriting file, should worry sd writes? there way prevent feh drawing incomplete image (seems have race condition of feh reading file being overwritten sometimes).

help, have tried searching these specific issues sorry repetitive questions!



raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code