Comments (3)
Not sure how to resolve this issue. It appears that @eadir is a directory and not a filename. Not sure how the pi-timolo filename is getting substituted by a directory reference.
Can you provide more information..
- Type of file system on NAS
- Pi mount command in fstab or a manual script
- List of permissions on NAS as seen from the rpi. eg ls -l /mnt/capture/recent/timelapse
Does this work if indexing is turned off for the NAS recent folder.
Thanks
from pi-timolo.
The @eadir directory is created by the indexing process in every directory (this seems to be a bug in the Synology NAS software). The saveRecent function lists all files in the recent directory and if there are too many, tries to remove them one by one. I think the best solution is for saveRecent to only try to remove the files that match its prefix -- that will also prevent potential issues with other operations that might store sync metadata in the recent directory.
I killed the indexer and removed the problem directories so I don't have the detailed directory list for you at this time.
from pi-timolo.
I have implemented your solution. This is something I never thought of but now makes sense since it is possible other directories and /or files are in the recent folder.
from pi-timolo.
Related Issues (20)
- Can't start pi-timolo HOT 27
- Python3 compatibility HOT 4
- Filename given to user actions should include full path, instead of relative to pi-timolo HOT 1
- Change filename style HOT 1
- Daemon is crashing HOT 5
- Ideal settings for Raspberry Pi Camera V2 (8 Mega Pixels) for motion detection HOT 9
- Camera version is being detected as 1.13 even though I have Raspberry Pi Camera v2.1 HOT 10
- Motion tracked images stored in media folder are not high definition HOT 7
- Permission Denied on Startup HOT 3
- IMAGE_USE_VIDEOPORT config is not used HOT 7
- Suggested optimization for resize call when in quick pic mode HOT 1
- Low light video HOT 4
- Raspi IRcamera how to auto-change exposure time when light changes HOT 1
- Bullseye default python version HOT 5
- Update to Picamera2 for Raspbian Bullseye? HOT 7
- pi-timolo exits due to error HOT 4
- The pi-timolo.py does not executes user motion function, everything works somehow.
- MOTION_NUM_MAX = 0 is not continuous; Only records one video
- "pi" is no longer the standard user name on Raspberry PIs
- How to deal with memory issues and py3exiv2 install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-timolo.