Install CouchPotato from Source on Windows

CouchPotato is your personal feature length media PVR. You create a watchlist of content and CouchPotato will automatically download them from torrents or usenet automatically on your home media server. For usenet it will work with Sabnzbd or NZBGet. If you prefer torrents, CouchPotato will work with uTorrent, Transmission, Deluge, rtorrent, Synology Download Station and others. It can use both usenet and torrents, you do not have to choose torrents or usenet though I prefer usenet for getting new content from UsenetServer. If you insist on torrents secure your connection with a VPN to avoid letters from copyright institutions.

Usenet Provider
100 Mbit

Install CouchPotato from Source Windows

Ruudburger compiles CouchPotato into a Windows executable as a convenience. It is actually written in python and you can run Python on Windows. Installing straight from the source means you get fixes much faster so if a usenet indexer changes something you can grab the fix the same second Ruudburger commits the updated code. I ran a test and retained my database going from the Windows version to the source version since CouchPotato uses the same default data path on Windows. The CouchPotato github says pywin is necessary, it was working fine without pywin for me on Windows 7.

Install Git Windows

Download gitshell and run it. You will see this wizard.

couchpotato git step 1

Accept the license

couchpotato git step 2

Choose the install location

couchpotato git step 3

Uncheck these options Additional icons and Windows Explorer integration. You won't need them. You can uncheck the bottom ones as well.

couchpotato git step 4

Leave the start menu folder as is or change it to your liking

couchpotato git step 5

This is important, for Adjusting your PATH environment, choose Use Git from the Windows Command Prompt

sickrage git step 6

This is less important but I chose the top option Checkout Windows-style. It only matters if you are using git to create programs.

couchpotato git step 7

Unless you want to see the Release Notes uncheck it and click Finish

couchpotato git step 8

Install Python 2.7.x

Download Python 2.7 which will work on 64 or 32 bit systems

Run the installer, for the most part you just click Next through the Wizard

windows python step 1

The guide will assume you are installing to C:\Python27

windows python step 2

In the Customize Python 2.7.x enable Add python.exe to Path.

This allows you to run python from the command prompt in Windows.

Click Next

windows python step 3

Click Finish to exit

windows python step 4

Install CouchPotato from Source

Open up a command prompt as an Administrator.

git clone c:\CouchPotato

Make sure CouchPotato runs, it should open a browser displaying the CouchPotato interface

python c:\CouchPotato\

Now we will make CouchPotato run on startup so it runs in the background on boot.
this method also means you won't have a command prompt open all the time, it will be hidden.

Create the file CouchPotato.vbs in Notepad

Paste this code, if it doesn't work for you there is another vbs in the comments thanks to Gabriel.

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\CouchPotato\" & Chr(34), 0
Set WshShell = Nothing

File -> Save as and save it as “CouchPotato.vbs” in C:\CouchPotato so the file ends up as C:\CouchPotato\CouchPotato.vbs

Now copy a shortcut of CouchPotato.vbs to your Startup folder

Open up you Startup Menu. Right click and choose Open.

sickrage open startup folder

In Windows explorer, go into C:\CouchPotato and copy CouchPotato.vbs

Sickrage copy sickrage

Now paste it as a shortcut in the Startup menu folder by right-clicking and choosing Create Shortcuts here.

sickrage paste shortcut

Reboot to test if CouchPotato autostarts on boot, you may need to use this alternative vbs script if it doesn't work

Set WshShell = CreateObject(“WScript.Shell”)
WshShell.Run “python.exe C:\CouchPotato\”, 0, false
Set WshShell = Nothing

Now you can access CouchPotato at http://ip.address:5050.

To update CouchPotato when a new fix is pushed, open a command prompt and enter the CouchPotato folder

cd c:\CouchPotato

Use git to pull the latest update containing new CouchPotato fixes

git pull

If you are migrating from the pre-compiled CouchPotato Windows version, running from source will use the same exact database unless you changed the data path in the pre-compiled Windows version.

Now you can configure CouchPotato with usenet, torrents or both usenet and torrents.

If you are migrating from you