Hardware Reference
In-Depth Information
The most commonly used mocp flags are the following:
-s —Stop the current playback
-G —Pause playback, or resume playback if currently paused
-f— -f—Skip to the next song in the directory or playlist
-r —Return to the previous song in the directory or playlist
-i— -i—Print information on the current song to the terminal or console
-x— Stop playback and quit mocp altogether
For more information on controlling mocp , type man mocp .
Dedicated HTPC with Raspbmc
Being able to play music on the Raspberry Pi is one thing, but the BCM2835 can do much
more than that. Using its VideoCore IV GPU, it can decode and play back Full HD 1080p
H.264 video, making the Pi a powerful media centre machine in a tiny package and with
incredibly low power demands.
To get the most from the Pi as a home theatre PC, however, some additional software is
required. This software can be installed in the Raspbian distribution, but there's an easier
way to get started: switching to the Raspbmc distribution.
Raspbmc, created by Sam Nazarko, is a distribution aimed specifically at turning the Raspberry Pi
into a fully featured media centre system, complete with video and music playback, photo viewing
and Internet streaming capabilities. It's based on the popular Xbmc distribution, which has been
chosen by several device manufacturers to power their commercial set-top box systems.
If you're planning on making use of the Pi's high-definition video output and H.264 decod-
ing capabilities in your home theatre setup, Raspbmc is an excellent choice and no more
complicated to get up and running on the Pi than any other Linux distribution. First, down-
load the installer from the official website at http://www.raspbmc.com/download/ .
This is the easiest way to get Raspbmc up and running. Installers for Linux, OS X and
Windows are provided which automatically download the image file for Raspbmc and write it
to an SD card connected to the system. Although you can also download an image file and
use the instructions from Chapter 1, “Meet the Raspberry Pi”, it's not necessary to do so.
If you already have an SD card you use with the Pi, be aware that installing Raspbmc on it
will delete the contents of the card. Back up any files you want to keep, or if you want to be
able to switch between the two distributions, buy a second SD card specifically for Raspbmc
use or install it alongside Raspbian using the NOOBS tool described in Chapter 2, “Getting
Startedwith the Raspberry Pi .
WARNING
 
Search WWH ::




Custom Search