iizukanao / picam-streamer

Out-of-the-box SD card image for live streaming with Raspberry Pi
MIT License
62 stars 6 forks source link

error creating state dir (./state): File exists #49

Open jdfindley opened 2 years ago

jdfindley commented 2 years ago

Mr Lizuka, I am stuck at why every time I go to run picam with ./picam --alsadev hw:1,0 -o /run/shm/hls

I get this error: error creating state dir (./state): File exists

Thoughts? I can get around it by the following: chmod +x make_dirs.sh ./make_dirs.sh But of course, I don't want to do that everytime. Thanks for your work on this fine program. John

iizukanao commented 2 years ago

If you put ./make_dirs.sh in /etc/rc.local, it will automatically run at boot.