Code Monkey home page Code Monkey logo

Comments (8)

jacobrreed avatar jacobrreed commented on June 26, 2024 1

ya I wish Kometa had the ability to trigger a single overlay update

from posterizarr.

fscorrupt avatar fscorrupt commented on June 26, 2024

i added docker-cli to the dev image, please try it with this and report back if it works for you, you still have to mount the docker.sock tho -v /var/run/docker.sock:/var/run/docker.sock

image: ghcr.io/fscorrupt/docker-posterizarr-dev:latest

from posterizarr.

jacobrreed avatar jacobrreed commented on June 26, 2024

Ok I'll investigate thanks

from posterizarr.

fscorrupt avatar fscorrupt commented on June 26, 2024

you could then place a script inside the posterizarr config dir with such a content

$containerName = "kometa"
$command = "python", "kometa.py", "-ov", "-is", "-r", "-l", "OverlayTest"

# Execute the command inside the Docker container
docker exec -it $containerName $command

then you are able to call it from anywhere with:

docker exec -it posterizarr pwsh ./config/YOURSCRIPT.ps1

from posterizarr.

jacobrreed avatar jacobrreed commented on June 26, 2024

how would I get this working with tautulli script, I want it so that the tautulli script runs (which creates that file in posterizarr to pickup to create poster for newly added items), then after that script runs I want it to call the above script

from posterizarr.

jacobrreed avatar jacobrreed commented on June 26, 2024

Essentially I guess there should be something similar to how the tautulli scripts works, where it creates a file or something for posterizarr to pickup and run, i.e the script could write to a file called like "update-kometa-overlays.posterizarr" and posterizarr would watch and see that, run the command (which calls the docker exec to run overlays) then delete the file, similar to how to it works with the tautulli script

from posterizarr.

fscorrupt avatar fscorrupt commented on June 26, 2024

You would need to update the trigger.py to add the docker exec command, best would be with an sleep/wait of a minute or two then posterizarr would create the poster in meantime and tautulli then triggers the docker exec, but in posterizarr there is currently no way of doing this, i will add the function when kometa has it integrated.

from posterizarr.

jacobrreed avatar jacobrreed commented on June 26, 2024

ok well i will close this, I discussed with kometa team and its not something they'll probably ever do

from posterizarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.