Tuesday, December 10, 2013

Setting Up Home Media Center

Installation of RASPBMC

1. Install the RASPBMC from online installer  http://www.raspbmc.com/download/
2. Make sure that the wifi connection is selected before starting the installation on the card.
3. Connect it to Device and start
4. Online updated
5. Check wifi Connection from the RASPBMC settings.
6. Add External Drive and add sources to the XBMC
7. Create Folders -
mkdir /media/usb0/Downloads
mkdir /media/usb0/Downloads/complete
mkdir /media/usb0/Downloads/incomplete
mkdir /media/usb0/Downloads/torrents

8.  Install Tramsmission
sudo apt-get install transmission
sudo apt-get install transmission-daemon
sudo rmdir /home/xbian/torrents

9. Remove Transmission default folders
sudo rmdir /home/xbian/downloads
sudo rmdir /home/xbian/incomplete

10 If external drive is not NTFS then execute below else go to step 11
chmod -R 777 /media/usb0/Downloads
chmod -R 777 /media/usb0/XBMC Media Center/

11. From the SSH console, type sudo nano /etc/init.d/transmission-daemon
Look for the line that says 'USER=debian-transmission' and change it to 'USER=pi'
Press CTRL+X  to save and exit.
type the following comands:
    sudo chown -R $USER /var/lib/transmission-daemon/info/
    sudo chown -R $USER /etc/transmission-daemon/
    sudo service transmission-daemon start

12. Edit transmission config file by executing -

sudo service transmission-daemon stop
sudo nano /etc/transmission-daemon/settings.json


"alt-speed-down": 400,
"download-dir": "/home/pi/downloads",
"download-queue-enabled": true,
"download-queue-size": 2,
"ratio-limit": 0.2,
"ratio-limit-enabled": true,
"rpc-whitelist-enabled": false,
"seed-queue-enabled": false,
"seed-queue-size": 2,
"speed-limit-down": 2000,
"speed-limit-down-enabled": true,
"speed-limit-up": 90,
"speed-limit-up-enabled": true,
"watch-dir": /media/Ankit/Downloads/complete,
"watch-dir-enabled": true

press CTRL+O and then choose enter to save the file. Then press CTRL+X to exit the settings file.
copy/paste and run this command: sudo service transmission-daemon start

Installation of Sickbeard - for torrents - GitHub --> https://github.com/bricky/Sick-Beard

13. cd ~
14. git clone https://github.com/bricky/Sick-Beard.git Sick-Beard
15. cd Sick-Beard
16. python SickBeard.py
17. Start Sick Beard on startup
sudo nano /etc/rc.local
Put "python /path/you/cloned/sickbeard/SickBeard.py -d" above the "exit 0".
18. Install CouchPotato
cd /home/pi
git clone http://github.com/RuudBurger/CouchPotatoServer.git
python CouchPotatoServer/CouchPotato.py --daemon

above command will start CouchPotato in daemon mode.
19. Start CouchPotato on startup
sudo nano /etc/rc.local
python CouchPotatoServer/CouchPotato.py --daemon


No comments:

Post a Comment