CouchPotato
CouchPotato (CP) is an automatic NZB and torrent downloader. You can keep a "movies I want"-listing and it will search for NZBs/torrents of these movies every X hours. Once a flick is found, it will send it to SABnzbd or download the torrent to a specified directory.
Running from Source
CouchPotatoServer can be run from source. This will use git equally updater, and so make sure that is installed.
Windows, run into the CP forum for more than details:
- Install Python ii.vii
- Then install PyWin32 2.seven and GIT
- If you come up and ask on the forums 'why directory selection no work?', I will impale a kitten, also this is because you need PyWin32
- Open up
Git Bash
(or CMD) and become to the folder y'all want to install CP. Something like Plan Files. - Run
git clone https://github.com/CouchPotato/CouchPotatoServer.git
. - Yous can now start CP via
CouchPotatoServer\CouchPotato.py
to start - Your browser should open up, just if it doesn't go to
http://localhost:5050/
OS X:
- If you lot're on Leopard (10.5) install Python 2.6+: Python 2.6.5
- Install GIT
- Install LXML for better/faster website scraping
- Open up
Terminal
- Go to your App folder
cd /Applications
- Run
git clone https://github.com/CouchPotato/CouchPotatoServer.git
- And then practise
python CouchPotatoServer/CouchPotato.py
- Your browser should open up, just if it doesn't go to
http://localhost:5050/
Linux:
- (Ubuntu / Debian) Install GIT with
apt-get install git-core
- (Fedora / CentOS) Install GIT with
yum install git
- Install LXML for ameliorate/faster website scraping
- 'cd' to the folder of your choosing.
- Install PyOpenSSL with
pip install --upgrade pyopenssl
- Run
git clone https://github.com/CouchPotato/CouchPotatoServer.git
- Then do
python CouchPotatoServer/CouchPotato.py
to start - (Ubuntu / Debian with upstart) To run on boot re-create the init script
sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato
- (Ubuntu / Debian with upstart) Copy the default paths file
sudo cp CouchPotatoServer/init/ubuntu.default /etc/default/couchpotato
- (Ubuntu / Debian with upstart) Modify the paths inside the default file
sudo nano /etc/default/couchpotato
- (Ubuntu / Debian with upstart) Make information technology executable
sudo chmod +x /etc/init.d/couchpotato
- (Ubuntu / Debian with upstart) Add information technology to defaults
sudo update-rc.d couchpotato defaults
- (Linux with systemd) To run on boot copy the systemd config
sudo cp CouchPotatoServer/init/couchpotato.service /etc/systemd/system/couchpotato.service
- (Linux with systemd) Update the systemd config file with your user and path to CouchPotato.py
- (Linux with systemd) Enable it at boot with
sudo systemctl enable couchpotato
- Open your browser and get to
http://localhost:5050/
Docker:
- Y'all tin use linuxserver.io or razorgirl'southward to quickly build your own isolated app container. Information technology's based on the Linux instructions above. For more info about Docker check out the official website.
FreeBSD:
- Become root with
su
- Update your repo itemize
pkg update
- Install required tools
pkg install python py27-sqlite3 fpc-libcurl docbook-xml git-lite
- For default install location and running as root
cd /usr/local
- If running every bit root, expects python hither
ln -s /usr/local/bin/python /usr/bin/python
- Run
git clone https://github.com/CouchPotato/CouchPotatoServer.git
- Copy the startup script
cp CouchPotatoServer/init/freebsd /usr/local/etc/rc.d/couchpotato
- Make startup script executable
chmod 555 /usr/local/etc/rc.d/couchpotato
- Add startup to boot
repeat 'couchpotato_enable="YES"' >> /etc/rc.conf
- Read the options at the summit of
more than /usr/local/etc/rc.d/couchpotato
- If not default install, specify options with startup flags in
ee /etc/rc.conf
- Finally,
service couchpotato beginning
- Open your browser and get to:
http://server:5050/
Development
Be certain you're running the latest version of Python 2.seven.
If you're going to add together styling or doing some javascript work you'll demand a few tools that build and compress scss -> css and combine the javascript files. Node/NPM, Grunt, Compass
After you lot've got these tools yous can install the packages using npm install
. Once this process has finished y'all tin starting time CP using the control grunt
. This will start all the needed tools and watches any files for changes. You tin now change css and javascript and it wil reload the page when needed.
By default it will combine files used in the cadre folder. If yous're adding a new .scss or .js file, you might need to add it and and then restart the grunt process for information technology to combine information technology properly.
Don't forget to enable development inside the CP settings. This disables some functions and besides makes certain javascript errors are pushed to console instead of the log.
DOWNLOAD HERE
Posted by: greenrived1941.blogspot.com