Moode Audio Player for Raspberry Pi

Hi,
Being completely new to the MoOde world, I have few questions, I have built a player with a Pi3 + 7" Touchescreen + Luckit WaveIo Card all connected to my Chord Qute DAC and Synology NAS.
- Is there a touchscreen plugin on MoOde?
- If so, can we set it up so that the screen stays on when playing music and automatically goes (black) on screensaver after a certain of time of inactivity?
- Is there a Spotify plug in?

Thanks :)
 
Hi Tim,

I put the system info, but it seems there is another problem. Even though the installation appeared to be successful, when I do mosbrief it seems the installation was not complete and restarts every time I reboot. I'll start from scratch tonight.

Tnx,

Arjen
 

Attachments

  • Screen Shot 2018-03-02 at 14.30.01.png
    Screen Shot 2018-03-02 at 14.30.01.png
    145.6 KB · Views: 262
  • systeminfo.txt
    5.6 KB · Views: 34
Hi,
Being completely new to the MoOde world, I have few questions, I have built a player with a Pi3 + 7" Touchescreen + Luckit WaveIo Card all connected to my Chord Qute DAC and Synology NAS.
- Is there a touchscreen plugin on MoOde?
- If so, can we set it up so that the screen stays on when playing music and automatically goes (black) on screensaver after a certain of time of inactivity?
- Is there a Spotify plug in?

Thanks :)

Ok first question answered (and I have to say I love Moode UI)
2 other question remain
 
Hi Tim,

I put the system info, but it seems there is another problem. Even though the installation appeared to be successful, when I do mosbrief it seems the installation was not complete and restarts every time I reboot. I'll start from scratch tonight.

Tnx,

Arjen

Uh, oh, Tim et al.

I just tried cloning the MPD Audio Scrobbler repo from the command line:
Code:
kreed@T520 ~/repos $ git clone [url]https://github.com/krkfdn/mpas[/url]
Cloning into 'mpas'...
Username for 'https://github.com':

Regards,
Kent
 
Hi All -

I bought the Allo vana player and got it to work...(ish). it played music but very intermittently and only via the pretty awful squeezebox software on my phone.

It is connected to a NAS which is where all my FLAC files are stored, over ethernet, and has the wifi adapter so my phone can control it.

It does play and I can control playback from my phone, but music comes and goes, and the control interface is extremely slow and laggy.

I know the Moode player does not run on the Allo Sparky.

From a youtube video I watched, it seems that the Sparky can be replaced by a Raspberry Pi, which CAN run Moode.

One issue I have faced is I have not been able to connect a monitor /keyboard / mouse to the Sparky SBC, so I may not be able to directly log in to the Pi when I get one. Putty did not work to SSH into the Sparky from a windows machine.

Any experience to guide me to a path forward?

Colin

Hi, Colin.

I don't know what OS you received with your Sparky but recent releases of Debian/Raspbian are shipped with the SSH daemon disabled by default.

As part of the moOde image building process, the SSH daemon is enabled so you shouldn't have any difficulty running headless. In addition, moOde now includes an SSH Terminal server so you can SSH into it from your web browser:)

Regards,
Kent
 
Uh, oh, Tim et al.

I just tried cloning the MPD Audio Scrobbler repo from the command line:
Code:
kreed@T520 ~/repos $ git clone [url]https://github.com/krkfdn/mpas[/url]
Cloning into 'mpas'...
Username for 'https://github.com':

Regards,
Kent

Looks ok to me. Maybe a temporary glitch in Github ??

I can always add the mpdas sources locally in the builder.

