Comments (2)
Autoscan used to perform file-checking in combination with the retries
and minimum-age
fields back in the pre-1.0 days. However, in #34, we removed the file presence check for a couple reasons:
- Plex takes a folder path as input, so storing the file paths is redundant.
- The
minimum-age
field was carried over from the original idea behind Plex Autoscan: grouping multiple changes together to minimise the number of scans Plex performs, reducing the number of API calls made to Google Drive by Rclone. - Bernard, our Google Drive trigger at the time, had issues with providing file paths.
- We wanted Autoscan to not have to rely on the file system to make for an easier general Docker configuration (e.g. the added complexity of mounts) and allow for more flexibility in the rewriting rules of paths.
In the general case though, the speed at which Plex and other targets are notified is unchanged. In a setup where files are immediately available on the file-system when Autoscan is notified of their existence, a scan can be sent right away with a minimum-age
of 0s
. However, such a minimum-age
would disable the grouping behaviour, which is undesirable. With and without file existence checking, a minimum-age
of e.g. 5m
would perform exactly the same.
The only setups which suffer from the lack of file existence checking are network-shares, not including Google Drive through Rclone, but including e.g. SMB and NFS. Here the minimum-age
should not only take the grouping behaviour into account, but also the maximum time it takes for a file to become available on the remote-side of these network shares. However, we think only a minor percentage of users have such setups, so we decided that the file existence checking wasn't worth it.
I'm curious to hear about any common syncing issues you're experiencing. In the meanwhile, I'm closing this issue.
from autoscan.
I implemented it myself: https://github.com/buroa/autoscan/commit/452a1392a2ca7104088bd3bb3a22db37b26529d5
from autoscan.
Related Issues (20)
- Query Plex API to wait until nothing is being scanned before sending a new entry
- Readarr trigger stopped working suddenly
- Have Sonarr and Radarr as a target?
- Support Dropbox
- Multiple rewrites don't work past the first value HOT 2
- "Other Videos" in Plex not being found when using inotify HOT 1
- Lidarr | All notifications are unavailable due to failures HOT 3
- Since 7/27 no longer receiving common from sonarr and a-train
- FTL Failed initialising target with HTTPS plex URL HOT 3
- Allow Anchor rewrite
- latest plex version 1.32.7 breaks autoscan HOT 6
- Fatal error occurred while processing targets, processor stopped, triggers will continue... error="scan: 524 HOT 1
- Failure to start for users with no home directory HOT 1
- Tdarr plugin HOT 1
- Plex does not "scan the whole library" when a file is added, so what is the benefit of autoscan HOT 3
- Mylar3 and Komga
- What is format for two emby servers ? HOT 1
- Add triggers for rename and artist delete and album delete for lidarr HOT 2
- How configure with nfs share to jellyfin HOT 1
- issue with jellyfin
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 autoscan.