Today we are going to go through the steps of configuring OSMC Media Center, which can be controlled using your android or IOS device as a remote.
To create OSMC Media Center you will require:
- Raspberry Pi
- Keyboard and mouse to connect to the Raspberry Pi
- External USB hard drive one or two, depending upon the grade or normal configuration
- An android mobile so that you can download and install the App which will act as a remote
- A 5 volt micro USB charger that this could be your android mobile charger, but make sure it gives at least 2000milliamps of power.
- HDMI wire that connects to your TV from the Raspberry Pi
Preparing the SD Card.
First, we need to format our micro SD card properly. Head over to the SD association website and download the application. Installing the application is a straight forward process. Insert your SD card into your card reader. In the SD formatter app, choose the correct SD card, change to overwrite format and proceed. Once formatting is done, you get a confirmation.Which Media Center to choose?
There are two types of operating systems available that you can install in your Raspberry Pi to convert into a media center. One is called as Kodi and another one is called as OSMC. The main difference between Kodi and OSMC is that Kodi is not a Linux flavour. Kodi is built from ground up, so you cannot give any Linux commands to it like sudo or apt-get. But in our project we need to create a network attached storage system which requires a lot of Linux comments. So OSMC is the best choice. Obviously OSMC runs a Linux OS, on top of which Kodi runs. So you get the goodness of Linux along with the goodness of Kodi. Apart from all these things I just feel OSMC has beautiful visuals.Installing OSMC Media Center
Download the installation application for your OS and get going with the setup process. Sometimes your MAC does not allow downloaded apps to be installed in that case change your settings in the ‘Security & Privacy‘ page of ‘System Preference‘. Make sure to choose anywhere.Choose the language and your version of the Raspberry Pi board
R3 is the latest stable build of OSMC Media Center at the time of making this video.
Then burn the files to the SD card. Choose the connection type; mine is wired. We will configure the network later. Choose the correct SD card and let the app download OSMC and burn it to the SD card.
After installation is complete, quit the application and eject the card. Now insert the SD card on the raspberry Pi and connect the Ethernet wire, HDMI cable, power source, keyboard and mouse.
Configure OSMC Media Center to your needs
If you see the rainbow screen once you power ON your Raspberry Pi then all is good. OSMC will start installing automatically.Time to configure your OSMC Media Center. Select your language and go through the basic setting process.
Now click on My OSMC then select network and secure IP address manually this is necessary so that when you restart your Raspberry Pi the IP address remains the same.
Setting up the NAS
To get to the terminal, let’s exit OSMC. The login and password is “osmc” in lower case without quotes. First lets install NTFS package to manage the hard disk.
sudo apt-get install ntfs-3g
sudo fdisk -l
sudo mkdir /media/USBHDD1
sudo mkdir /media/USBHDD2
sudo mkdir /media/USBHDD2
sudo mount -t auto /dev/sda1 /media/USBHDD1
sudo mount -t auto /dev/sdb1 /media/USBHDD2
sudo mount -t auto /dev/sdb1 /media/USBHDD2
sudo mkdir /media/USBHDD1/shares
sudo mkdir /media/USBHDD2/shares
sudo mkdir /media/USBHDD2/shares
sudo apt-get install samba samba-common-bin
sudo apt-get upgrade
Let’s make a copy of the Samba configuration file before editing.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
sudo nano /etc/samba/smb.conf
Restart Samba to take effect of the changes added to the configured file.
sudo /etc/init.d/samba restart
sudo useradd fatlady -m -G users
sudo passwd fatlady
sudo passwd fatlady
sudo smbpasswd -a fatlady
To automatically mount both the hard drives to OS, let’s write a few lines of code.Open fstab in nano editor.
sudo nano /etc/fstab
/dev/sda1 /media/USBHDD1 auto noatime 0 0
/dev/sdb1 /media/USBHDD2 auto noatime 0 0
/dev/sdb1 /media/USBHDD2 auto noatime 0 0
sudo apt-get install rsync
Installing the Mobile App
Now to install the mobile app. Head over to Google play and search for Kodi. Select the correct app and install it to your device.Hope you enjoyed this. Now you can have your own OSMC Media Center and watch all those beautiful movies & TV Shows from one place.
Source:-http://www.mediamilan.com/tutos/osmc-media-center-and-nas-raspberry-pi/
No comments:
Post a Comment