[docker] JDownloader and filebot

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
socram
Posts: 7
Joined: 24 Jan 2021, 20:59

[docker] JDownloader and filebot

Post by socram »

Hi,

I found this helpful post already. However, I wasn't able to combine jdownloader with filebot in one container (which also ensures automatic updates via watchtower). Is there any chance we could get a docker-compose for this as I would love to replace filebot-watcher with the event scripter which calls the extraction on package completion.

Help would be very much appreciated!

Kind regards
socram
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JDownloader and filebot

Post by rednoah »

You would have to build your own docker container that includes both JD and FileBot, since JD cannot call filebot unless filebot is installed locally. Easy if you're familiar with Linux and docker containers in general, and not easy if not.


:idea: As far as I know, docker-compose cannot combine docker images, which is what you would need here. It's merely a description language for launching one or more container images. docker-compose notably does not magically allow one container to run commands on another. You could launch a JD container and a FileBot Node container, but you would still need a figure out a protocol for them to talk to over the network.


:arrow: The solution you seek is an event script that - instead of calling filebot on the local system - uses curl or something else to make a network request to some other container (e.g. something like FileBot Node) which runs a server and continuously listens for requests to then run local commands in response. Unfortunately, we do not currently have copy & paste solution for this kind of use case.


:idea: FileBot Nodes does however have "prepared scripts" that you can create and then call by sending a specific HTTP request via curl, so it would be easy for the JD container kick off a generic filebot run on the FileBot Node container.




EDIT:

The upcoming FileBot Node 0.4.8 will add support for arbitrary Remote Command Execution to better facilitate this and similar use cases.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23924
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JDownloader and filebot

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply