If its the Access account SSID you want its Moode and the password moodeaudio
Printable View
No, that doesn't work.
Not sure exactly what you are trying to access - why don't you email Tim directly or use the help thread on diyaudio which seems to carry a bit more technical content than here.
Yes, and it won't let me write the playlists to the relevant directory. I got around the problem using Putty to access the correct directory and cut and pasted the contents.
Massive props Tim, for FOSSing Moode, thanks for doing it.
I'm really looking forward to were this takes your codebase. The potential collaboration with DietPi is really exciting and potentially means a whole load of new platforms to play with Moode on.
Moode was hard enough to get to work for some users using a image file, looks near impossible now for audio users with just a casual interest in computing. I downloaded the latest build this morning, but as a windows user I have no idea what to do with it. Pity it was a great piece of software.
Yeah, no more Moode updates for me either unless some of the other distributions incorporate it (as has been suggested might be the case), but not sure how this will work in practice. Bit of a shame, but I'm sure Tim has a good reason for deciding to go down this route...
must remember not to update in moode then
Hi There,
Played about yesterday evening and compiled Moode 4.0 Beta 8 through my windows box.
I haven't messed about compiling code since Gentoo Linux and that was a few years ago but it was fairly simple using the build instructions and cut and paste.
Not as impossible as i thought it might be.
Cheers,
Alistair
If there is any step by step instructions on how to compile Moode, or if you dont mind sticking the image file on something like Dropbox, this would be really helpful. I wanted to use Moode as it has a parametric equaliser and I would like to tune out the main fundamental resonance in my room which is around 100hz. I tried to work out how to compile the software but not being a programmer I just couldn’t work it out.
These are the Instructions for a build using a Windows or Mac Box.
You will need Etcher and Putty to write the image to an SD card and ssh into the pi from Windows.
Any line with sudo should be pasted seperately
Using Windows or Mac computer
////////////////////////////////////////////////////////
1. Download Raspbian Stretch Lite 2017-09-07
http://downloads.raspberrypi.org/ras...retch-lite.zip
2. Unzip and install the .img file to an SD Card
https://www.raspberrypi.org/document...alling-images/
3. Eject the SD Card and then re-insert it
4. Open File Manager (Windows) or Finder (Mac)
5. Click the device named "boot" to show its contents
6. Create an empty file named "ssh" in the boot directory
7. Optionally enable WiFi connection
a. Create a file named wpa_supplicant.conf in the boot directory
b. Paste the lines below into the file making approproate substitutions for SSID and PASSWORD
c. Save the file
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YourSSID"
scan_ssid=1
psk="YourPASSWORD"
}
8. Edit the file named cmdline.txt
# Remove the text below
quiet init=/usr/lib/raspi-config/init_resize.sh
# Add this text to beginning of the line. Ensure there is a space between this text and the remaining text.
net.ifnames=0
9. Eject the SD Card
////////////////////////////////////////////////////////
//
// STEP 3 - Expand the root partition to 3GB
//
////////////////////////////////////////////////////////
1. Insert the SD Card into a Raspberry Pi and POWER UP.
2. Change the current password (raspberry) to moodeaudio and the host name to moode.
ssh pi@raspberrypi (pwd=raspberry)
echo "pi:moodeaudio" | sudo chpasswd
sudo sed -i "s/raspberrypi/moode/" /etc/hostname
sudo sed -i "s/raspberrypi/moode/" /etc/hosts
3. Download moOde application sources and configs.
NOTE: We are downloading the Sources in this particular step in order to obtain the resizefs.sh file.
// moOde 4 Beta 8
cd ~
wget http://moodeaudio.org/downloads/beta...el-stretch.zip
sudo unzip ./rel-stretch.zip
4. Expand the root partition to 3GB.
sudo cp ./rel-stretch/www/command/resizefs.sh ./
sudo chmod 0755 ./resizefs.sh
sudo sed -i "/PART_END=/c\PART_END=+3000M" ./resizefs.sh
sudo ./resizefs.sh start
sudo rm ./resizefs.sh
sudo cp ./rel-stretch/boot/config.txt.default /boot/config.txt
sudo poweroff
////////////////////////////////////////////////////////
//
// STEP 4 - Install core packages
//
////////////////////////////////////////////////////////
1. First lets make some basic optimizations
ssh pi@moode (pwd=moodeaudio)
sudo dphys-swapfile swapoff
sudo update-rc.d dphys-swapfile remove
sudo rm /var/swap
sudo systemctl disable cron.service
sudo systemctl enable rpcbind
sudo apt-get -y purge triggerhappy
2. Install core packages.
# NOTE: run these two commands separately
sudo apt-get update
sudo apt-get -y upgrade
sudo reboot
sudo apt-get -y install rpi-update php-fpm nginx sqlite3 php-sqlite3 memcached php-memcache mpc \
bs2b-ladspa libbs2b0 libasound2-plugin-equal telnet automake sysstat squashfs-tools tcpdump shellinabox \
samba smbclient udisks-glue ntfs-3g exfat-fuse git inotify-tools libav-tools
sudo systemctl disable shellinabox
////////////////////////////////////////////////////////
//
// STEP 5 - Install enhanced networking
//
////////////////////////////////////////////////////////
1. Install Host AP mode
sudo apt-get -y install dnsmasq hostapd
sudo systemctl daemon-reload
sudo systemctl disable hostapd
sudo systemctl disable dnsmasq
2. Install Bluetooth
sudo apt-get -y install bluez bluez-firmware pi-bluetooth \
dh-autoreconf expect libortp-dev libbluetooth-dev libasound2-dev \
libusb-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev libsbc1 libsbc-dev
NOTE: Ignore warnings from autoreconf and configure
cd /tmp
sudo git clone https://github.com/Arkq/bluez-alsa.git
cd bluez-alsa
sudo autoreconf --install
sudo mkdir build
cd build
sudo ../configure --disable-hcitop --with-alsaplugindir=/usr/lib/arm-linux-gnueabihf/alsa-lib
sudo make
sudo make install
cd ~
sudo rm -rf /tmp/bluez-alsa
3. Services are started by moOde Worker so lets disable them here.
sudo systemctl daemon-reload
sudo systemctl disable bluetooth.service
sudo systemctl disable bluealsa.service
sudo systemctl disable hciuart.service
4. Finish up
sudo mkdir -p /var/run/bluealsa
sudo sync
sudo apt-get clean
sudo reboot
////////////////////////////////////////////////////////
//
// STEP 6 - Install Rotary encoder driver
//
////////////////////////////////////////////////////////
1. WiringPi
NOTE: Ignore warnings during build
sudo cp ./rel-stretch/other/wiringpi/wiringPi-2.44-96344ff.tar.gz ./
sudo tar xfz ./wiringPi-2.44-96344ff.tar.gz
cd wiringPi-96344ff
sudo ./build
cd ~/
sudo rm -rf ./wiringPi-96344ff
sudo rm ./wiringPi-2.44-96344ff.tar.gz
2. Rotenc
sudo cp ./rel-stretch/other/rotenc/rotenc.c ./
sudo gcc -std=c99 rotenc.c -orotenc -lwiringPi
sudo cp ./rotenc /usr/local/bin
sudo rm ./rotenc*
////////////////////////////////////////////////////////
//
// STEP 7 - Compile and install MPD
//
////////////////////////////////////////////////////////
1. Create MPD runtime environment.
sudo useradd mpd
sudo mkdir /var/lib/mpd
sudo mkdir /var/lib/mpd/music
sudo mkdir /var/lib/mpd/playlists
sudo touch /var/lib/mpd/state
sudo chown -R mpd:audio /var/lib/mpd
sudo mkdir /var/log/mpd
sudo touch /var/log/mpd/mpd.log
sudo chmod 644 /var/log/mpd/mpd.log
sudo chown -R mpd:audio /var/log/mpd
sudo cp ./rel-stretch/mpd/mpd.conf.default /etc/mpd.conf
sudo chown mpd:audio /etc/mpd.conf
sudo chmod 0666 /etc/mpd.conf
2. Install MPD dev libs.
sudo apt-get -y install libmad0-dev libmpg123-dev libid3tag0-dev \
libflac-dev libvorbis-dev libfaad-dev \
libwavpack-dev \
libavcodec-dev libavformat-dev \
libmp3lame-dev \
libsoxr-dev \
libcdio-paranoia-dev libiso9660-dev \
libcurl4-gnutls-dev \
libasound2-dev \
libshout3-dev libyajl-dev \
libmpdclient-dev \
libavahi-client-dev \
libsystemd-dev \
libwrap0-dev \
libboost-dev \
libicu-dev \
libglib2.0-dev
3. Download MPD 0.20.11 sources and prep for compile.
sudo wget http://www.musicpd.org/download/mpd/...0.20.11.tar.xz
sudo tar xf mpd-0.20.11.tar.xz
cd mpd-0.20.11
sudo sh autogen.sh
4. Configure compile options.
sudo ./configure --enable-database --enable-libmpdclient --enable-alsa \
--enable-curl --enable-dsd --enable-ffmpeg --enable-flac \
--enable-id3 --enable-soundcloud --enable-lame-encoder --enable-mad \
--enable-mpg123 --enable-pipe-output --enable-recorder-output --enable-shout \
--enable-vorbis --enable-wave-encoder --enable-wavpack --enable-httpd-output \
--enable-soxr --with-zeroconf=avahi \
--disable-bzip2 --disable-zzip --disable-fluidsynth --disable-gme \
--disable-wildmidi --disable-sqlite --disable-jack --disable-ao --disable-oss \
--disable-ipv6 --disable-pulse --disable-nfs --disable-smbclient \
--disable-upnp --disable-expat --disable-lsr \
--disable-sndfile --disable-audiofile --disable-sidplay
5. Compile and install.
// Enjoy a Coffee and listen to some Tunes while the compile runs :-)
sudo make
sudo make install
sudo strip --strip-unneeded /usr/local/bin/mpd
cd ~
sudo rm -rf ./mpd-0.20.11*
sudo apt-get clean
sudo apt-get autoremove
sudo reboot
////////////////////////////////////////////////////////
//
// STEP 8 - Create moOde runtime environment
//
////////////////////////////////////////////////////////
1. Privilages
sudo -i
echo -e 'pi\tALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
echo -e 'www-data\tALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
logout
2. Directories and files
# Dirs
sudo mkdir /var/local/www
sudo mkdir /var/local/www/commandw
sudo mkdir /var/local/www/cssw
sudo mkdir /var/local/www/jsw
sudo mkdir /var/local/www/imagesw
sudo mkdir /var/local/www/imagesw/toggle
sudo mkdir /var/local/www/db
sudo mkdir /var/local/www/templatesw
sudo chmod -R 0755 /var/local/www
sudo mkdir /var/lib/mpd/music/RADIO
sudo mkdir /mnt/NAS
sudo mkdir /mnt/SDCARD
sudo mkdir /mnt/UPNP
# Symlinks
sudo ln -s /mnt/NAS /var/lib/mpd/music/NAS
sudo ln -s /mnt/SDCARD /var/lib/mpd/music/SDCARD
sudo ln -s /media /var/lib/mpd/music/USB
sudo ln -s /var/lib/mpd/music /var/www/mpdmusic
# Logs
sudo touch /var/log/moode.log
sudo chmod 0666 /var/log/moode.log
sudo touch /var/log/php_errors.log
sudo chmod 0666 /var/log/php_errors.log
# Files
sudo cp ./rel-stretch/mpd/sticker.sql /var/lib/mpd
sudo cp -r "./rel-stretch/other/sdcard/Stereo Test/" /var/lib/mpd/music/SDCARD
sudo cp ./rel-stretch/network/interfaces.default /etc/network/interfaces
sudo cp ./rel-stretch/network/wpa_supplicant.conf.default /etc/wpa_supplicant/wpa_supplicant.conf
sudo cp ./rel-stretch/network/dhcpcd.conf.default /etc/dhcpcd.conf
sudo cp ./rel-stretch/network/hostapd.conf.default /etc/hostapd/hostapd.conf
sudo cp ./rel-stretch/var/local/www/db/moode-sqlite3.db.default /var/local/www/db/moode-sqlite3.db
# Permissions
sudo chmod 0777 /var/lib/mpd/music/RADIO
sudo chmod -R 0777 /var/local/www/db
# Deletes
sudo rm -r /var/www/html
sudo rm /etc/update-motd.d/10-uname
////////////////////////////////////////////////////////
//
// STEP 9 - Install moOde sources and configs
//
////////////////////////////////////////////////////////
1. Application sources and configs
sudo rm /var/lib/mpd/music/RADIO/*
sudo rm /var/www/images/radio-logos/*
sudo cp ./rel-stretch/mpd/RADIO/* /var/lib/mpd/music/RADIO
sudo cp ./rel-stretch/mpd/playlists/* /var/lib/mpd/playlists
sudo cp -r ./rel-stretch/etc/* /etc
sudo cp -r ./rel-stretch/home/* /home/pi
sudo cp -r ./rel-stretch/home/.dircolors /home/pi
sudo cp -r ./rel-stretch/lib/* /lib
sudo cp -r ./rel-stretch/usr/* /usr
sudo cp -r ./rel-stretch/var/* /var
sudo cp -r ./rel-stretch/www/* /var/www
sudo chmod 0755 /var/www/command/*
sudo /var/www/command/util.sh "emerald" "2ecc71" "27ae60"
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "update cfg_system set value='Emerald' where param='themecolor'"
3. Permissions for service files
# MPD
sudo chmod 0755 /etc/init.d/mpd
sudo chmod 0644 /lib/systemd/system/mpd.service
sudo chmod 0644 /lib/systemd/system/mpd.socket
# Bluetooth
sudo chmod 0666 /etc/bluealsaaplay.conf
sudo chmod 0644 /etc/systemd/system/bluealsa-aplay@.service
sudo chmod 0644 /etc/systemd/system/bluealsa.service
sudo chmod 0644 /lib/systemd/system/bluetooth.service
sudo chmod 0755 /usr/local/bin/a2dp-autoconnect
# Rotenc
sudo chmod 0644 /lib/systemd/system/rotenc.service
# Udev
sudo chmod 0644 /etc/udev/rules.d/*
4. Services are started by moOde Worker so lets disable them here.
sudo systemctl daemon-reload
sudo systemctl disable mpd.service
sudo systemctl disable mpd.socket
sudo systemctl disable rotenc.service
# The binaries will not have been installed yet, but let's disable the services here
sudo chmod 0644 /lib/systemd/system/squeezelite-armv6l.service
sudo chmod 0644 /lib/systemd/system/squeezelite-armv7l.service
sudo systemctl disable squeezelite-armv6l
sudo systemctl disable squeezelite-armv7l
sudo chmod 0644 /lib/systemd/system/upmpdcli.service
sudo systemctl disable upmpdcli.service
5. Initial permissions for certain files. These also get set during moOde Worker startup.
sudo chmod 0777 /var/local/www/playhistory.log
sudo chmod 0777 /var/local/www/currentsong.txt
sudo touch /var/local/www/libcache.json
sudo chmod 0777 /var/local/www/libcache.json
sudo reboot
////////////////////////////////////////////////////////
//
// STEP 10 - Alsaequal
//
////////////////////////////////////////////////////////
NOTE: The alsamixer command below will generate the alsaequal bin file.
sudo alsamixer -D alsaequal
sudo chmod 0755 /usr/local/bin/alsaequal.bin
sudo chown mpd:audio /usr/local/bin/alsaequal.bin
sudo rm /usr/share/alsa/alsa.conf.d/equal.conf
mpc enable only 1
////////////////////////////////////////////////////////
//
// STEP 11 - Squash /var/www for performance/reliability
//
////////////////////////////////////////////////////////
NOTE: This is optional but highly recommended.
sudo -i
echo "/var/local/moode.sqsh /var/www squashfs ro,defaults 0 0" >>/etc/fstab
logout
cd ~
sudo rm /var/local/moode.sqsh
sudo mksquashfs /var/www /var/local/moode.sqsh
sudo rm -rf /var/www/*
sync
sudo reboot
////////////////////////////////////////////////////////
//
// STEP 12 - Optionally, install latest Linux Kernel
//
////////////////////////////////////////////////////////
sudo PRUNE_MODULES=1 rpi-update
sudo reboot
sudo rm -rf /lib/modules.bak
////////////////////////////////////////////////////////
//
// STEP 13 - http://moode
//
////////////////////////////////////////////////////////
1. Initial configuration
a. http//moode
b. Browse Tab, Default Playlist, Add
c. Menu, Configure, Sources, UPDATE mpd database
d. Menu, Audio, Mpd options, EDIT SETTINGS, APPLY
e. Menu, System, Set timezone
f. Clear system logs, YES
g. Compact sqlite database, YES
h. Keyboard
i. Layout
2. Verification
a) Playback tab
b) Scroll to the last item which should be the Stereo Test track
c) Click to begin play
d) Menu, Audio info
e) Verify Output stream is 16 bit 48 kHz
////////////////////////////////////////////////////////
//
// STEP 14 - Final prep for image
//
////////////////////////////////////////////////////////
2. Check the boot partition.
sudo umount /boot
sudo dosfsck -tawl /dev/mmcblk0p1
sudo dosfsck -r /dev/mmcblk0p1
sudo dosfsck -V /dev/mmcblk0p1
sudo mount /boot
2. Remove DHCP lease files
sudo rm /var/lib/dhcp/*
sudo rm /var/lib/dhcpcd5/*
3. Remove annoying hidden OSX dot files and dirs (Mac only prep)
4. Reset the network config to defaults
*** IMPORTANT! ***
Don't forget to do this!
sudo cp ./rel-stretch/network/interfaces.default /etc/network/interfaces
sudo cp ./rel-stretch/network/wpa_supplicant.conf.default /etc/wpa_supplicant/wpa_supplicant.conf
sudo cp ./rel-stretch/network/dhcpcd.conf.default /etc/dhcpcd.conf
sudo cp ./rel-stretch/network/hostapd.conf.default /etc/hostapd/hostapd.conf
5. Shut down
sudo poweroff
NOTE: Resetting the network config allows the moodecfg.txt automation file to be used to automatically change the
host name and other names at first boot. See the file /var/www/setup.txt for more information on this feature.
################################################## ######
#
#
# Install additional components
#
#
################################################## ######
////////////////////////////////////////////////////////
//
// COMPONENT 1 - MiniDLNA
//
////////////////////////////////////////////////////////
sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install minidlna
sudo systemctl disable minidlna
sudo apt-get -y install djmount
////////////////////////////////////////////////////////
//
// COMPONENT 2 - Autoshuffle
//
////////////////////////////////////////////////////////
cd ~
sudo git clone https://github.com/Joshkunz/ashuffle.git
cd ashuffle
sudo make
cd ~
sudo cp ./ashuffle/ashuffle /usr/local/bin
sudo rm -rf ./ashuffle
////////////////////////////////////////////////////////
//
// COMPONENT 3 - MPD Audio Scrobbler
//
////////////////////////////////////////////////////////
cd ~
sudo git clone https://github.com/hrkfdn/mpdas
cd mpdas
sudo make
sudo cp ./mpdas /usr/local/bin
cd ~/
sudo rm -rf ./mpdas
sudo cp ./rel-stretch/usr/local/etc/mpdasrc.default /usr/local/etc/mpdasrc
sudo chmod 0755 /usr/local/etc/mpdasrc
////////////////////////////////////////////////////////
//
// COMPONENT 4 - Shairport-sync
//
////////////////////////////////////////////////////////
sudo apt-get -y install autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev \
avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev
cd ~
sudo git clone https://github.com/mikebrady/shairport-sync.git
cd shairport-sync
sudo autoreconf -i -f
sudo ./configure --with-alsa --with-avahi --with-ssl=openssl --with-soxr --with-metadata --with-stdout --with-systemd
sudo make
sudo make install
sudo systemctl disable shairport-sync
cd ~
sudo rm -rf ./shairport-sync
sudo cp ./rel-stretch/usr/local/etc/shairport-sync.conf /usr/local/etc
////////////////////////////////////////////////////////
//
// COMPONENT 5 - Squeezelite
//
////////////////////////////////////////////////////////
1. Use either the pre-compled binaries or compile directly from Sources
OPTION A: Copy squeezelite pre-compiled binaries for armv6l and armv7l
sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv6l /usr/local/bin/squeezelite-armv6l
sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv7l /usr/local/bin/squeezelite-armv7l
# Corresponding Sources: ./rel-stretch/other/squeezelite-master.zip
OPTION B: Compile squeezelite from latest Sources
sudo git clone https://github.com/ralph-irving/squeezelite
cd ./squeezelite
On Armv6l
sudo make clean
sudo make OPTS="-s -O3 -march=armv6 -mfloat-abi=hard -mfpu=vfp -DDSD -DRESAMPLE"
sudo cp ./squeezelite /usr/local/bin/squeezelite-armv6l
cd ~
sudo rm -rf ./squeezelite
On Armv7l
sudo make clean
sudo make OPTS="-DDSD -DRESAMPLE"
sudo cp ./squeezelite /usr/local/bin/squeezelite-armv7l
cd ~
sudo rm -rf ./squeezelite
3. See STEP 9 main procedure
#sudo chmod 0644 /lib/systemd/system/squeezelite-armv6l.service
#sudo chmod 0644 /lib/systemd/system/squeezelite-armv7l.service
#sudo systemctl disable squeezelite-armv6l
#sudo systemctl disable squeezelite-armv7l
////////////////////////////////////////////////////////
//
// COMPONENT 6 - Upmpdcli
//
////////////////////////////////////////////////////////
// Enjoy a Coffee and listen to some Tunes while the compiles run :-)
1. Dev libraries
sudo apt-get -y install libmicrohttpd-dev libexpat1-dev \
libxml2-dev libxslt1-dev libjsoncpp-dev python-requests python-pip
sudo pip install gmusicapi
2. Libupnp jfd5
cd ~
sudo cp ./rel-stretch/other/upmpdcli/libupnp-1.6.20.jfd5.tar.gz ./
sudo tar xfz ./libupnp-1.6.20.jfd5.tar.gz
cd libupnp-1.6.20.jfd5
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
cd ~
sudo rm -rf ./libupnp-1.6.20.jfd5
sudo rm libupnp-1.6.20.jfd5.tar.gz
3. Libupnpp
sudo cp ./rel-stretch/other/upmpdcli/libupnpp-0.16.0.tar.gz ./
sudo tar xfz ./libupnpp-0.16.0.tar.gz
cd libupnpp-0.16.0
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
cd ~
sudo rm -rf ./libupnpp-0.16.0
sudo rm libupnpp-0.16.0.tar.gz
4. Upmpdcli
sudo cp ./rel-stretch/other/upmpdcli/upmpdcli-1.2.15.tar.gz ./
sudo tar xfz ./upmpdcli-1.2.15.tar.gz
cd upmpdcli-1.2.15
./configure --prefix=/usr --sysconfdir=/etcmake
make
sudo make install
cd ~
sudo rm -rf ./upmpdcli-1.2.15
sudo rm upmpdcli-1.2.15.tar.gz
sudo useradd upmpdcli
sudo cp ./rel-stretch/lib/systemd/system/upmpdcli.service /lib/systemd/system
sudo cp ./rel-stretch/etc/upmpdcli.conf /etc
sudo systemctl daemon-reload
sudo systemctl disable upmpdcli
5. upexplorer
NOTE: This also installs a bunch of other utils
sudo git clone https://@opensourceprojects.eu/git/p...ppsamples/code libupnppsamples-code
cd libupnppsamples-code
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
cd ~
sudo rm -rf ./libupnppsamples-code
////////////////////////////////////////////////////////
//
// FINAL - Clean up
//
////////////////////////////////////////////////////////
cd ~
sudo apt-get clean
sudo /var/www/command/util.sh clear-syslogs
sudo reboot
################################################## ######
#
#
# Appendix
#
#
################################################## ######
////////////////////////////////////////////////////////
//
// Squashfs procedures
//
////////////////////////////////////////////////////////
1. SQUASH /var/www
sudo -i
echo "/var/local/moode.sqsh /var/www squashfs ro,defaults 0 0" >>/etc/fstab
logout
cd ~
sudo rm /var/local/moode.sqsh
sudo mksquashfs /var/www /var/local/moode.sqsh
sudo rm -rf /var/www/*
sync
sudo reboot
2. UNSQUASH /var/www
sudo killall -s 9 watchdog.sh
sudo systemctl stop nginx
sudo systemctl stop php7.0-fpm
sudo umount /var/www
sudo rmdir /var/www
sudo unsquashfs -d /var/www /var/local/moode.sqsh
sync
sudo sed -i /moode.sqsh/d /etc/fstab
sudo rm /var/local/moode.sqsh
sudo reboot
////////////////////////////////////////////////////////
//
// SD Card procedures (Mac OSX)
//
////////////////////////////////////////////////////////
1. Write SD Card to image file with truncation to the root partition end blk.
NOTE: This assumes the 3GB root expansion in STEP 3.
diskutil list
diskutil unmountDisk /dev/disk3
sudo dd if=/dev/disk3 of=/Users/Lt1user/Documents/moode.img count=6238208 bs=512
diskutil eject /dev/disk3
4. Write image to SD Card.
diskutil list
diskutil unmountDisk /dev/disk3
sudo dd if=/Users/Lt1user/Documents/moode.img of=/dev/rdisk3 bs=1m
diskutil eject /dev/disk3
################################################## ######
#
# END
#
################################################## ######
This worked for me. Hope it helps
Cheers,
Alistair
Thanks, I think. It will ceratinly keep me off the streets for a few nights.
From Tim's Build Recipe v1.6: 'Unless otherwise noted or if a command requires user
interaction, groups of commands can be run in batch'.
So no need to run 'sudo' commands separately. Cut and paste each block of code into Terminal.
It looks a lot worse than it is but it needs care and patience.
I still don't really get why Moode had to go down this route. Surely users will drop off a cliff (maybe even literally after seeing those instructions!). Is it not possible to distribute an image file any more for some reason? Can anyone enlighten me in language I will understand?! :)
yes its an odd decision imo. I wont be going down this route thats for sure. As long as the one ive got works then it will stay as is. if and when it gets corrupted then it is alas goodbye. It is way over my head.
Hi there,
As far as I'm aware it had to do with a GPL licencing issue that was brought to Tim's attention and the work involved in sorting it means that he feels it is too much work to sort it out for all the image types and so he has changed the licence to FOSS (Free Open Source Software) which means we now have to compile our own or wait until it gets picked up by a distro.
Hope that helps,
Alistair
DietPi are working on adding it to their Distro so that should make it easier for some.
Cheers Alistair. I will see and if I do I will give you a shout mate:)
No Problem Grant
Well, after sitting on the fence for a few months I thought I would have a go at installing the latest moode player,version 4 beta 12, using the following instructions I was up and running in about 2 hours.
1. Install Stretch-lite to your uSD card using Etcher or Win32diskimager.
2. Once installed, on your PC use Windows explorer to add a new empty file called SSH in the boot directory of Stretch lite. Eject SD card from PC
Install SD card in Pi, power on and allow to boot. Now you can ssh to Pi using Putty or similar. Usre : pi, Password: raspberry.
3. Download the image builder as described in Moodeaudio.org. Start the image builder. Build might take an hour or more depending on internet connections etc.
4. You can track the build using
ssh pi@moode "cat ~/mosbuild.log | grep 'COMPONENT\|STEP\| Compile \| END\| Error'"
User is now pi, password moodeaudio.
5. When complete you will see the END message. now you can access Moode via your browser.
A lot of new features have been added but the SQ tweaks have been removed. I will not try it on my main system till the final release at the end of the month.
I have been running Volumio 2 on my main system for the last few weeks, very easy to install and to set up, no problems with Airplay which I found a Little flaky on moode. Worth a try for any one that can't face the moode install.
to download image builder and install (step 3 above)
1. Download the Image Builder
cd /home/pi
sudo wget -q http://moodeaudio.org/downloads/mos/mosbuild.sh -O /home/pi/mosbuild.sh
sudo chmod +x /home/pi/mosbuild.sh
2. Start the Image Builder
sudo ./mosbuild.sh
well done... i wouldnt even contemplate that
yes but you know what your doing with putty etc. to me its for putting windows in :doh:
?
Just checked my moode player, it say no updates available.. Is it because this new one is a beta version?
Sent from my 9001X using Tapatalk
Oh.. So doesn't the update feature in moode work then? It's worked before.
Sent from my 9001X using Tapatalk
No .img downloads and no updates at present, and any future updates will probably have to be implemented via ssh.
Tim has said that the final release of Moode 4.0 should be available by the end of the month. It will have a simplified and streamlined build process. You build it by using Terminal on a Mac or Putty on Windows. Has to be built afresh, not possible to update to it.
EDIT: Was typing this while Kit1cat's post above appeared.
In very brief and simple terms,
This build v update situation came about as a result of the licensing rules relating to open source Linux code.
Tim’s Moode code is dependant on additional Open source code developed by others and if Tim incorporates such code into his product he has to comply by the same strict rules.
At the point Moode version 3 was offered via a compulsary donation it is deemed to have been sold and came to the attention of others whose code was also being used but for which they receive no benefit.
It then seems Tim had to adopt an alternate development and delivery approach which complies with the open source rules. Hopefully the final product will get to the point where it can be delivered and updated as part of a normal Linux install process in the same way as open office and all other apps you can install into the base Pi Linux operating system
Mel
Ah.. Thanks for the information.
Does Tim still post here? Not seen him for a while.
Okay.. I'll reinstall it. Never done it before like this. Easy to do?
Any good sound updates?
Sent from my 9001X using Tapatalk
Tim is very active on the DIYaudio forum where he is getting help with the the development and testing of Version 4.
The new version does have new functionality and a slightly different look with background options, etc
At this stage of development I would stick with the non beta version 3.x you have and await the final version. However if you have a couple of spare sd cards (and time) give the new beta version a try but if you are not comfortable with basic Linux command functions make sure you keep a copy of your current working version in case you have any problems.
Mel
I think I will. Thanks.
It sounds way too complicated to install.
Hope v4 will be easier.
:)
Moode 4 final now available for download http://moodeaudio.org/
http://www.diyaudio.com/forums/pc-ba...y-pi-1301.html
It's a bit confusing because the Moode download just gives the sources and manual build instructions. To begin, you need to download Raspbian Stretch-Lite and burn it to a micro-SD card: https://www.raspberrypi.org/downloads/raspbian/
Then it's best to use the Moode Image Builder - under 'Support' - and follow the option which uses a single SD card.
Jeez... I I'll stick with 3.7
Sent from my 9001X using Tapatalk
There's a lot to be said for that! If you don't need the extra features of 4.0, then I think the earlier versions (which have the advanced kernels) can give slightly better sound.
Edit: Just done some more listening, and I think the sound is actually better on 4.0 than 3.7 for me.
Getting Moode 4.0 to work is really not that difficult, and it's even quite educational. :) I can assist anyone who wants to do it from a Mac.
I have just run the build with no problem [an idiots guide would have speeded things up].
Well worth the effort and a donation will follow tomorrow.
A definite improvement over V3.x in my view
Mel
Moode 4.4 is available and does not require any build. Moode (Tim Curtiss) provides a straight ISO. I quote The download is a ready-to-use ISO image that can be written directly to an SDCard. Here is the link http://moodeaudio.org/
I’ve been using Moode for a couple of weeks now. Been having some issues with using Linn Kazoo as a controller. Slow, laggy, keeps locking the system up. LUMIN has a terrible UI, so that is out. Fingers crossed am using mconnect on iPhone and it is much faster and more solid. Kazoo hands off the Tidal browsing to the Pi, but mconnect signs into Tidal, then sends to the Pi. Way faster browsing. :)
I'm still on Release 3.1.
Tried 4.x and the latest version of Volumio. I prefer the sound of the old version.
I'm currently using Moode with my Allo Boss V1.2 and see in the audio config some chip/device options. Can anyone advise what these settings are and what affect they may have on the sound.
Thanks.
I've gone back to Moode on my Pi/Boss today, just to see if I could have it set up as a Roon Endpoint as well as Spotify Connect.
Both working perfectly. So I'll give some time and see if it sounds any better than Ropieee XL that could do both too.