Page 1 of 1

Trigger specific emby library update

Posted: 24 Jul 2019, 03:03
by frasina92
I have multiple emby libraries for different media (like I assume most other do as well), i.e. movies, tv shows, music etc.
So I just set up the emby library update trigger using the api key from CLI,

Code: Select all

"--def emby=host:apikey"
and it works just as advertised. But I would like to know if it's possible to trigger an update for a specific library, and not all of them as a whole?
There's a huge workload on the emby service to scan all libraries if all I've done is add a new movie to the movie library, in that case it would make sense for filebot to trigger an update for that library specifically.
I don't know if it's possible to do that via the emby API, but it would certainly be an awesome feature and it would save a lot of time/performance.

Re: Trigger specific emby library update

Posted: 24 Jul 2019, 03:05
by rednoah
You can use --def exec to call arbitrary commands, so you can do your own curl request there.

:idea: I recommend settings things up so that emby only rescans newly added files, rather than the entire library, or an entire sub-library.