32sickbeardDownload TV episodes automatically with SickBeard

Published on by in Web Technologies. Updated 15th March 2013.

As TV and movie con­tent gradu­ally moves, kick­ing and scream­ing, onto the Inter­net, the demand for ways to man­age all the media we con­sume con­tin­ues to grow.  Whilst the major­ity of TV is still not avail­able from legit­im­ate sources online, there are now some series which are, includ­ing Pion­eer One — a Bit­Tor­rent only TV series.  Good lists of legal tor­rent pro­viders are avail­able from gigaom here and herePub­lic Domain Movie Tor­rents also provides links to movies which are now free of copy­right.  In some jur­is­dic­tions it may also be con­sidered legit­im­ate to down­load con­tent you already own in another format, or to down­load con­tent instead of record­ing it on a set-top box.  Either way, the time for improved auto­matic down­load ser­vices is now here.  Below I detail the easi­est way to auto­mat­ic­ally down­load TV epis­odes that I’ve dis­covered so far.

Once upon a time there was TED (Tor­rent Epis­ode Down­loader), but sadly TED hasn’t been updated for over a year and doesn’t func­tion very well any­more.  There are a few other Inter­net–PVR ser­vices, but each of them has lim­it­a­tions: Couch­Potato only down­loads movies; TVShows, Auto­matic and Series are MacOS only; Nzb­Drone & Epis­ode but­ler only work with paid-for news­groups.  Into this mix we can intro­duce Sick­Beard — an open­source mul­ti­plat­form sys­tem based on python.  Sick­Beard is mainly focused on news­groups but sup­ports tor­rent sites too, and thanks to its open source nature there are mod­i­fied ver­sions with enhanced tor­rent site support.

The instruc­tions below are focused on a mod­i­fied ver­sion of Sick­Beard called Sick­Beard alpha Pir­ate­Bay which is only avail­able as python code.  This will require installing python on your com­puter, but instruc­tions for that are included below.  The instruc­tions are inten­ded for users of Win­dows, but large parts are prob­ably rel­ev­ant to other plat­forms too.  Finally, you will need a tor­rent cli­ent, this guide is based on uTor­rent and includes setup instructions

Stage 1: Install Python & lib­rar­ies

  1. Down­load Python 2 (not 3).  Down­load either the Win­dows installer, or if you know you have 64bit win­dows install the Win­dows X86-64 installer.
  2. Install python, using default settings
  3. Down­load Chee­tah for Python
  4. Extract Chee­tah
  5. Open a com­mand prompt, switch to the folder you extrac­ted chee­tah to and run setup.py install
  6. You can now remove the folder you extrac­ted Chee­tah to

Stage 2: Install SickBeard

  1. Down­load Sick­Beard alpha Pir­ate­Bay (using the but­ton which says “zip”)
  2. Extract the zip file.  If you are using Win­dows 7 or vista I recom­mend extract­ing to C:\Users\{your user­name}\Sick­Beard.  If using Win­dows XP or earlier it doesn’t really matter.
  3. Run the file SickBeard.py
  4. If everything is cor­rect the Sick­Beard admin inter­face will load in your browser at http://localhost:8081/home/.  If you get a fire­wall prompt allow access.

Stage 3: Install uTorrent

  1. Down­load uTor­rent and the latest WebUI
  2. Install uTor­rent.  Once it has loaded close it.
  3. Rename the down­loaded webUI file to webui.zip and move it to %appdata%\uTorrent
  4. Rerun uTor­rent and open Options: Preferences
  5. Expand advanced with the + sign and select WebUI
  6. Tick “Enable WebUI” and enter a user­name and password
  7. Go to the con­nec­tion tab and make a note of the port used.  Make sure “ran­dom­ise port each start” is disabled
  8. Click ok, and min­im­ise uTorrent

