Page 1 of 1

Refresh command works for only one media sever.

Posted: 15 Mar 2025, 10:25
by gdlk
In my filebot amc script, I have specified two media servers, jellyfin and emby.
But in the output there is only the push command for jellyfin, not for emby.
And I can see that the jellyfin has been updated but the emby has not.
Is this a bug?

Shell: Select all

  
  ...
  --def jellyfin=172.17.0.1:10008:3fce808210a94ac0bf12d449442f86de \
  --def emby=172.17.0.1:10009:4kdi015d792a40a1bc67bf9e15e88cff \
  ...

Console Output: Select all

...
args[29] = --def
args[30] = jellyfin=172.17.0.1:10008:3fce808210a94ac0bf12d449442f86de
args[31] = --def
args[32] = emby=172.17.0.1:10090:4kdi015d792a40a1bc67bf9e15e88cff
...
POST: http://172.17.0.1:10008/Library/Refresh?api_key=3fce808210a94ac0bf12d449442f86de

Re: Refresh command works for only one media sever.

Posted: 15 Mar 2025, 13:20
by rednoah
:idea: --def jellyfin and --def emby are the same option for historical reasons.

:arrow: You can send requests to multiple Jellyfin / Emby instances like so:

Shell: Select all

--def jellyfin="172.17.0.1:10008:3fce808210a94ac0bf12d449442f86de 172.17.0.1:10009:4kdi015d792a40a1bc67bf9e15e88cff"

Re: Refresh command works for only one media sever.

Posted: 15 Mar 2025, 13:37
by gdlk
Thank you, it works!