Here’s all the VLOG videos from the Spanish holiday
Here’s all the VLOG videos from the Spanish holiday
Right, so we have setup our media server, so we now need to wire it all together, so the system downloads what it needs, when it needs to.
So let’s get to it. First decisions, where are we going to store our media, remember video takes up significant space. I’m going to be storing it locally, but obviously if you are storing on a network location it needs to be mounted in the Linux partition. Easiest way to do that is probably through the Linux file manager, but with so many options when it comes to storage, for this demonstration we will take the simplest option.
I recommend splitting how you store the media up now, as will make it simpler going forward, I’ve created a TV and a Movies folder , but if you have kids and music and pictures then you may want to add these areas too. Get it organised now how you want though, as it’s easier now without having to deal with huge amounts of content.
Now lets set the Plex Libraries up, this is done by going to http://127.0.0.1:32400/web and clicking the + sign on the left next to your media server name. Simply select the right media type and point it at the location the media will live.
Now we need to configure the server to connect to the Plex service, so click the Config Icon (Spanner/Screwdriver at the top right) and select the Server area, then Make sure the Friendly name is as you want it, and click the Connect section, login with your Plex username (If you don’t have one, set one up), and with that, the basics of Plex server are done.
Next up is SabNzbd. This is the actual news server download engine, the bit that does the work so to say. Goto http://127.0.0.1:8080 and click on the Config item.
Click on General, and create a username and password and click save, obviously login when it asks you to. Click the Folders item, and lets setup where things go. As a general rule the Downloads/incomplete and Downloads/complete folders are fine, but if you want to place them elsewhere then here’s where to change the locations, we also need to point the Post Processing script folder, so type in /home/username/.sickbeard/autoProcessTV
Click the Servers option, then we need to setup our News Server (if you haven’t already) I use AstraWeb for my news service, and can highly recommend them, so if you don’t already have a news server account then hop over and get one. The details I’ll be showing here are Astraweb‘s, but obviously replace with yours. See the image to the right for the AstraWeb settings, I use the SSL server for all my connections, just to be safe.
Next we need to create some categories for our downloads, so click the categories option, and we need to create a Movies one and set a path for it, I’m putting it in Downloads/incomplete/Movies click save, then add a new one TV and point it at Downloads/incomplete/TV and in the Script option, select SabToSickbeard.py and click save.
That should pretty much sort out SabNzbd for now, next onto
Bring up http://127.0.0.1:8081 and click Config/General, untick the Launch Browser, and put a username and password in the Web Interface area and click save, tick the enable API box, then generate, and click save.
Next click Search Settings at the top, and change the NZB Method to SABnzbd and in the URL field put http://localhost:8080/ put your username and password in and then get the API Key from the Config/General area of SABNzbd and click test, then Save.
In Search providers you can add any other NZB sites you may be a member of, but for now leave it as it is.
Post processing is where we get the shows organised after they are downloaded, and all the Meta Data setup for them, so in the TV Download Folder we need the full path the the download location, in our case /home/user/Downloads/complete browse for it if your not 100% sure, untick the Keep original box if ticked. The naming logic is upto your personal preference, but how it is out of the box will probably suite. And finally in this section, Metadata type needs to be set to MediaBrowser, and make sure you select the data you want downloaded (screenshot of my config attached)
Notifications we will leave alone for now, you can however research this section later if desired.
Let’s get CouchPotato set up now, so bring up http://127.0.0.1:8082 in your browser and click the cog in the top right then settings.
Click the Searcher option, select the First Search to be usenet, and select NZBClub and BinSearch. I recommend signing up on a Newznab host, I use www.oznzb.com but the others mentioned are just as good, use whichever suits yourself. Click categories sub area and make sure in the ignored section you have NL, nl, GERM, DK, FR, germ, dk, fr, ger, dut, german, dutch, french, truefrench, danish, swedish, spanish, italian, korean, dubbed, swesub, korsub, dksubs, vain, 3D as this will stop a lot of the ‘spam’ getting through, add more if you notice a type of movie getting through you don’t want. Click qualities and Create one that suits yourself, I have a quality setup as the picture to the right shows. You can also add R5/Screener etc if you want to.
Click the Downloaders menu option, select Sabnzbd and make sure the host is localhost:8080 The API key is the one from the general page in the SAB config area, and Category is movies, click test and make sure it says everything is all good.
Click Renamer, this is where the completed movies get moved to the right place, and labeled etc. So click all 3 boxes to enable the options, then in the To field click the folder icon and select the Movies folder where completed films need to go to be seen by Plex (the same folder we set up in the Plex library earlier). Tick the UNRar and cleanup options, then the From icon and select the Movies folder we selected in the SABNzbd category earlier, type en into the language for subtitles, and select a quality for the trailer (if you want it). Click the Metatdata sub menu, and select XBMC.
Next click the Manage menu option on the Left, and point this to the completed movie folder (the directory Plex is watching), if you want movies automatically added, you can click the Automation option, and get it to add movies based on taste etc from IMDB, Trakt etc.
That should be about it. Time to test something out.
Click the magnifying glass at the top of the window, and search for a movie.
As you can see, I’ve searched for an Open Source movie call Big Buck Bunny, but whatever you want to find is OK. Click the Add button, then click Home at the top, and the movie. Check that it’s been found, and that Sabnzbd is downloading it, next goto the Sick Beard interface, select Add Shows, then search for a show, click the one you want from the search results and select next, then click new and create a TV location, this is the same location that Plex is looking at for it’s TV Content. Click next and set the quality etc. After you click add, it should start downloading the TV.
Enjoy your automated TV and Movies.
Been a while since I’ve updated the guides on here, so here go’s, how to install the Required components onto a Linux Mint 17 machine.
First, obviously download the Linux Mint disk, I use the 64bit Mate version, but if you are more a fan of Cinnamon then that’s upto you.
Once the basic install of Mint is complete (Just your standard next/next, through the install). Login to the server, bring up Terminal
sudo apt-get update
sudo apt-get install guake
sudo apt-get upgrade
sudo apt-get dist-upgrade
That will get Mint upto the latest version of everything in it’s base install. After all that’s complete just reboot the machine/VM.
Setup for the Services
First off, we need Samba installed (probably, if you don’t then skip this section, but if you have a Windows machine on the network, it’s worth doing).
sudo apt-get install samba
That will get Samba basics installed. How much we setup depends, for now though we are going to leave it as it is (most of the time it’s already installed)
Pop along to the Plex Download Page and download the Ubuntu 64bit release. This get’s downloaded as a Debian Package (deb) file, and by default will be in the ~/Downloads folder. So to install this we need to use DPKG, so from the Terminal
sudo dpkg -i ~/Downloads/plexmediaserver????.deb
That should install the server on the local machine, to test bring up a browser and goto http://127.0.0.1:32400/web After agreeing to the license you should get a nice empty server display.
Next up, automating TV Downloads. For this we will be using Sick Beard, so let’s do that.
First let’s make sure you have an up to date version of Python installed. To do this from Terminal
Make sure it comes back with 2.5 or later (Mint 17.1 should be 2.7.6), next up we need Cheetah installed, this is easy from Terminal type
sudo apt-get install python-cheetah
That will get Cheetah installed, now we need to get the Sick Beard source down and compile it. So from the Terminal (I’ve used the HTTP git source of the repo, because of possible proxy issues, but if you have issues, use git:// instead of http://)
git clone http://github.com/midgetspy/Sick-Beard.git .sickbeard
That will put the application in the .sickbeard folder ‘hidden’ in your home folder, cd into it (cd ~/.sickbeard) to continue setup. Then
cp -a autoProcessTV/autoProcessTV.cfg.sample autoProcessTV/autoProcessTV.cfg
python ~/.sickbeard/SickBeard.py -q
Then goto http://127.0.0.1:8081 from your local browser to make sure it’s up and running.
Next, we need to automate it so we don’t have to do that everytime.
sudo cp ~/.sickbeard/init.ubuntu /etc/init.d/sickbeard
sudo chmod +x /etc/init.d/sickbeard
sudo nano /etc/default/sickbeard
When nano opens up, you need the following 3 lines in it, obviously changing the relevant sections so they are correct for your install (basically the username part in /home/??? and SB_USER)
Then we need to add the correct bit’s to make sure it all starts at boot time.
sudo chmod +x /etc/default/sickbeard
sudo update-rc.d sickbeard defaults
That should be it, just give the box a reboot now, to make sure. After the machine comes back up, got http://127.0.0.1:32400/web and http://127.0.0.1:8081 and make sure both services we have already installed are up and running.
Next we need to install Couch Potato, the easiest way to do this is to clone it via Git, that’s easy enough to do.
git clone git://github.com/RuudBurger/CouchPotatoServer.git .couchpotato
That will grab the latest code, and pop it into the ‘hidden’ folder .couchpotato
Next we need to set it up to auto start, so
sudo cp ~/.couchpotato/init/ubuntu /etc/init.d/couchpotato
sudo chmod +x /etc/init.d/couchpotato
sudo nano ~/.couchpotato/init/ubuntu.default
That will start nano editor up, and we need to put the relevant information on the home directory and the user in here, mine looks like this
# COPY THIS FILE TO /etc/default/couchpotato
# OPTIONS: CP_HOME, CP_USER, CP_DATA, CP_PIDFILE, PYTHON_BIN, CP_OPTS, SSD_OPTS
So just make sure the path’s and user name is correct, and copy the above, then lets add all this to the init.d
sudo cp ~/.couchpotato/init/ubuntu.default /etc/default/couchpotato
sudo chmod +x /etc/default/couchpotato
sudo update-rc.d couchpotato defaults
and now you should be able to use sudo /etc/init.d/couchpotato start/stop to start and stop the process. So go ahead and start it. Then make sure you can get to http://127.0.0.1:5050, it should launch the wizard to finish the configuration off. Just put a username and password in, and untick the launch browser box. I also change the port to 8082 as it’s easier to remember as next up from Sick Beard and what we are installing next (the download glue)
sudo add-apt-repository ppa:jcfp/ppa
sudo apt-get update
That will add the right repository, and update everything so we can then just go
sudo apt-get install par2
sudo apt-get install sabnzbdplus
sudo apt-get install sabnzbdplus-theme-mobile
All the dependencies that are needed will be listed, then just Say Y and away you go.
Now let’s get it setup so it automatically starts at boot, that’s done pretty much the same way we have done the others so far, so
sudo nano /etc/default/sabnzbdplus
and we need to edit a couple of variables in there, the USER= one should be your mint username, and HOST= should be 0.0.0.0 and I set the PORT= to be 8080 as then all the apps we have just installed are nicely concatenated together in a port range.
Save the file out, and sudo service sabnzbdplus restart
Launch a browser on http://127.0.0.1:8080 and go through the initial setup (news server etc).
Next up is configuring it all. So that in my next post.
Running Linux Mint 16 still? Want Linux Mint 17?
$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list $ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/official-package-repositories.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list.d/official-package-repositories.list
That will replace the versions in the relevant files, so when you run an apt-get update it will read the Mint 17 versions. Then to actually do the update….
$ sudo apt-get update && sudo apt-get dist-upgrade $ sudo apt-get upgrade
Job done, Reboot to be safe 🙂
I was a bit annoyed when I got my EA6900, Seems Linksys in their insane wisdom have disabled the ability to do Reverse Nat Loopback (call an ‘internal’ service using it’s internet name).
That HAD to be fixed, I can’t be bothered modifying host files every time I come home etc, just to access the services at home.
It seems Linksys have a reason for it (that basically means the hacker already has control of your router anyhow, so not really a security issue!) Here’s the reason JFYI
Here’s how to disable the ‘blocking’ of doing the Reverse NAT Loopback…..
That’s right! just disable the default setting for Cut Through Forwarding, it’s actually a pain anyway if devices don’t meet 100% spec on some protocols, and causes lag in some streaming services (iPlayer stuttered with it, doesn’t without!)
Linksys don’t actually know 100% what it does anyhow, because it’s actually a chipset setting (Broadcom) so other routers have the feature as well, some call it “Hardware Acceleration” others “CTF” but it’s all just enabling ctf.ko in the kernel load of the device.
Just turn it off, no problems then, and the supposed benefits wont be seen on any standard UK broadband network anyhow, and I’m on 152/15.
Just because I’ve had to work it out, I’ve got Picassa all installed in Linux Mint 16 (no mean feat as you probably know). Now I need to be able to get to the Network share that has the pictures on it.
sudo mount -t cifs //<ServerName>/<ShareName> /mnt/<MountName> –verbose -o user=<WindowsUserName>
That obviously mounts the network share to somewhere that Linux can see it (in the above case /mnt/<MountName>), so if we ls /mnt/<MountName> we will get the list of files/folders back.
OK, so lets get it so that Picassa/Wine can get to it easily.
ln -s /mnt/<MountName> /<FolderName>
That will create a symbolic link to the mnt folder, (obviously use something Windows can ‘see’ not <FolderName>) and then launch Picassa, tools, monitor folders, and set it to the pictures folder.
Just a quick link over to my modded touchwiz launcher
Over on XDA-Developers
A video’s turned up of what looks and sounds like an FXX/LaFerrari derivative running a Turbo Charged engine, possibly the F1 power unit or close relative of it.
The car as you can see has a snorkel on the top, which is a strange addition to the Ferrari cars it looks like it’s a member of. It would make sense for Ferrari to get some running on the engine, as it’s well ‘understood’ that they are struggling with their power train, especially on fuel usage.
There is also theories that the car may well be Ferrari’s return to LMP1 racing, and using the Power train from the F1 car would then be a good idea. Cross development would help both cars, and allow Ferrari to legitimately do more testing on the hybrid system.
Only time will tell if the car is a one off, or a serious return to LeMans
Popped to see this over the Christmas period, and have very mixed thought’s on it (as I also do with the first movie).
Here’s the latest version of the PLEX client for the NowTV.
As always it’s based entirely on the hard work of the ROKU Plex Team, so here’s a direct link over to their release information for this 2.8.2 release.
Basically this release brings things more in line with the current releases on other platforms. Now a word of warning, I’ve NOT had chance yet to test this release on the NowTV, so if there are any issues obviously let me know and then roll back to a 2.6.x release. I will have a play later.
Also because the way things work with the NowTV (not being a ‘real’ ROKU and using the official channels) this release might require a PlexPass account to work, as the way that the PLEX team licences the new code has changed slightly (see the post linked above).