Giter Site home page Giter Site logo

sickchill-updater's Introduction

SickChill Updater

After updating to the PIP version of SickChill, I found that it was no longer automatically updating so I wrote a quick script.

I've setup a cron job to run this script once an hour (Yeah I know, its definitely overkill, but the entire reason I created this was because I got sick of seeing the "update available" banner)

Installation

Download the updater script:

wget https://raw.githubusercontent.com/josh-gaby/sickchill-updater/master/update_sickchill.sh

OR clone using Git

git clone https://github.com/josh-gaby/sickchill-updater

Make the script executable:

chmod +x update_sickchill.sh

Next you'll need to edit the script and change a couple of variables:

nano update_sickchill.sh

If you installed SickChill using Git:

INSTALL_TYPE="GIT"
SICKCHILL_PATH="/path/to/your/sickchill/installation"  # i.e. ~/sickchill

If you installed SickChill using PIP:

INSTALL_TYPE="PIP"
SICKCHILL_PATH="/path/to/your/sickchill/installation" # i.e. ~/pip/bin

For pip installations there is also an optional variable you can change called PIP_PATH, setting this will allow you to run the updates and restart Sickchill using a version of pip other than the default system version.

NOTE: If you set PIP_PATH and leave the PYTHON_PATH empty then the updater script will attempt to call the version of pyhyon inside your PIP_PATH to restart SickChill.

sickchill-updater's People

Contributors

josh-gaby avatar

Watchers

 avatar

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.