Git Product home page Git Product logo

Comments (7)

remmycat avatar remmycat commented on May 26, 2024 1

I saw in the source code that there is already a flag, it's -service (yeah, just one dash), which you can use instead of the persisted setting.

from plex_debrid.

joelstitch avatar joelstitch commented on May 26, 2024

Can you explain a little better how to run the script without the menu? I would like to run a script at startup that starts the service without the need of the menu.

from plex_debrid.

toneman77 avatar toneman77 commented on May 26, 2024

@joelstitch, open the settings.json (it's just a text file) and set the option "Show Menu on Startup" to "false" then it wont show the menu and "just run"

from plex_debrid.

toneman77 avatar toneman77 commented on May 26, 2024

@remmycat you just saved my day. It works! and then shows in stdout:

"Running in service mode, user input not supported."

Thanks.
Can be closed

from plex_debrid.

joelstitch avatar joelstitch commented on May 26, 2024

I saw in the source code that there is already a flag, it's -service (yeah, just one dash), which you can use instead of the persisted setting.

How would I use that, I just tried running the command with -service and I just get errors.

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "-service": executable file not found in $PATH: unknown.
ERRO[0011] error waiting for container: context canceled

from plex_debrid.

joelstitch avatar joelstitch commented on May 26, 2024

@joelstitch, open the settings.json (it's just a text file) and set the option "Show Menu on Startup" to "false" then it wont show the menu and "just run"

I can't find the file settings.json anywhere.

from plex_debrid.

toneman77 avatar toneman77 commented on May 26, 2024

@joelstitch, open the settings.json (it's just a text file) and set the option "Show Menu on Startup" to "false" then it wont show the menu and "just run"

I can't find the file settings.json anywhere.

in my docker-compose.yml:

...
    plex_debrid:
        image: itstoggle/plex_debrid
        container_name: 'plex_debrid'
        volumes:
            - /path/to/plex_debrid/config:/config
        restart: always
        command: "python ./main.py --config-dir config -e TERM=xterm -service"
        network_mode: host
...

regarding the settings.json: for me it's wherever you mapped the /config folder to. In my example above: /path/to/plex_debrid/config

from plex_debrid.

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.