Search the Community
Showing results for tags 'Autoscan'.
-
My file system that isn't compatible with real time monitoring. I upload movies and series several times per day and I don't want to do a full scan for the whole library every time I add a new movie. The following curl command curl -d '{"Updates":[{"path":"/path/my-movies/movie (2020)/movie (2020).mkv","updateType":"Created"}]}' -H "Content-Type: application/json" -X POST http://localhost:8096/emby/Library/Media/Updated?api_key=my-apI-key When I ran this command I can see on Emby debug logs a message that says: New file refresher created for "/path/my-movies/movie (2020)/movie (2020).mkv" However the file doesn't seem to be scanned. Am I doing something wrong? Isn't it possible to force the scan of one individual file rather than the whole library? thanks
- 13 replies
-
- autoscan
- command line
-
(and 2 more)
Tagged with:
-
I have been working on a python script to pull file changes from GDrive using google’s api, get the file info and send a request to emby’s api to update the file path via the library/media/updated endpoint. So far I have been able to successfully do this, script have been running with no issues for 24 hrs before I make it public there are a few improvements that I have to make. I have tested this on a windows machine, I would like to find a few ppl with different OS to make sure that it works fine there, so please is interested send a PM. I do have an Emby related question, after a request has been sent and media is scheduled to be refreshed, what happens if the server is restarted before that task is completed? Here is the github link: https://github.com/atrpm/emby_gdrive_autoscan