Page 1 of 1

Plex Library Refresh Option

Posted: 15 Sep 2016, 02:24
by leejk
Hello,

Would it be possible to add an option to the amc script to specify which Plex library to refresh?

thx

Re: Plex Library Refresh Option

Posted: 15 Sep 2016, 03:18
by rednoah
No. Listing millions of recently modified files on the command-line takes just milliseconds, so if it somehow takes a long time for Plex, that's an issue that Plex needs to solve.

@see https://github.com/filebot/scripts/pull/12

Re: Plex Library Refresh Option

Posted: 15 Sep 2016, 04:23
by swedishstyle
There are some things you can do with Plex itself through the command line: https://support.plex.tv/hc/en-us/articl ... mmand-Line

I used this before I realised that Filebot had a refresh option built in. You could probably hack something together to only refresh certain libraries depending on what filebot finds :)

Re: Plex Library Refresh Option

Posted: 15 Sep 2016, 04:30
by rednoah
The --def exec option of the amc script allows you to run arbitrary commands, so you can use that to run your own refresh commands.

Re: Plex Library Refresh Option

Posted: 15 Sep 2016, 22:01
by leejk
Cool, both good options.

Thx