Thought I would share this in case anyone else wants to build one of
these.

Hardware:
pi Zero W + 40-pin header + a good sized SD card - e.g. 128 GB for lots
of music storage - of course you could use a regular pi for this as
well
Allo Mini Boss DAC (for those not familiar - this is the only master
mode DAC specifically for the Zero that I know of with low jitter
clocks
5-volt cell phone charger - Zero + Mini Boss only needs about 400 ma so
a 5-watt charger is fine
Windows 10 computer with SD card slot + Win32DiskImager + MiniTool
Partition Manager + FileZilla + PuTTY
A device to run a remote app like iPeng

I used the following steps, although you could change the order
slightly:

1) Burn latest pCP image to a largish sd card - 32GB or more
2) Create a file called newconfig.cfg with wifi info:
WIFI="on"
SSID="yourSSID"
PASSWORD="yourPASSWORD"
ENCRYPTION="WPA"
3) Put SD card in Zero, boot it up and look at your router to get the IP
address it assigned (optionally make it a reserved IP so it does not
change)
4) Point a browser at the pCP IP address to bring up the GUI; expand
partition to 1000 MB (largest choice in the drop-down) and set your DAC
type
5) Install LMS
6) Put card in PC and run Minitool to create 3rd partition as ext4 (note
you could do step 4 with Minitool too), consuming the rest of the SD
card
7) Put card back in Zero, reconnect to GUI, set new mount point e.g.
"music" on new partition (the SD card should show up under USB disk
section)
8) Configure LMS to put data there in pCP GUI instead of the second
partition
9) Fire up a PuTTY session, log in as tc,  and set permissions on
/mnt/music via PuTTY: sudo chmod o+w /mnt/music
10) Use Filezilla to copy files onto pi Zero, again using tc account to
log in (note this can be slow, but you can queue up as many folders as
you want and go to bed)
11) Use LMS GUI (point browser to pCP IP port 9000) to point music
library to /mnt/music and kick off a rescan; check that all your music
shows up
12) use iPeng or similar remote to control the pCP
13) Enjoy your music

Some may qustion the wisdom of running LMS on a Zero - what I have found
is that it works reasonably well. If you do a top command while it is
playing music (mine are mainly FLAC files) you will see CPU utilization
running around 20%. You do see spikes up to 90% when changing tracks,
and certainly doing an LMS re-scan will max out the Zero while that is
going on, but overall it seems pretty stable and sounds good with the
MiniBoss DAC. I would not recommend using the LMS instance to run
multiple players though - better to move the server to a regular pi.


------------------------------------------------------------------------
wtnh's Profile: http://forums.slimdevices.com/member.php?userid=36993
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to