Hardware Reference
In-Depth Information
If you want, to change the root password to something else for more security, use this
line:
ROOT_PASSWORD = 'mypass'
Getting Your Hands Dirty
If you'd like to dig a bit, there are plenty more options to explore in Pi MusicBox. For
the following options, you have to log into the box on the console, or via SSH (see Hack
#12 ).
To log in remotely via SSH, you will need to enable the SSH service. Do that by adding
this line to your configuration file:
SSH_ENABLED = 'true'
Reboot. After that, you can connect to MusicBox via SSH.
Mopidy
The main ingredient of MusicBox is Mopidy, an open source music server developed
by people from all over the world. By default, Pi MusicBox is set up using the best
working extensions, but you can extend it to play music from other sources, such as
SoundCloud, Google Music, and Beets Music.
Adding these extensions is beyond the scope of this hack, but you can find additional
resources and documentation at Mopidy's website and reach the developers on the
Mopidy mailing list or via IRC on the #mopidy channel on Freenode.
rc.local
The /etc/rc.local file is another important piece of Pi MusicBox. It's a shell script
where the sound hardware is set up and the configuration is done. For example, the
configuration file of Mopidy is created from rc.local . Edit this file is you want to add,
change, or remove features.
Working at Midnight
For Linux novices, a nice utility called Midnight Commander could be useful for brows-
ing the filesystem and editing files. It works like the age-old DOS-utility Norton
Commander and it's included in MusicBox. Start it using the command mc .
 
Search WWH ::




Custom Search