Comments (6)
Can you pls show your log output ?
Mine is something like this:
`Aug 17 07:38:35 INF Scan moved to processor event=Download id=cjessutgmqks3ktkh23g method=POST path="/mnt/unionfs/series/<SERIES_NAME>/<SERIES_NAME> S07" url=/triggers/sonarr
Aug 17 07:40:56 INF Scan stats processed=178 remaining=1
Aug 17 07:41:40 INF Scan moved to target library=TV-Serien path="/series/<SERIES_NAME>/<SERIES_NAME> S07" target=plex url=<PLEX_URL>`
from autoscan.
Your case works because you are passing a subfolder of your library folder. For tv shows it works for me. But I don't create folders for each movie I add so when passing '/mnt/plex/Movies/my.new.movie.mkv' I got that error. I will post logs later.
from autoscan.
Aug 19 08:22:08 INF Initialised processor anchors=[] min_age=4s
Aug 19 08:22:08 WRN Webhooks running without authentication
Aug 19 08:22:08 INF Initialised triggers bernard=0 inotify=1 lidarr=0 manual=1 radarr=0 readarr=0 sonarr=0
Aug 19 08:22:08 INF Starting server on :3030
Aug 19 08:22:08 INF Initialised targets autoscan=0 emby=0 jellyfin=0 plex=1
Aug 19 08:22:08 INF Initialised version=" (@)"
Aug 19 08:22:08 INF Processor started
Aug 19 08:22:38 INF Scan moved to processor id=cjg5vbnr4stptbm1rvc0 method=POST path="/mnt/plex/Anime/XXX/Season 0/XXXX.avi" url=/triggers/manual?dir=%2mnt%2Fplex%2FAnime%2FXXX%2FSeason+0%2FXXX.avi
Aug 19 08:22:53 INF Scan moved to target library=Anime path="/mnt/plex/Anime/XXX/Season 0/XXXX.avi" target=plex url=http://localhost:32400
Aug 19, 2023 08:22:53.480 [139936283015992] INFO - Request: [127.0.0.1:39356 (Loopback)] PUT /library/sections/2/refresh?path=%2mnt%2Fplex%2FAnime%2FXXX%2FSeason+0%2FXXX.avi (3 live) #2b69 GZIP Signed-in Token (XXX) (XXX)
Aug 19, 2023 08:22:53.524 [139936361360184] INFO - Completed: [127.0.0.1:39356] 200 PUT /library/sections/2/refresh?path=%2mnt%2Fplex%2FAnime%2FXXX%2FSeason+0%2FXXX.avi (3 live) #2b69 GZIP 44ms 195 bytes (pipelined: 1)
Aug 19, 2023 08:22:53.973 [139936331348792] ERROR - Failed to create iterator to "/mnt/plex/Anime/XXX/Season 0/XXXX.avi": Not a directory
from autoscan.
I See. Im sorry I don't know if your use case should work with autoscan.
The only thing I can do is providing my config.
triggers:
inotify:
- priority: 0
# filter with regular expressions
include:
- ^/mnt/unionfs/
# rewrite inotify path to unified filesystem
rewrite:
- from: ^/data/
to: /mnt/unionfs/
# local filesystem paths to monitor
paths:
- path: /mnt/unionfs/filme
- path: /mnt/unionfs/filme4
- path: /mnt/unionfs/series
- path: /mnt/unionfs/series4
radarr:
- name: radarr # /triggers/radarr
rewrite:
- from: /data/#3_Filme
to: /mnt/unionfs/filme
targets:
plex:
- url: <URL> # URL of your Plex server
token: <TOKE> # Plex API Token
rewrite:
- from: /mnt/unionfs/filme # local file system
to: /filme # path accessible by the Plex docker container (if applicable)
- from: /mnt/unionfs/filme4
to: /filme4
I started with arr´s and then switched to inotify, because it listens on Drive activity and changes. Works for me flawlessly.
from autoscan.
It seems this is fixed in this fork Allow root folders to be refreshed
from autoscan.
TLDR: When files are located directly in the library folder, scans do not succeed as Autoscan does not support scanning entire libraries. E.g. a library with path /mnt/unionfs/Movies
results in /mnt/unionfs/Movies/movie.mp4
not being scanned, as Autoscan sends /mnt/unionfs/Movies/movie.mp4
instead of /mnt/unionfs/Movies
.
This issue will not be fixed as one of Autoscan's core tenets is to make scanning more efficient. However, a flattened directory structure will always result in a full rescan, which in fact does not make things more efficient. Thus the two are incompatible.
from autoscan.
Related Issues (20)
- Certain library keeps scanning HOT 1
- Question about disabling Plex HOT 3
- 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
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.