Stage 4: Con­fig­ur­a­tion (Updated 30-Aug-2012)

  1. Go back to the sick­beard admin inter­face in your browser (http://localhost:8081/home/).
  2. Click on con­fig (the gears icon) and choose “search settings”.
  3. Click on the “NZB Search” tab and untick “Search NZBs” if it is ticked.
  4. Click on the “Tor­rent Search Tab” and tick “Search Torrents”.
  5. For tor­rent method select “uTorrent”.
  6. For “uTor­rent host” enter http://localhost:{uTor­rent port num­ber you noted earlier}/
  7. For the user­name and pass­word enter the details you choose for uTor­rent earlier.
  8. Click save changes.
  9. Click the Test Con­nec­tion but­ton — you should receive a mes­sage “Suc­cess: Con­nec­ted and Authenticated”.
  10. Click on the “Search Pro­viders” button.
  11. Tick ThePir­ate­Bay and drag it to the top of the list.
  12. Untick the oth­ers — or leave them enabled if you wish to use them.  I find some gen­er­ate errors so I don’t use them.
  13. Click “save changes”.

Stage 5: Usage

  1. You are now ready to use Sick­Beard as normal
  2. To add TV shows go to Home: Add shows
  3. You can add new shows or shows you already have epis­odes for — Sick­Beard will index them and use theT­VDB to work out which epis­odes are missing
  4. There are lots of extra options — e.g. only search­ing for HD epis­odes, skip­ping epis­odes etc.  To learn more you’ll have to experiment
  5. Head to the offi­cial Sick­Beard site for the Wiki and Forums

Stage 6: Run­ning on start-up

  1. You may well want to have Sick­Beard run on start-up — but its a python script — so it’s not as simple as usual.  Here’s how…
  2. Click on start and in the search bar type “task sched­uler” and press enter
  3. Expand the Task Sched­uler Library
  4. Click “Cre­ate Task”
  5. Give your task a name — “Sick­Beard” is prob­ably a good one :)
  6. Select “run whether user is logged on or not”
  7. Click on the “trig­gers” tab
  8. Click “New”
  9. Change the pull-down box at the top to “at star­tup” and click ok
  10. Click the “actions” tab
  11. Click “new”
  12. In the program/script box type the path where you installed python fol­lowed by pythonw.exe (e.g. “C:\Program Files\Python\pythonw.exe” or “C:\Python27\pythonw.exe”)
  13. In the add argu­ments box type the path to the sickbeard.py file (e.g “C:\Users\Jon\SickBeard\SickBeard.py”)
  14. Click ok
  15. Click on the Set­tings tab
  16. the 1st, 3rd and 5th boxes should be ticked — the oth­ers unticked.  I.e. “allow task to be run on demand”, “if task fails, restart…” and “if the run­ning task does not end when reques­ted force it to stop” should all be enabled
  17. Change the “if task filas, restart every” value to 1 minute
  18. Click the main OK button
  19. If sick­beard is still run­ning in a com­mand win­dow close it by press­ing Control-C
  20. wait for it to close
  21. Start the sched­uled task by select­ing it and choos­ing “run”
  22. The status should change from “ready” to “running”
  23. Point your browser back to the admin page (http://localhost:8081/home/) to check that all is present and correct

Other Use­ful Info

  • For an altern­at­ive setup guide for Sick­Beard try this PDF which has been made of a google cache of a now-deceased site
  • This guide should be used for legit­im­ate pur­poses only.  Please check the laws in your jur­is­dic­tion and ensure you aren’t viol­at­ing any copy­right.  Thanks.

Found this useful? Please do let us know by dropping a comment below. If you would like to subscribe please use the subscribe link on the menu at the top right. You can also share this with your friends by using the social links below. Cheers.

Leave a Reply

Fill in your details below or click an icon to log in:

32 Responses to “Download TV episodes automatically with SickBeard”

  1. Onigami

    Hey! First of all thank you for the tutorial! Unfor­tu­nately I have an issue with the Stage 4: Con­fig­ur­a­tion when I go to the “Tor­rent Search Tab” and tick “Search Tor­rents” it doesn’t ask me what I want to use. I’ve made a screen­shot here:

    Reply
    • Onigami

      Okay I solved the issue, the pro­cess of the reg­u­lar Sick­Beard was run­ning in the back­ground so I just killed it and that solved the issue ( I can’t find how to delete my comment)

      Reply
      • Jon Scaife

        Don’t worry — it’s a use­ful com­ment — if someone else gets into the same situ­ation they’ll see how you solved it! Thanks :)

        Reply
  2. Bobby

    Hi, what can I do to auto­mat­ic­ally move the fin­ished down­loads from the down­load dir­ect­ory (C:\Users\Bobby\Download) to my series dir­ect­ory (D:\Series\Series-Name\Season) ?

    Reply
    • Jon Scaife

      I’ll be look­ing at the latest ver­sions of uTor­rent and Sick­Beard soon. Per­son­ally how­ever I use Media Cen­ter Mas­ter to auto­mat­ic­ally move all of my down­loads :)

      Reply
  3. Vagus

    When you run sickbeard.py I get a com­mand prompt win­dow that stays open, any way to run “silently” so I don’t need to have a com­mand prompt running?

    Reply
    • Jon Scaife

      Did you do step 6 — run­ning it as a ser­vice? I don’t get any com­mand prompt win­dow when I run it that way. I don’t remem­ber doing any­thing else to make it silent…

      Reply
  4. Bob Smith

    thanks. I am going to try this. The best explan­a­tion I have seen. Thanks so much.

    Reply
  5. Kenski

    Great Art­icle.

    Can you add a step for post pro­cessing of files? This is great for snatch­ing files but you still need to manu­ally unzip/unrar files (if rared ver­sion is down­loaded) and then move to TV series/Season folder and rename.

    I know it can be done using the NZB side of things, but what about tor­rents using this ver­sion of SB?

    Reply
    • Jon Scaife

      I use Media Cen­ter Mas­ter for post pro­cessing, so I don’t actu­ally use any­thing built into sick­beard. I will look into it when I get chance though

      Reply
  6. ronfineganRon

    Great thread Jon got everything work­ing except Tor­rent Search for some reason the page wont save can you shed a little light on it for me please

    Reply
    • Jon Scaife

      I’m not sure — I think I had the same issue once and figured it out, but I can’t remem­ber how — I’ll have a look this week­end. None of your files are read only are they?

      Reply
  7. Johan

    Hi. this was work­ing just fine until i down­loaded a new ver­tion of Utor­rent and now i cant get it to work…
    the ver­tion i have now is 3.2.1 utorrent

    Reply
    • Jon Scaife

      I’ll have a look at the week­end. I’m using uT 3.2.2 and haven’t had any par­tic­u­lar issues, but i don’t use all the fea­tures that hook the 2 together. Can you give me some more details of how it’s not work­ing? What isn’t it doing?

      Reply
      • Johan

        Hei.
        the files in sick­beard just never got down­loaded to utor­rent,
        i tried to rein­stall everything and rein­stall utor­rent aswell.

        but utor­rent never star­ted to download

        Reply
        • Jon Scaife

          Do you have the latest WebUI installed? Have you def­in­itely got the cor­rect user­name, pass­word and port set in sick­beard? uTor­rent by default changes the port each star­tup (via the option “ran­dom­ise port each start”) — either dis­able that, or try what I use — I have the option selec­ted to provide an “altern­at­ive listen­ing port”

          What hap­pens in sick­beard if you go to set­tings, search set­tings, tor­rent search and click “test con­nec­tion”? You should get “Suc­cess: Con­nec­ted and Authenticated”

          Reply
        • Jon Scaife

          A follow-up — Sick­Beard alpha Pir­ate­Bay was updated 10 hours ago (at the time of my writ­ing this com­ment), and appar­ently has had an issue with tor­rent files fixed

          Reply
  8. Eyan

    On step 4.5, when I enter in the address it just brings me to a blank page that says “invalid request”.
    Can you help me?

    Reply
    • Jon Scaife

      Where are you enter­ing the address? Don’t enter it in the browser address bar!
      The Sick­Beard UI has been updated since I wrote this guide so the pro­ced­ure has changed a little bit. I’ll update the guide to reflect the newer version…

      Reply
  9. James

    On step 6.13 when I put in my folder “C:\Users\James\SickBeard\SickBeard.py” as the argu­ment (tried both with and without quotes) and con­tinue on, I get An error has occurred for task Sick­Beard. Error mes­sage: One or more of the spe­cified argu­ments are not valid.

    Any ideas? Thanks for the help Jon! Great Tutorial!

    Reply
    • Jon Scaife

      When you tried it with quotes did you copy and paste it from here? I use fancy look­ing quotes (via a plu­gin) which aren’t the same char­ac­ter code as plain quotes so that might be mess­ing it up?
      Also — did you rename the sick­beard folder so it is called just “sick­beard”? Mine has a longer random-looking name
      I have quotes around both the argu­ment and the com­mand — do you?
      Not sure I can think of any­thing else to suggest

      Reply
      • James

        Could never fig­ure out how to make it work, but instead figured out how to turn it into a ser­vice! Just in case you want to add it to your tutorial:

        1. Down­load Win­dows Server 2003 Resource Kit and extra instsrv.exe & srvany.exe to the root drive. Open cmd and type:
        instsrv.exe Sick­Beard c:\srvany.exe
        You should get a mes­sage say­ing: The ser­vice was suc­cess­fuly added!

        2. Open regedit and browse to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SickBeard])
        a. right click on the key Sick­Beard and cre­ate a new key called Para­met­ers
        b. inside the Para­met­ers key, cre­ate the fol­low­ing String Val­ues
        Value name \ Value Data (notes)
        App­Dir­ect­ory \ C:\Python27 (the dir­ect­ory where you have python installed)
        Applic­a­tion \ C:\Python27\pythonw.exe (the full dir­ect­ory path of the pythonw.exe)
        AppPar­a­met­ers \ C:\Program Files\Sick-Beard\sickbeard.py (full dir­ect­ory path to where sickbeard.py sits)
        c. then under the Sick­Beard key (not Para­met­ers) add a string value called Descrip­tion. Set it’s value data to:
        Sick­Beard is the ulti­mate PVR applic­a­tion that down­loads and man­ages your TV shows.
        d. close regedit

        3. Go start the Sick­Beard ser­vice via the Ser­vices snapin and define your pre­ferred Star­tup type.

        Reply
        • Jon Scaife

          Fant­astic info James, thanks. I don’t know why it didn’t want to work for you — I’ve just recently rebuilt my server with Win­dows Server 2012 and used these instruc­tions ver­batim to check I hadn’t made any errors — it worked spot on.
          Regard­less — its great to have an altern­at­ive way to do it. I’ll edit the art­icle and link your com­ment rather than re-write it. Cheers again.

          Reply
  10. Michael

    In stage 1 step 5 what are the exact com­mand prompt com­mands that i need to type in?

    I nav­ig­ate to the folder with com­mand prompt and when I type setup.py it says “not using setuptools, so we can­not install the Mark­down dependency.”

    Reply
    • George

      I had the same prob­lem. You have to tell setup what you want to do, in this case:

      setup.py install

      Hope that helps.

      Reply
    • Jon Scaife

      Sorry, my mis­take. The ital­ics got lost some­how which made the instruc­tion a bit con­fus­ing. You need to run “setup.py install” (without the ” marks). Hope that sorts it for you! :)

      Thanks for your advice George. I hope the rest of the instruc­tions worked flawlessly?

      Reply