Moode Audio Player for Raspberry Pi

I noticed below the Moode logo on the playback screen, the words "Bluetooth session active" appear. I have bluetooth shut off...not using it at all. Should these words still appear on the screen?

Thanks,
Gary

It appears that rebooting the Pi got rid of "Bluetooth session active". I had 2 doing the exact same thing and after shutting both of them down to do some music maintenance on the usb flash drives and restarting seem to have got rid of it.

Gary
 
Stumbling along, I got it working again using the Heebo Guide.

Question, when I scan from USB SSD to update MPD. I don’t know what I clicked
but it is adding hundreds of songs to the Playback list. I didn’t want that but to
add Albums a little at a time.

How do I remove all these songs without manually click on each one to to remove it?

Or do I need to wait awhile for it to update?

Is there a way to add an album or folder for playlist?
 
Tim thanks for this great work..

For image build I can suggest another way;

if you use debian base system on your pc, open terminal and use image builder commands.

When asked, connect usb flash disk and continue to create boot device.

At the end when builder asks for 'save for future build' choose yes.

Burn this image file to sd card and put it in pi and boot.

Wait a little bit and open browser and go to moode.local.
 
Hi,

I tried the Moode OS image builder, but it seems that the installation process is stuck at step8 since several hours :

** Establish permissions
** Misc deletes

////////////////////////////////////////////////////////////////
//
// STEP 8 - Install moOde sources and configs
//
////////////////////////////////////////////////////////////////

** Install application sources and configs

What can I do ? Should I restart installation from the beginning?

Thank you.
 
Hi,

I tried the Moode OS image builder, but it seems that the installation process is stuck at step8 since several hours :

** Establish permissions
** Misc deletes

////////////////////////////////////////////////////////////////
//
// STEP 8 - Install moOde sources and configs
//
////////////////////////////////////////////////////////////////

** Install application sources and configs

What can I do ? Should I restart installation from the beginning?

Thank you.

Could you post result of moslast command, please ?
 
Here it is:

pi@moode:~ $ moslast
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
** Reboot 4
** Tue 30 Jan 21:03:22 UTC 2018

////////////////////////////////////////////////////////////////
//
// STEP 7 - Create moOde runtime environment
//
////////////////////////////////////////////////////////////////

** Create directories
** Create mount points
** Create symlinks
** Create logfiles
** Create misc files
** Establish permissions
** Misc deletes

////////////////////////////////////////////////////////////////
//
// STEP 8 - Install moOde sources and configs
//
////////////////////////////////////////////////////////////////

** Install application sources and configs
 
Here it is:

pi@moode:~ $ moslast
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
** Reboot 4
** Tue 30 Jan 21:03:22 UTC 2018

////////////////////////////////////////////////////////////////
//
// STEP 7 - Create moOde runtime environment
//
////////////////////////////////////////////////////////////////

** Create directories
** Create mount points
** Create symlinks
** Create logfiles
** Create misc files
** Establish permissions
** Misc deletes

////////////////////////////////////////////////////////////////
//
// STEP 8 - Install moOde sources and configs
//
////////////////////////////////////////////////////////////////

** Install application sources and configs

Very Odd ... Just reboot and look if build is resuming ... at this stage, there is only some rm and cp commands (and one db update) ... no huge risk to destroy your build ;)
 
Hi,

Correct, this Bluetooth feature will be included in moOde 4.0 GA at end of month :)

-Tim

Hi,

is there any way of streaming from the moodeaudio device to a bluetooth speaker? I installed my rasberry with hifiberry dac in the caravan, I sometimes would like to stream from there to a bluetooth speaker outside. I am using version 4b12.

I paired my bluetooth speaker or headphone with moodeaudio and connected it, but I can't stream the music to the bluetooth devices. I can't find an option to switch the output from I2S to bluetooth audio. What is to do?
 
Hi all (again)

I retried today building this and can't get past libupnpp compilation. It gets stuck at the same step as before and the Pi freezes.

I have a RPi 2 and the compilation stops like this:

