Moode Audio Player for Raspberry Pi

Hi,

@SL and I have started work on getting the awesome NewUI finished :) Say goodbye to the old UI.

Some pics of the working prototype are attached.

-Tim
 

Attachments

  • moode-r40-newui-1a.png
    moode-r40-newui-1a.png
    387.8 KB · Views: 399
  • moode-r40-newui-1b.png
    moode-r40-newui-1b.png
    221.5 KB · Views: 382
  • moode-r40-newui-2.png
    moode-r40-newui-2.png
    166.7 KB · Views: 367
  • moode-r40-newui-3.png
    moode-r40-newui-3.png
    177.1 KB · Views: 371
  • moode-r40-newui-4.png
    moode-r40-newui-4.png
    68.8 KB · Views: 361
I don't know if some of you know that point, but RPI is a true SDCard killer due to write operation on filesystems.

You can read this for example : Raspberry Pi: Extending the life of the SD card | ZDNet

So if you want trying to preserve SDCard, you must limit IO operations as much as possible.

So /var/log in tmpfs looks like a good starting point.

So currently testing log2ram for that and it looks to do the job.

If you want test it, see below :

pi@moode:~ $ git clone GitHub - azlux/log2ram: ramlog like for systemd on debian 8 jessie (Put log into a ram folder)
Cloning into 'log2ram'...
remote: Counting objects: 190, done.
remote: Total 190 (delta 0), reused 0 (delta 0), pack-reused 190
Receiving objects: 100% (190/190), 28.22 KiB | 36.00 KiB/s, done.
Resolving deltas: 100% (100/100), done.
pi@moode:~ $ cd log2ram
pi@moode:~/log2ram $ chmod +x install.sh
pi@moode:~/log2ram $ sudo ./install.sh
Created symlink /etc/systemd/system/sysinit.target.wants/log2ram.service → /etc/systemd/system/log2ram.service.
##### Reboot to activate log2ram #####
pi@moode:~/log2ram $sudo mv /etc/cron.hourly/log2ram /etc/cron.daily/log2ram
pi@moode:~/log2ram $sudo reboot

Result here

pi@moode:~ $ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2991568 2110400 726940 75% /
devtmpfs 470180 0 470180 0% /dev
tmpfs 474788 0 474788 0% /dev/shm
tmpfs 474788 8036 466752 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 474788 0 474788 0% /sys/fs/cgroup
/dev/loop0 11008 11008 0 100% /var/www
/dev/mmcblk0p1 41853 21340 20513 51% /boot
log2ram 40960 4268 36692 11% /var/log
tmpfs 94956 0 94956 0% /run/user/1000
pi@moode:~ $

Everything is OK in my setup with theses settings.
 
I did the

sudo wget -q http://moodeaudio.org/downloads/mos/mosbuild.sh -O /home/pi/mosbuild.sh
sudo chmod +x /home/pi/mosbuild.sh
sudo ./mosbuild.sh

but the Pi does not boot from the USB...

Cheers

Just follow the instructions that appear when the first part of the build has finished: Power down, remove the SD card from the slot in the Pi and replace it with the one that was in the USB drive. Then boot up the Pi. Then wait.
 
mosbuild problem

I've been unable to get to step 2 in mosbuild. I get to the end of phase 1 where I have a choice between saving the base OS img for additional builds or not. I've tried choosing y and n. I do see "New base OS image created" on the terminal screen followed by
"** Remove the USB drive and use it to boot a Raspberry Pi
** The build will automatically continue at STEP 2 after boot."

I've tried rebooting from the micro sd card in the pi and booting from the flash drive after configuring the pi to boot from a flash drive. So far I've been unable to get to the next portion of the script that begins at line 447 with "main banner". I'm assuming I'm not following the directions correctly.

Any help would be appreciated.