Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi Android Projects

You're reading from  Raspberry Pi Android Projects

Product type Book
Published in Sep 2015
Publisher
ISBN-13 9781785887024
Pages 138 pages
Edition 1st Edition
Languages
Author (1):
Gökhan Kurt Gökhan Kurt
Profile icon Gökhan Kurt

Installing and setting up a media center on Pi


The media center software we've chosen for the purpose of this project is Kodi, formerly known as XBMC. It is open source and widely used with lots of add-ons.

As usual, we will start by installing the necessary software on our Pi using the apt-get command:

sudo apt-get install kodi

Then, we'll run the kodi-standalone executable, which will start Kodi and show its user interface on the HDMI port of the Pi. It is, therefore, important that you connect the Pi to a screen using the HDMI port instead of a remote desktop to see Kodi's user interface. Now, you can connect a USB keyboard or mouse to navigate inside Kodi.

Starting Kodi on boot

We definitely do not want to run a command to start the media center, no matter how easy it is to run commands from Android, as discussed in previous chapters. For this reason, we need to start the command on startup using the crontab -e command. Add the following line at the end of the file the crontab command command...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}