Raspberry Pi に Moode Audio Player をインストールする(失敗)

Raspberry Pi 用のミュージックサーバーを探し、Volumio や Plex Media Server のインストールを試みたが失敗した。

Raspberry Pi に Volumio をインストール(失敗) – with a Christian Wife
https://wacw.cf/2018/01/09/installing-volumio-on-raspberrypi/

Raspberry Pi に Plex Media Server をインストールする(失敗) – with a Christian Wife
https://wacw.cf/2018/01/10/plex-on-raspberry-pi/

次に挑戦したのが Moode Audio Player だ。

環境は Raspberry Pi 3 Type B。

(1)フォーマットしていなければ、micro SD カードをフォーマットする。

SD Memory Card Formatter – SD Association
https://www.sdcard.org/downloads/formatter_4/

(2)1の micro SD カードを USB カードアダプター等で Raspberry Pi 3 Type B に挿す。

(3)公式サイトの Support > Download Moode OS Image Builder の手順に従い、OS イメージを書き込む。(ググるとイメージファイルをダウンロードできると書かれているページがヒットするが、現在はソースファイルでしか公開されていない。)

http://moodeaudio.org/

この際、手順はきちっと守る。Unplug all USB storage devices from the Pi と書かれているときはすべて USB ドライブを抜き、Plug in target USB drive for the new OS でインストールする USB カードアダプターを挿す。私はこの手順を無視していたので、Error: Unable to find USB drive などと表示されたりした。

途中で有線 LAN ではなく、Wi-Fi で接続する際の設定手順も出てくる。

** Check free disk space
** Do you have a backup of your boot SDCard (y/n)? y
** Unplug all USB storage devices from the Pi
** Are all USB storage devices unplugged (y/n)? y
** Plug in target USB drive for the new OS
** Is target USB drive plugged in (y/n)? y
** USB drive detected on /dev/sda
** Partitions unmounted on /dev/sda
** Option 1-5: use a proxy server for Internet access (y/n)? n
** Option 2-5: use a WiFi connection instead of Ethernet (y/n)? y
** SSID: [WiFiのSSID]
** Make corrections (y/n)? n
** Password: [WiFiのパスワード]
** Make corrections (y/n)? n
** Option 3-5: configure /var/www as squashfs (y/n)? n
** Option 4-5: install latest Linux Kernel (y/n)? y
** Option 5-5: Airplay, Ashuffle, LocalUI, Scrobbler, Squeezelite and UPnP/DLNA
** Install additional components (y/n)? y
** Ready for automated image build
** Proceed (y/n)? y
** Test Internet connection
** Download helper files
** Add options to properties file
** Load properties into env
** Download Rasbian Stretch Lite 2017-11-29-raspbian-stretch-lite.zip
2017-11-29-raspbia 100%[================>] 347.83M 918KB/s in 7m 22s
** Unzip 2017-11-29-raspbian-stretch-lite.zip
Archive: 2017-11-29-raspbian-stretch-lite.zip
inflating: 2017-11-29-raspbian-stretch-lite.img
** Mount Raspbian image partitions
** Modify image
** Enable SSH
** Remove auto-resize task
** Enable familiar network interface names
** Install main worker script
** Enable script for autorun after reboot
** Change host name to moode
** Flush cached disk writes
** Image unmounted
** Write image to USB drive on /dev/sda
3629056+0 records in
3629056+0 records out
1858076672 bytes (1.9 GB, 1.7 GiB) copied, 491.702 s, 3.8 MB/s
** Flush cached disk writes
**
** New base OS image created
**
** Remove the USB drive and use it to boot a Raspberry Pi
** The build will automatically continue at STEP 2 after boot
**
** Save base OS img for additional builds (y/n)? n

(4)3の完了後、USB カードアダプターを Raspberry Pi から抜き、インストール先の Raspberry Pi にその micro SD カードを挿し、電源を入れる。その際、HDMI ケーブルを挿してディスプレイを接続し、インストールの進捗具合を確認するようにするといい。

(5)何度かリブートを繰り返してインストールが完了すると、画面が黒いままになるみたい。ここで、他のパソコンやモバイルデバイスで http://moode.local/ へアクセスすると、Web UI へ行ける。

右上の Beta 12 > Configure でメディアディレクトリーのソースを指定したりできる(NAS も選べる)。

ただし、なぜか音が出ない。ここで詰まったので諦めた。UI 的にももっとシンプルなものを求めているので。。

参考:
ミュージックプレーヤー Moode Audio Player | pinky blog てきとぅ ブログ
http://pinky-blog.com/raspberry-pi/moodeaudioplayer/

Raspberry Pi Moode Audio Playerを使ってみる
https://dbpro.xyz/2322

「Raspberry Pi」で音楽プレーヤー構築に挑戦してみる。:どう見ても格が無いブログ – ブロマガ
http://ch.nicovideo.jp/kakunasi/blomaga/ar839901