HTPC
From Indie IT Wiki
Home Theatre Personal Computer.
Paully's Ultimate Lazy Boy Configuration
This has to be the best way to enjoy hassle free viewing of the very latest TV shows and Movies.
It involves 7 different pieces of software, and they all have to work...
- Ubuntu_Server - to use as the base operating system.
- DNS - to be able to access certain web sites.
- FlexGet - to retrieve the list of new shows or movies.
- Trakt - to manage the list of your shows or movies you want.
- Transmission - to download the torrent files.
- FileBot - to rename the files and place them in your folders.
- XBMC - to watch and scrobble the tv shows and movies.
Ubuntu > DNS > FlexGet > Trakt > Transmission > FileBot > XBMC
Paully's Setup...
Transmission
Install the software...
sudo apt-add-repository ppa:transmissionbt/ppa sudo aptitude update sudo aptitude install transmission-daemon transmission-common transmission-cli sudo service transmission-daemon stop sudo pip install transmissionrpc
Allow the software to run on startup...
sudo nano /etc/default/transmission-daemon ENABLE_DAEMON=1
Fix the user the daemon runs as (because we are saving it in our shared Samba folder)...
sudo nano /etc/init.d/transmission-daemon USER=nobody sudo nano /etc/init/transmission-daemon.conf setuid nobody setgid nogroup
Make the folder it will download files to, change settings and permissions...
sudo mkdir -p /home/samba/shared/transmission sudo chown -R nobody:nogroup /home/samba/shared/transmission/ sudo chmod -R g+w /home/samba/shared/transmission/ sudo chown -R nobody:nogroup /var/lib/transmission-daemon/ sudo chown -R nobody:nogroup /etc/transmission-daemon/ sudo chmod -R g+w /var/lib/transmission-daemon sudo chmod -R g+w /etc/transmission-daemon sudo nano /etc/transmission-daemon/settings.json "download-dir": "/home/samba/shared/transmission", "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "mypassword", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "myusername", "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": false,
Start...
sudo service transmission-daemon start
Check it is running...
sudo pidof transmission-daemon sudo ps faux sudo netstat -ntap |grep 'transmission'
FileBot
sudo -i mkdir -p /root/misc/filebot cd /root/misc/filebot aptitude install default-jre-headless wget -O filebot_4.5_amd64.deb http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.5/filebot_4.5_amd64.deb/download dpkg -i filebot_4.5_amd64.deb
FlexGet
Install the software...
sudo aptitude install python-pip sudo pip install flexget six==1.8.0 sudo flexget --version
Schedule updates...
sudo -i crontab -e # flexget @daily easy_install --upgrade Flexget &>/dev/null @daily easy_install --upgrade transmissionrpc &>/dev/null @daily /usr/local/bin/flexget --version
Create config file...
(as regular user)
mkdir ~/.flexget nano -w ~/.flexget/config.yml tasks: test task: rss: http://mysite.com/myfeed.rss series: - My Favorite Show - Another Good Show: quality: 720p download: /home/me/watchdir/
Test...
flexget check flexget --test execute
Channels
Trakt.tv
HOWTO:
Backup Whole Entire System (less /home)
sudo -i cd / tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/home --one-file-system /
SCREENS:
Check out the specifications of your chosen display at the aptly named DisplaySpecifications.com.