Welcome
QNAP Couch Potato

Tips & Tricks for Sick Beard and Couch Potato

A few handy little Tips and Tricks for Sick Beard, Couch Potate users …

Sick Beard and Couch Potato specially when combined with SABnzbd, are simply awesome …!  :-bd

Installing and using Sick Beard or Couch Potato is not that complicated either.

A few things can be a little daunting though like for example;

  • The naming convention of “Specials
  • What to do when two or more episodes are combined in one file
  • Downloaded files do not get “moved” but copied and old files remain in the “Completed” folder of SABnzbd
  • What are TBN and NFO files?

In this short article, I’ll explain how I resolved these little issues …

Tip: A new QPKG has been released for QNAP user, the so called SABNzb-wrapper, helping for example with updates. Read the QNAP forum post for details. To install; DISABLE SABNzb in your QNAP admin pages, install the wrapper, en ENABLE SABNzbd again – done. Now each time when SABNzb restarts updates will be handled (default: stable releases only, but this can be changed).



Sick Beard – Naming convention for “Specials”

Some shows occasionally air so called specials … but how do I make Sick Beard recognize them?

This is what worked for me:

  1. Create a sub-folder called “Specials” in the folder of your particular TV-Show and copy the specials you might have in that new folder (where “Season 01“, “Season 02” etc can be found as well).
  2. Open the show details in Sick Beard and scroll down to the “Specials” section.
    Now when you look in the “Episode” column, you will see a number for the articular special you’re looking for.
    Remember this number! (“6″ in the example below)

    Sick Beard - Naming convention of the Specials

    Sick Beard – Naming convention of the Specials

  3. Now go to this file in the Windows Explorer, MacOS Finder, or whatever you use to browse files on your computer.
    Here we are going to rename the files that you copied in the “Specials” folder, to match the numbering format:
    00xEP – special episode title
    where:
    00 is to indicate the season “00” a.k.a. “Specials“, and
    EP= the episode number we just remembered from the “Episode” column. Add a zero before the number if needed.Example:
    Archer (2009) – 00×06 – Heart of Archness – Part III.avi

Repeat these steps for every special you have. Once done with the renaming and moving of files, initiate a “Re-Scan” in Sick Beard. Sick Beard will now recognize the files correctly.

Sick Beard - Re-Scan files to find Specials

Sick Beard – Re-Scan files to find Specials

 

Information Message
Note:

The Usenet Scene is not always following the correct naming convention for special episodes – this is the reason why Sick Beard cannot always find them!

 

Sick Beard – Combined Episodes

Sometimes two episodes are aired combined – The TVDB defines them as 2 separate episodes yet only one big episode (both glued together) has been aired. Because of this Sick Beard will not necessarily identify them correctly, for example; it sees only the first one but not the second one. So how do we make it that Sick Beard does recognize them correctly?

Say we have “My Show” and episodes 1 and 2, of season 1, called “Pilot” are aired and saved as 1 file. The naming convention Sick Beard recognizes would be:

My Show – 01x01x02 – Pilot.avi

The first “01″ is the season, everything following will be considered an episode (so episode 01 and 02 combined).

Once you named your files correctly, do a “Re-Scan” (as illustrated in the previous example) and Sick Beard will identify them correctly.

Downloads keep Piling up

Sick Beard

With the default settings of Sick Beard the downloaded files will not be deleted – a good thing when you’re just starting to play with the Sick Beard and SABnzbd combo. But eventually the “completed” folder of SABnzbd will chew quite a bit of disc space and that’s not really needed when an episode is already copied to another location (the TV Series folder).

The configuration page of Sick Beard helps out in this case.

Go to “Config“ → “Post Processing“, uncheck “Keep Original Files“ and click “Save Changes“.

Sick Beard - Remove obsolete downloads

Sick Beard – Remove obsolete downloads

