Trigger specific emby library update

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Cinder
Posts: 20
Joined: 17 Jun 2015, 19:22

Trigger specific emby library update

Post by Cinder »

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,

"--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: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trigger specific emby library update

Post by rednoah »

The amc script only supports complete library update calls as far as the built-in option is concerned.

However, you can use the --def exec feature to do whatever you want.

You can generate commands to be executed based on file/object matches similar to how format expressions work, so anything you can think of is possible. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply