Hardware Reference
In-Depth Information
NETWORK_MOUNT_ADDRESS = '//mynasserver/shared/music'
The first part ( // ) is the way shares in the Windows network are created. Just add it
and forget it. The next part ( mynasserver or 192.168.1.5 ) is the name or IP address of
the server that hosts the file. The last part ( /musicshare or /shared/music ) tells
MusicBox which share to mount.
When your server is protected, you need to set the username and password for the
Network share using the following configuration lines:
NETWORK_MOUNT_USER = 'username'
NETWORK_MOUNT_PASSWORD = 'password'
MusicBox will not see the files immediately. The music files needs to be scanned at
boot, every time you add or remove files. This process can slow down the boot of the
MusicBox, so use it with care. MusicBox will scan the files using the following config-
uration lines:
SCAN_ONCE = 'true'
or:
SCAN_ALWAYS = 'true'
The names speak for themselves. Using SCAN_ONCE , the music files will be scanned only
once. Use this if you don't change the music files often. Use SCAN_ALWAYS if you change
your music files a lot. This will enable you to change the files and reboot MusicBox. It
will recognize the new files after the boot. But, again, the scanning process can slow-
down the booting of MusicBox considerably.
Local music
Pi MusicBox also has an option to store music files on the SD card. This process is a
bit more complicated. Since MusicBox is created for a 1 GB or larger SD card, the
filesystem is also less than 1 GB. If you put MusicBox on a larger SD card, the rest of
the space on the card won't be used unless you resize the filesystem.
You can do this manually using a partition manager (on Linux, try GParted ), or you can
let MusicBox try to resize it automatically. If the process fails, you'll have a nonfunc-
tional MusicBox, but since you should be doing this at the beginning, you can just start
over with the installation. If you've done a lot of customization, however, you should
back up the card first.
Using this line in the settings, Pi MusicBox will automatically resize the filesystem to
the maximum size of the SD card:
RESIZE_ONCE = 'true'
Search WWH ::




Custom Search