Code:
** Compile Libupnpp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for size_t... yes
checking for off_t... yes
checking for clock_gettime in -lrt... yes
checking for pthread_create in -lpthread... yes
checking whether std::future is available... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for upnp... yes
checking for curl... yes
checking for expat... yes
LIBUPNPP_LIBS -lpthread -lrt  -pthread -lupnp -lthreadutil -lixml -lcurl -lexpat
checking for getifaddrs... yes
checking for UpnpSetLogLevel... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libupnpp.pc
config.status: creating libupnpp/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
depbase=`echo libupnpp/control/avlastchg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./libupnpp  -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf  -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc"  -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avlastchg.lo -MD -MP -MF $depbase.Tpo -c -o libupnpp/control/avlastchg.lo libupnpp/control/avlastchg.cxx &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc" -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avlastchg.lo -MD -MP -MF libupnpp/control/.deps/avlastchg.Tpo -c libupnpp/control/avlastchg.cxx  -fPIC -DPIC -o libupnpp/control/.libs/avlastchg.o
depbase=`echo libupnpp/control/avtransport.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./libupnpp  -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf  -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc"  -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avtransport.lo -MD -MP -MF $depbase.Tpo -c -o libupnpp/control/avtransport.lo libupnpp/control/avtransport.cxx &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc" -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avtransport.lo -MD -MP -MF libupnpp/control/.deps/avtransport.Tpo -c libupnpp/control/avtransport.cxx  -fPIC -DPIC -o libupnpp/control/.libs/avtransport.o

Has anyone built moode for Rpi 2 without issues?
 
Tim,

Thanks for great release. Took me around 45 minutes to build and it was smooth.

Can someone help me setup Bluetooth streaming to my bluetooth headphone? Which setting do I use?

Thank you.

I paired my bluetooth speaker or headphone with moodeaudio and connected it, but I can't stream the music to the bluetooth devices. I can't find an option to switch the output from I2S to bluetooth audio. What is to do?

Hi,

Menu, Configure, SEL

Then set MPD audio output to Bluetooth

-Tim
 
Hi all (again)

I retried today building this and can't get past libupnpp compilation. It gets stuck at the same step as before and the Pi freezes.

I have a RPi 2 and the compilation stops like this:

Code:
** Compile Libupnpp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for size_t... yes
checking for off_t... yes
checking for clock_gettime in -lrt... yes
checking for pthread_create in -lpthread... yes
checking whether std::future is available... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for upnp... yes
checking for curl... yes
checking for expat... yes
LIBUPNPP_LIBS -lpthread -lrt  -pthread -lupnp -lthreadutil -lixml -lcurl -lexpat
checking for getifaddrs... yes
checking for UpnpSetLogLevel... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libupnpp.pc
config.status: creating libupnpp/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
depbase=`echo libupnpp/control/avlastchg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./libupnpp  -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf  -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc"  -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avlastchg.lo -MD -MP -MF $depbase.Tpo -c -o libupnpp/control/avlastchg.lo libupnpp/control/avlastchg.cxx &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc" -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avlastchg.lo -MD -MP -MF libupnpp/control/.deps/avlastchg.Tpo -c libupnpp/control/avlastchg.cxx  -fPIC -DPIC -o libupnpp/control/.libs/avlastchg.o
depbase=`echo libupnpp/control/avtransport.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./libupnpp  -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf  -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc"  -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avtransport.lo -MD -MP -MF $depbase.Tpo -c -o libupnpp/control/avtransport.lo libupnpp/control/avtransport.cxx &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc" -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avtransport.lo -MD -MP -MF libupnpp/control/.deps/avtransport.Tpo -c libupnpp/control/avtransport.cxx  -fPIC -DPIC -o libupnpp/control/.libs/avtransport.o

Has anyone built moode for Rpi 2 without issues?

@clmbmb

Looks good so far.

Are you sure the Pi is frozen or does it merely seem to be so because it's "thinking" furiously? Can you SSH into it and execute commands from the CLI? Try the command "top" to monitor the running processes. During this step you will probably see the CPU usage is pegged at 100% or nearly so!

Building the UPnP services takes a very long time on an RPi3B. It will take even longer on a slower Pi. I haven't tried building on an RPi2B lately but I can pull one out of service for a test build if you continue to have trouble.

Patience is a virtue.

Regards,
Kent