Trigger specific emby library update

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
frasina92
Posts: 1
Joined: 24 Jul 2019, 03:02

Trigger specific emby library update

Post by frasina92 » 24 Jul 2019, 03:03

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.

User avatar
rednoah
The Source
Posts: 16571
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trigger specific emby library update

Post by rednoah » 24 Jul 2019, 03:05

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.
:idea: Please read the FAQ and How to Request Help.

Post Reply