That’s all there is to it (under the assumption that you did setup SABnzbd to use the “sabToSickBeard.py” post processing script (more details in the installation guide - Linking SABnzbd and Sick Beard).

Couch Potato

Couch Potato files could face the same issue, and as seen with Sick Beard, it’s just a matter of a setting.

Open Couch Potato, click the cog wheel, click the “Renaming” option.

The Renaming option handles the monitoring of your download directory and consequent moving and renaming of the download. It will also create a directory, and add NFO and TBN files for the movie you downloaded.

Check the “Enable” option, and the “Cleanup” option and click “Save” (bottom of the page). As of now Couch Potato will cleanup downloaded files.

Couch Potato - Cleanup Downloads

Couch Potato – Cleanup Downloads

 

Sick Beard / Couch Potato – What are TBN and NFO files?

Sick Beard and Couch Potato might generate some additional (and very useful!) files. For example used by XBMC are the TBN and NFO files. But what are they and how can I view them?

TBN – Thumbnails …

TBN are JPEG formatted thumbnail. To view them simply open them in a (capable) JPEG viewer.

Windows:

Copy the following text in a text document for example by using NOTEPAD. Save the file as tbn.reg. After closing Notepad double click the tbn.reg file – Windows will warn you that a registry change is about to happen, confirm this. (source)

  1. Windows Registry Editor Version 5.00
  2. [HKEY_CLASSES_ROOT\.tbn\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
  3. @="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.tbn\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"

Once you completed that, Windows will treat the TBN file like any other JPEG file.

MacOS X:

Preview” for some reason doesn’t like to show TBN files even when associated. A very fast and helpful alternative is Xee. Download it, install it, it’s free … (make a small donation if you really like Xee).

Right click a TBN file and from the popup menu click the option “Get Info“. A window opens with the information of this file, including but not limited to the definition of what application will be used to open this file – it’s under the “Open width:” section.

Set this to Xee and click the “Change All…” button – as of now, each TBN file will be opened with Xee …

MacOS X - Default open a TBN file with Xee

MacOS X – Default open a TBN file with Xee

NFO – Show and Episode Information

The NFO file typically is a text file, and in this particular case a text file with XML formatted data concerning the show or episode. You can read or edit it with pretty much any plain text editor.

For Windows this can be NOTEPAD or my favorite Notepad++ (free).
For MacOS X users I’d like to recommend TextWrangler by Bare Bones Software - it’s free and a very capable text editor.

Couch Potato – Stuck in a restart?

Well, it happened to me more than once – Couch Potato got totally stuck in a restart, specially after an update. Even Disabling/Enabling the QPKG didn’t fix the issue. Couch Potato seems frozen/dead (didn’t want to load it’s page). Not sure if this is the best way to do it, but it worked for me.

Step 1 – First DISABLE Couch Potato in the QPKG menu.

Go to the QPKG menu of your QNAP and click Couch Potato. In the upcoming window click “DISABLE“. You can leave this window open – we will need it to ENABLE Couch Potato again.

Step 2 – Open a SSH connection to your QNAP to kill the Couch Potato process.

To be able to access your QNAP through SSH, you will first need to make sure this service is enabled.
Open the QNAP Administration page, on the left under “Home” click “Network Services“ → “Telnet / SSH” and make sure “Allow SSH connection” is checked. Click “Apply” if you had to make a change. SSH access is now enabled (you can turn it off again later when done doing these minor changes).

  • If you’re a Windows user;
    Use an SSH program like my personal preference PuTTY (direct download link) or an equally good alternative called WINSCP, and go to the IP address of your QNAP using the username “admin” and the password you defined during setup of your QNAP .
  • If you’re a MacOS X user;
    Simply open a Terminal window (under “Applications“ → “Utiltities“) and type on the command-line: “ssh admin@<ip of your QNAP>” (without the quotes) and press enter. <ip of your QNAP> should of course be replaced by the IP address of your QNAP, for example:
    ssh admin@10.0.0.49.
  • Linux users probably do something similar as MacOS X users; open a shell window and use the SSH command.

Step 3 – Kill the Couch Potato process

Once logged we need to execute the following commands:

  1. ps | grep Potato
ps | grep Potato

This will produce a list of running processes with “Potato” in the name, something like this:

  1. [~] # ps | grep Potato
  2. 21368 admin     27176 S   /opt/bin/python2.6 CouchPotato.py -q
  3. 23293 admin       564 S   grep Potato
  4. [~] #
[~] # ps | grep Potato
21368 admin     27176 S   /opt/bin/python2.6 CouchPotato.py -q
23293 admin       564 S   grep Potato
[~] #

You see the line with “CouchPotato.py“? That’s your Couch Potato … and we want to kill that task.

The first number (21368 in this example) in that line is the process id (PID) and that’s the number you will need to kill this task.

Execute the following command – WARNING: replace “21368” with the number that you see on YOUR QNAP!!!

  1. kill -9 21368
kill -9 21368

Couch Potato is now totally stopped.

Step 4 – Exit SSH and restart Couch Potato

You can now exit the SSH connection (close PuTTY, exit Terminal or shell window) and go to the Couch Potato page that we left open in Step 1 to ENABLE Couch Potato again.

QNAP – Can’t work with files in the SABnzbd Incomplete directory

In very rare situations you might want to “play” with the files downloaded by SABnzbd that are found in the “incomplete” folder. For example when SABnzbd indicates problems in the post-processing (after the download completed – when it wants to extract files).

In maybe 1 out 5 situations I can still recover files from the download, although some files might be damaged, or a file has been password protected and you need to go in manually to extract the file using a password.

The problem you might run into is that you don’t have the proper access rights to the files and/or directory. When using SSH (see previous explanation) you can either use sudo or (and this is what I typically do) chmod (in the directory where the files reside that you want to work with).

  1. chmod g+rw *
chmod g+rw *

The QNAP has tools onboard like unrar to extra files:

  1. unrar e filename.rar
unrar e filename.rar

This will unrar ”filename” including it’s additional rar files.

SABnzb and Sick Beard Browser add-ons

For some browsers, in this example Google Chrome, add-ons or extensions exist for easier access to your Sick Beard or SABnzbd.

I highly recommend exploring SABConnectPlusPlus (Chrome web store) and SickBeardConnect (Chrome web store);

SABconnect++ and SickBeardConnect - highly recommended

SABconnect++ and SickBeardConnect – highly recommended

Both add-ons show you quickly the status of either SABnzbd or Sick Beard - SABConnectPlusPlus also offers some slick options for visitors fo websites like NBZMatrixNZBSearch and NZBIndex. When using a service like DynDNS (it has become cumbersome to get a free account here) or No-IP you can even set them up to remotely monitor your download progress.





Share this ...


DISCUSSION

Share your opinion ...

Here you can read comments, post comments, or respond to comments.
A comment can be placed by scrolling down to the comment form.
You can reply to a comment by clicking the Reply button underneath a comment.

So far 9 comments have been left.
By Edvard - March 26th, 2012 at 7:18 AM

En beheer al dit moois (sabnzbd, sickbeard, couch potato) met de Iphone/Ipad app genaamd Qouch. Slagroom op de taart ;)


Reply
By Hansaplastique - March 26th, 2012 at 9:45 AM

Oh dat is mooi – ik ga meteen even kijken naar dit speelgoed :)
Ik beheer het hele zaakje al remote met de nodige Chrome plug-ins, en met mijn Android telefoon (die deze week vervangen gaat worden door een iPhone).
Thanks!


