GithubHelp home page GithubHelp logo

Add nzbToMedia about docker-nzbget HOT 8 CLOSED

linuxserver avatar linuxserver commented on August 11, 2024
Add nzbToMedia

from docker-nzbget.

Comments (8)

zaggash avatar zaggash commented on August 11, 2024 1

Hi,

Here is how I deal with nzbtomedia.
Create a file named userscript.sh in your container config folder, with this content :

#!/bin/bash
apt-get install -y git python

GIT_APP_FOLDER="/app/nzbToMedia"
CONF_APP_FOLDER="/config/nzbToMedia"
if [[ -d "$GIT_APP_FOLDER/.git" ]]
then
  git -C $GIT_APP_FOLDER pull
else
  git clone https://github.com/clinton-hall/nzbToMedia.git $GIT_APP_FOLDER
fi

mkdir -p $CONF_APP_FOLDER
[[ ! -f "$CONF_APP_FOLDER/autoProcessMedia.cfg" ]] && cp $GIT_APP_FOLDER/autoProcessMedia.cfg.spec $CONF_APP_FOLDER/autoProcessMedia.cfg
[[ ! -h "$GIT_APP_FOLDER/autoProcessMedia.cfg" ]] && ln -s $CONF_APP_FOLDER/autoProcessMedia.cfg $GIT_APP_FOLDER/autoProcessMedia.cfg
[[ ! -f "$GIT_APP_FOLDER/logs/nzbtomedia.log" ]] && { mkdir -p $GIT_APP_FOLDER/logs && touch $GIT_APP_FOLDER/logs/nzbtomedia.log; }

chown -R abc.abc /config /app

Obviously you can add more package to the

apt-get install

if you need to.

Personally, I add this in my torrent software container.
Because you can have multiple video snatcher but you have only one downloader most of the time :)

from docker-nzbget.

zaggash avatar zaggash commented on August 11, 2024

Do not forget to add the variable -e ADVANCED_SCRIPT='true'when launching you container

from docker-nzbget.

zaggash avatar zaggash commented on August 11, 2024

Deprecated solution since it use Apline and advanced script is no longer available

from docker-nzbget.

Ankh- avatar Ankh- commented on August 11, 2024

Any ideas how to implement git and nzbtomedia to this container? I now have to update manually the nzbtomedia implement it and it seems after a container restart I have to re-implement it again...

from docker-nzbget.

bbsan2k avatar bbsan2k commented on August 11, 2024

I created a PR to add a Volume for the Scripts. Standard scripts are not included anymore, but one can add them in the volume

from docker-nzbget.

sparklyballs avatar sparklyballs commented on August 11, 2024

I closed the PR, you can add volumes from the create/run line, you don't need to add them for everyone by putting them in the Dockerfile.

from docker-nzbget.

zaggash avatar zaggash commented on August 11, 2024

FYI, check how I deal with it on my transmission container.

https://github.com/zaggash/docker-transmission/
https://hub.docker.com/r/zaggash/docker-transmission/

from docker-nzbget.

zjpleau avatar zjpleau commented on August 11, 2024

Zaggash, how exactly do you deal with it on your transmission container? I didn't see anything there related. Just trying to get my nzbget container to install ffmpeg and ffprobe so the FailureLink script will work.

Thanks

from docker-nzbget.

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.