Code:
pi@rp3:~ $ sudo git clone [url=https://github.com/hrkfdn/mpdas]GitHub - hrkfdn/mpdas: MPD AudioScrobbler written in C++ using libcurl[/url]
Cloning into 'mpdas'...
remote: Counting objects: 698, done.
remote: Total 698 (delta 0), reused 0 (delta 0), pack-reused 698
Receiving objects: 100% (698/698), 143.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (412/412), done.
pi@rp3:~ $
 
Hi,

I have problems with constantly rebooting raspberry pi 3 b if I do music scan or playing flac.
My power supply is 12v 500va.
Teddy pardo 5v 2A for raspberry.
Teddy pardo 5v 2A for alo isolator and hifiberry digi plus pro.
DDDAC 24 DACS
Edit : I have also 1000 gig ssd connected to the raspberry.

Regards,
Rudy

Hi Rudy,

Assuming the build was successful and a clean mosbrief log then the symptom "spontaneous reboots" suggests a hardware issue.

The only way I can think of to troubleshoot is to start with a bare Raspberry Pi-3B with nothing connected except an Ethernet cable and see if the problem still occurs. If not then one by one connect your peripherals and see one of them is causing issue.

-Tim

Hi, Rudy.

Tim's advice is sound.

Candidly, though, spontaneous reboots are nearly always related to the RPi's power supply and/or their interconnection. The marketing literature for the Teddy Pardo supply is glowing, likewise for their USB cable, but I wouldn't discount that one of the other might be part of the problem with your RPi rebooting.

Were this my problem, my very first test would be to replace the power supply and cable to the RPi itself with something else (not the other Teddy Pardo) while making no other changes. If reboots continued then I would proceed with Tim's advice and strip down to the bare SBC.

What is the purpose of that 12v/500va power supply? (I could spotweld with the 40 amp current available from it!)

Regards,
Kent
 
Looks ok to me. Maybe a temporary glitch in Github ??

I can always add the mpdas sources locally in the builder.

Code:
pi@rp3:~ $ sudo git clone [url=https://github.com/hrkfdn/mpdas]GitHub - hrkfdn/mpdas: MPD AudioScrobbler written in C++ using libcurl[/url]
Cloning into 'mpdas'...
remote: Counting objects: 698, done.
remote: Total 698 (delta 0), reused 0 (delta 0), pack-reused 698
Receiving objects: 100% (698/698), 143.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (412/412), done.
pi@rp3:~ $

Two glitches, actually, github temporarily not serving the repo, and me mistyping the repo name in my test :mad:

Working here now.

Regards,
Kent
 
Hi, Colin.

I don't know what OS you received with your Sparky but recent releases of Debian/Raspbian are shipped with the SSH daemon disabled by default.

As part of the moOde image building process, the SSH daemon is enabled so you shouldn't have any difficulty running headless. In addition, moOde now includes an SSH Terminal server so you can SSH into it from your web browser:)

Regards,
Kent
For raspberries, there is also a "trick" to enable SSH when making the sd card.

After you write the OS image to the SD card, unplug and plug the SD card back into your PC. You should be able to open "Root" directory on the SD card now. if you make an empty txt file called ssh, and copy that file to this Root directory, then when you boot up the Pi, SSH will be enabled.

An easy way to make the ssh file is to right click on an empty spot in your desktop, then select New, Text Document and then rename this new file ssh with no extension.

You will need to figure out the ip address of the Pi,then you can logon with user Pi and PW raspberry, at least for raspian (stretch and jessie), that is the login info.
 
Post contents of System info and I'll have a look.
moOde

Browse
Library
Playback

System Config

software update
image builder
General
Timezone
Host name
Length 3-63 chars, A-Z, a-z, 0-9, and hyphen (-) are allowed.
Keyboard layout
Browser title
System Modifications
CPU governor
Integrated WiFi adapter
ON
OFF
Integrated BT adapter
ON
OFF
HDMI port
ON
OFF
Wait for eth0 address
ON
OFF
CAUTION: Only turn this OFF if running a WiFi-only configuration.
Leave this setting ON if connected via Ethernet cable.
USB (UAC2) fix
ON
OFF
Root file system
File system has not been expanded yet
USB boot
USB boot is not enabled yet
MPD engine timeout
Local Display
Local UI display
ON
OFF
Touch screen
YES
NO
Screen blank
Brightness
Rotate screen
Local Services
Metadata file
ON
OFF
LCD update engine
ON
OFF
Provide full path to Python script.
SSH term server
ON
OFF
OPEN Web SSH terminal.
Maintenance
Playback history
System logs
Sqlite database
Debug logging
ON
OFF
System information


S Y S T E M P A R A M E T E R S

Date and time= 2018-03-02 16:30:06
System uptime= up 1 minute
Timezone= Europe/Dublin
moOde= Release 4.0 2018-01-26

Host name= moode
ETH0 IP= 192.168.2.37
ETH0 MAC= b8:27:eb:b6:37:f8
WLAN0 IP= unassigned
WLAN0 MAC= no adapter

HDWR REV= Pi-3B 1GB v1.2
SoC = BCM2835
CORES= 4
ARCH= armv7l
KERNEL= 4.9.78-v7+
KTIMER FREQ= 100 Hz
USB BOOT= not enabled
Warranty= OK

ROOT size= 2.9G
ROOT used = 76%
ROOT avail= 690M
FS expand= not expanded
MEM free = 494 MB
MEM used = 105 MB
Temperature = 56.9°C

CPU GOV= performance
MPD SCHDPOL= TS
P3-WIFI= Off
P3-BT= On
HDMI= On
ETH0 CHECK= On
MAX USB CUR= Off
UAC2 FIX= On
SSH server= On

LED0= on
LED1= on

C O R E S E R V E R S

PHP-FPM= 7.0.27
NGINX= 1.10.3
SQLite= 3.16.2
Bluetooth= 5.43

C P U L O A D

CPU%usr%sys%idle
all0.760.7698.34
00.000.5099.00
12.541.5295.94
20.000.5199.49
30.530.5398.95

P R O C E S S L O A D

PRI RTPRIO COMMAND %MEM PSR %CPU
19 - chromium-browse 8.7 2 8.7
19 - chromium-browse 12.6 2 5.0
19 - sysinfo.sh 0.2 0 2.0
19 - systemd 0.6 0 1.9
19 - php-fpm7.0 1.3 2 1.0
29 - mpd 2.0 2 0.9
19 - systemd-journal 0.4 1 0.6
19 - systemd-udevd 0.3 1 0.5
19 - Xorg 3.5 0 0.5

C L O C K F R E Q U E N C I E S

arm = 1200 MHz pwm = 0 MHz
core = 400 MHz emmc = 249 MHz
h264 = 300 MHz pixel = 0 MHz
isp = 300 MHz vec = 0 MHz
v3d = 300 MHz hdmi = 0 MHz
uart = 48 MHz dpi = 0 MHz

SD card= 25 MHz

S Y S T E M V O L T A G E S

core= 1.3062V
sdram controller= 1.2000V
sdram I/O= 1.2000V
sdram chip= 1.2250V

U I C U S T O M I Z A T I O N S

Theme= Standard
Accent color= Emerald
Alpha blend= 1.0
Adaptive background= No
Background image= No
Playback history= No
Extra metadata= Yes
Library= Use Artist

A U D I O P A R A M E T E R S

Audio device= Lukit WaveIO USB-I2S/SPDIF Bridge
Interface= On-board
Hdwr volume= 77
Mixer name= PCM
Output stream= Closed
ALSA version= 1.1.3-5+rpi3
SoX version= 0.1.2-2

Volume knob= 100
Volume mute= Off
Volume limit= 20

Bluetooth controller= Off
Airplay receiver= Off
Squeezelite= Off
UPnP renderer= Off
DLNA server= Off

Rotary encoder= Off
Encoder params= 100 2 3 4 5
Crossfeed= Off
Parametric EQ= Off
Graphic EQ= Off
Auto-shuffle= Off
Autoplay= Off
MPD crossfade= Off

M P D S E T T I N G S

Version= 0.20.12
Volume control= software
ALSA device= hw:0
SoX resampling= disabled
SoX quality= very high
SoX multithreading= off
Audio buffer (kb)= 4096
Buffer before play= 10%
Output buffer size (kb)= 81920
Volume normalization= no
DSD over PCM (DoP)= no
Replay gain= off

A I R P L A Y S E T T I N G S

Version= 3.1.7
Friendly name= Moode Airplay
Metadata display= Off
ALSA device= hw:0
Volume mixer= auto
Resume MPD after= No
Output bit depth= S16
Output sample rate= 44100
Session interruption= no
Session timeout (ms)= 120
Audio buffer (secs)= 0.0

S Q U E E Z E L I T E S E T T I N G S

Version= 1.8.7-1020 "DSD/SRC enabled"
Friendly name= Moode
ALSA device= hw:0
ALSA params= 80:4::1
Output buffers= 40000:100000
Task priority= 45
Codec list= flac,pcm,mp3,ogg,aac,alac,dsd
Other options= -W -D 500 -R E

M O O D E L O G

20180302 162828 worker: - Start
20180302 162828 worker: Successfully daemonized
20180302 162828 worker: - Init
20180302 162829 worker: Session loaded
20180302 162829 worker: Debug logging (off)
20180302 162835 worker: Host (moode)
20180302 162835 worker: Hdwr (Pi-3B 1GB v1.2)
20180302 162835 worker: Arch (armv7l)
20180302 162835 worker: Kver (4.9.78-v7+)
20180302 162835 worker: Ktyp (Standard)
20180302 162835 worker: Gov (performance)
20180302 162835 worker: Rel (Moode 4.0 2018-01-26)
20180302 162835 worker: Upd (None)
20180302 162835 worker: MPD (0.20.12)
20180302 162835 worker: USB boot not enabled yet
20180302 162835 worker: File system not expanded yet
20180302 162835 worker: HDMI port off
20180302 162835 worker: File check ok
20180302 162835 worker: - Network
20180302 162835 worker: eth0 exists
20180302 162835 worker: eth0 (192.168.2.37)
20180302 162835 worker: wlan0 does not exist
20180302 162835 worker: - Audio
20180302 162835 worker: ALSA outputs unmuted
20180302 162835 worker: Audio output (On-board audio device)
20180302 162836 worker: ALSA mixer name (PCM)
20180302 162836 worker: MPD volume control (software)
20180302 162836 worker: Hdwr volume controller exists
20180302 162836 worker: - Services
20180302 162838 worker: MPD started
20180302 162838 worker: MPD scheduler policy (time-share)
20180302 162838 worker: MPD output 1 ALSA default (on)
20180302 162838 worker: MPD output 2 ALSA crossfeed (off)
20180302 162838 worker: MPD output 3 ALSA parametric eq (off)
20180302 162838 worker: MPD output 4 ALSA graphic eq (off)
20180302 162838 worker: MPD crossfade (off)
20180302 162838 worker: Shellinabox SSH server started
20180302 162838 worker: - Last
20180302 162838 worker: USB sources (none attached)
20180302 162838 worker: NAS sources (mountall initiated)
20180302 162839 worker: Volume level (100) restored
20180302 162839 worker: Maintenance interval (21600)
20180302 162839 worker: Watchdog started
20180302 162839 worker: Ready
 
moOde

Browse
Library
Playback

System Config

software update
image builder
General
Timezone
Host name
Length 3-63 chars, A-Z, a-z, 0-9, and hyphen (-) are allowed.
Keyboard layout
Browser title
System Modifications
CPU governor
Integrated WiFi adapter
ON
OFF
Integrated BT adapter
ON
OFF
HDMI port
ON
OFF
Wait for eth0 address
ON
OFF
CAUTION: Only turn this OFF if running a WiFi-only configuration.
Leave this setting ON if connected via Ethernet cable.
USB (UAC2) fix
ON
OFF
Root file system
File system has not been expanded yet
USB boot
USB boot is not enabled yet
MPD engine timeout
Local Display
Local UI display
ON
OFF
Touch screen
YES
NO
Screen blank
Brightness
Rotate screen
Local Services
Metadata file
ON
OFF
LCD update engine
ON
OFF
Provide full path to Python script.
SSH term server
ON
OFF
OPEN Web SSH terminal.
Maintenance
Playback history
System logs
Sqlite database
Debug logging
ON
OFF
System information


S Y S T E M P A R A M E T E R S

Date and time= 2018-03-02 16:33:54
System uptime= up 5 minutes
Timezone= Europe/Dublin
moOde= Release 4.0 2018-01-26

Host name= moode
ETH0 IP= 192.168.2.37
ETH0 MAC= b8:27:eb:b6:37:f8
WLAN0 IP= unassigned
WLAN0 MAC= no adapter

HDWR REV= Pi-3B 1GB v1.2
SoC = BCM2835
CORES= 4
ARCH= armv7l
KERNEL= 4.9.78-v7+
KTIMER FREQ= 100 Hz
USB BOOT= not enabled
Warranty= OK

ROOT size= 2.9G
ROOT used = 76%
ROOT avail= 682M
FS expand= not expanded
MEM free = 468 MB
MEM used = 110 MB
Temperature = 54.8°C

CPU GOV= performance
MPD SCHDPOL= TS
P3-WIFI= Off
P3-BT= On
HDMI= On
ETH0 CHECK= On
MAX USB CUR= Off
UAC2 FIX= On
SSH server= On

LED0= on
LED1= on

C O R E S E R V E R S

PHP-FPM= 7.0.27
NGINX= 1.10.3
SQLite= 3.16.2
Bluetooth= 5.43

C P U L O A D

CPU%usr%sys%idle
all5.791.6092.61
015.151.7383.12
12.491.4996.02
21.100.0098.90
32.513.0294.47

P R O C E S S L O A D

PRI RTPRIO COMMAND %MEM PSR %CPU
19 - chromium-browse 8.8 3 8.2
19 - sysinfo.sh 0.2 0 4.0
19 - chromium-browse 12.8 3 3.8
19 - systemd 0.6 0 0.6
19 - sudo 0.3 2 0.6
19 - php-fpm7.0 1.1 1 0.5
19 - php-fpm7.0 1.0 3 0.4
19 - systemd-journal 0.5 0 0.3
19 - worker.php 1.1 3 0.3

C L O C K F R E Q U E N C I E S

arm = 600 MHz pwm = 0 MHz
core = 250 MHz emmc = 250 MHz
h264 = 250 MHz pixel = 0 MHz
isp = 250 MHz vec = 0 MHz
v3d = 250 MHz hdmi = 0 MHz
uart = 47 MHz dpi = 0 MHz

SD card= 25 MHz

S Y S T E M V O L T A G E S

core= 1.3062V
sdram controller= 1.2000V
sdram I/O= 1.2000V
sdram chip= 1.2250V

U I C U S T O M I Z A T I O N S

Theme= Standard
Accent color= Emerald
Alpha blend= 1.0
Adaptive background= No
Background image= No
Playback history= No
Extra metadata= Yes
Library= Use Artist

A U D I O P A R A M E T E R S

Audio device= Lukit WaveIO USB-I2S/SPDIF Bridge
Interface= On-board
Hdwr volume= 77
Mixer name= PCM
Output stream= Closed
ALSA version= 1.1.3-5+rpi3
SoX version= 0.1.2-2

Volume knob= 100
Volume mute= Off
Volume limit= 20

Bluetooth controller= Off
Airplay receiver= Off
Squeezelite= Off
UPnP renderer= Off
DLNA server= Off

Rotary encoder= Off
Encoder params= 100 2 3 4 5
Crossfeed= Off
Parametric EQ= Off
Graphic EQ= Off
Auto-shuffle= Off
Autoplay= Off
MPD crossfade= Off

M P D S E T T I N G S

Version= 0.20.12
Volume control= software
ALSA device= hw:0
SoX resampling= disabled
SoX quality= very high
SoX multithreading= off
Audio buffer (kb)= 4096
Buffer before play= 10%
Output buffer size (kb)= 81920
Volume normalization= no
DSD over PCM (DoP)= no
Replay gain= off

A I R P L A Y S E T T I N G S

Version= 3.1.7
Friendly name= Moode Airplay
Metadata display= Off
ALSA device= hw:0
Volume mixer= auto
Resume MPD after= No
Output bit depth= S16
Output sample rate= 44100
Session interruption= no
Session timeout (ms)= 120
Audio buffer (secs)= 0.0

S Q U E E Z E L I T E S E T T I N G S

Version= 1.8.7-1020 "DSD/SRC enabled"
Friendly name= Moode
ALSA device= hw:0
ALSA params= 80:4::1
Output buffers= 40000:100000
Task priority= 45
Codec list= flac,pcm,mp3,ogg,aac,alac,dsd
Other options= -W -D 500 -R E

M O O D E L O G

20180302 162828 worker: - Start
20180302 162828 worker: Successfully daemonized
20180302 162828 worker: - Init
20180302 162829 worker: Session loaded
20180302 162829 worker: Debug logging (off)
20180302 162835 worker: Host (moode)
20180302 162835 worker: Hdwr (Pi-3B 1GB v1.2)
20180302 162835 worker: Arch (armv7l)
20180302 162835 worker: Kver (4.9.78-v7+)
20180302 162835 worker: Ktyp (Standard)
20180302 162835 worker: Gov (performance)
20180302 162835 worker: Rel (Moode 4.0 2018-01-26)
20180302 162835 worker: Upd (None)
20180302 162835 worker: MPD (0.20.12)
20180302 162835 worker: USB boot not enabled yet
20180302 162835 worker: File system not expanded yet
20180302 162835 worker: HDMI port off
20180302 162835 worker: File check ok
20180302 162835 worker: - Network
20180302 162835 worker: eth0 exists
20180302 162835 worker: eth0 (192.168.2.37)
20180302 162835 worker: wlan0 does not exist
20180302 162835 worker: - Audio
20180302 162835 worker: ALSA outputs unmuted
20180302 162835 worker: Audio output (On-board audio device)
20180302 162836 worker: ALSA mixer name (PCM)
20180302 162836 worker: MPD volume control (software)
20180302 162836 worker: Hdwr volume controller exists
20180302 162836 worker: - Services
20180302 162838 worker: MPD started
20180302 162838 worker: MPD scheduler policy (time-share)
20180302 162838 worker: MPD output 1 ALSA default (on)
20180302 162838 worker: MPD output 2 ALSA crossfeed (off)
20180302 162838 worker: MPD output 3 ALSA parametric eq (off)
20180302 162838 worker: MPD output 4 ALSA graphic eq (off)
20180302 162838 worker: MPD crossfade (off)
20180302 162838 worker: Shellinabox SSH server started
20180302 162838 worker: - Last
20180302 162838 worker: USB sources (none attached)
20180302 162838 worker: NAS sources (mountall initiated)
20180302 162839 worker: Volume level (100) restored
20180302 162839 worker: Maintenance interval (21600)
20180302 162839 worker: Watchdog started
20180302 162839 worker: Ready