Reply
By Ottooo - May 25th, 2012 at 4:16 PM

Qouch is inderdaad een top app, voor iedereen een aanrader!
Ik heb Sabnzb, couchpotato en sick beard nu draaien op mijn Qnap (bedankt voor de top uitleg! :) ), het is alleen via mijn Wifi-netwerk te bereiken. Enig idee hoe ik dit van buitenaf in kan stellen? Als ik onderweg een film bedenk die ik wel zou willen zien, zou het natuurlijk wel tof zijn als ik die bij thuiskomst al binnen heb natuurlijk. :)


Reply
By Hansaplastique - May 26th, 2012 at 10:25 AM

Leuk om te horen dat het artikel zinvol voor je was :)

Om het e.e.a. van buitenaf te kunnen bereiken moet je de poorten van SABnzb, SickBeard, en CouchPotato in jouw router mappen naar de QNAP.

Bij elk van deze programma’s kun je een poort aangeven in de instellingen.
N.b. ik merkte dat voor CouchPotato om de een of andere reden de default poort, zoals die initieel ingesteld staat, niet werkte met mijn router, maar dat is waarschijnlijk router specifiek. Dus in CouchPotato heb ik de poort veranderd.

Vervolgens moet je of een vast publiek IP adres (het IP adres van jouw ADSL of Kabel modem) hebben of een service zoals DynDNS.com gebruiken om een domein/url dynamisch te linken naar jouw Internet verbinding thuis. DynDNS is het meest gebruikt, maar is intussen niet meer gratis. Een groot voordeel daarvan is dat veel routers jouw IP adres en de DynDNS link automatisch voor je update – stukken handiger dan een programma op een Windows of Mac computer die het voor je doet.

Alternatieven kun je hier vinden: Dynamic DNS Services, No-IP, of FreeDNS.

Als je dit overigens opgezet hebt kun je ook nog eens het e.e.a. met specifieke programma’s op jouw mobiele telefoon bedienen (Apple, Android).


Reply
By Ottooo - May 31st, 2012 at 2:24 PM

Bedankt, het is gelukt. Ideaal! :)


Reply
By Hansaplastique - May 31st, 2012 at 2:41 PM

Excellent! :)
Als je een iPhone of Android telefoon heb; kijk zeker naar de speciale apps for SABnzb en SickBeard.
Ook leuk en sterk aan te raden als je Chrome als browser gebruikt:
SABconnect++ en SickBeardConnect


Reply
By Ottooo - June 7th, 2012 at 2:29 PM

Ik heb eerder genoemde Qouch op mijn iPhone (en iPad), werkt perfect. Ik gebruik verder Firefox, daar heb ik de nzbdstatus add on. Voor Sickbeard en Couchpotato helaas nog geen add ons gevonden.


By Hansaplastique - June 21st, 2012 at 11:29 AM

FYI:

A new QPKG has been released for QNAP user, the so called SABNzb-wrapper, helping for example with updates.

Read the QNAP forum post for details.


Reply
By AtariBaby - September 9th, 2012 at 5:57 PM

Just wanted to say thanks for the helpful info.


Reply

Leave a Comment


   Subscribe to comments

AVATAR - We use Gravatar.com for our Avatars. Gravatar is free and globally used.

CODE - We support some Basic HTML, and code highlighting (use <PRE>).

LINKS - Links are clickable if you start them with "http:\\". Example: http:\\www.tweaking4all.com

EMOTICONS - Smileys/Emoticons convert to images after placing your comment.

Follow Us and Share