Moode Audio Player for Raspberry Pi

Hi,

Moode 3.1 is available for download at moodeaudio.org. This is primarily a bugfix release but it does contain a nice enhancement to the Browse panel that provides auto-scroll to the selected folder when the back button is pressed.

It also includes the 4.4.24-sc1 advanced kernel. It was necessary to switch to this kernel due to source-tree issues with 4.4.30-sc1. The same advanced audio capabilities and performance tunings are provided in 4.4.24-sc1.

If you are currently using Moode 3.0 you can upgrade to Moode 3.1 via in-place software update. To get the update, open the System configuration page and click "CHECK for software update" then click VIEW then INSTALL. Reboot after the completion message appears and BE SURE to follow the post-reboot instructions. I've reprinted them below.

- Open Customize and toggle the Theme color to reset it
- Open System config and toggle the MPD scheduler policy to reset it
- If running Advanced kernel press INSTALL to update it then REBOOT

Regards,
Tim

======================
3.1 Release 2016-12-05
======================

Updates

- UPD: Add real-time RR to MPD scheduler policy dropdown
- UPD: Bump squeezelite to version 1.8.5-823
- UPD: Reduce squeezelite DSP buffer setting for armv6l
- UPD: Minor cleanup for rotary encoder driver
- UPD: Switch to 4.4.24 advanced kernel
- UPD: Add moodeaudio.org and twitter links to About

Bug fixes

- FIX: Logic in Squeezelite restart job in Worker
- FIX: Pegged CPU due to FIFO schedule pol in squeezelite svc
- FIX: MPD/Squeezelite fail on 1-core armv7l due to CPUAffinity
- FIX: Squeezelite compatibility with armv6l platform (Pi-1B/B+)
- FIX: PCM5121 chip options grayed out on Customize screen
- FIX: Incorrect coding for Audiophonics PCM5122 in audiodev tbl
- FIX: Browse not scrolling to selected item after back btn
- FIX: DLNA server status page not found
 

Attachments

  • moode audio player logo 3.png
    moode audio player logo 3.png
    30.1 KB · Views: 511
Hi,

I just upgraded to 3.0 from 2.7. Shairport/ Airplay has worked flawless before but since I upgraded it has started to drop out so it´s unusable. What could be the problem? I haven't change anything else. it´s connected with cable not Wifi.

Best regards,
L

I too am having this issue and it is very frustrating. I used Volumio previously on my Pi Zero and airplay worked flawlessly, but on Moode it stutters and drops out very badly.
I have updated to v3.1, tried to renice shareport-sync to -20, and adjusted processor scaling and MPD scheduler. I have also tried it without metadata being sent.
What could be the cause, and how can we solve it?
Many thanks for all your hard work
J.
 
I too am having this issue and it is very frustrating. I used Volumio previously on my Pi Zero and airplay worked flawlessly, but on Moode it stutters and drops out very badly.
I have updated to v3.1, tried to renice shareport-sync to -20, and adjusted processor scaling and MPD scheduler. I have also tried it without metadata being sent.
What could be the cause, and how can we solve it?
Many thanks for all your hard work
J.

Hi,

Just ran some quick tests of Airplay on Pi-1B and no issue.

- When u run top what is %CPU for shairport-sync ?
- Post /var/log/moode.log

-Tim
 
Hi,

Just ran some quick tests of Airplay on Pi-1B and no issue.

- When u run top what is %CPU for shairport-sync ?
- Post /var/log/moode.log

-Tim

CPU sits between 12%-25% on the proccess, but overall usage isn't anywhere near 100%

I've attached the log file, just removed my WiFi info.

Code:
20161206 223336 worker: Startup
20161206 223408 worker: Host (HiPi)
20161206 223408 worker: Hdwr (Unknown Pi-model)
20161206 223408 worker: Arch (armv6l)
20161206 223408 worker: Kver (4.4.30+)
20161206 223408 worker: Ktyp (Standard)
20161206 223408 worker: Gov  (ondemand)
20161206 223408 worker: OS   (moodeOS 1.1)
20161206 223409 worker: Rel  (Moode 3.1 2016-12-05)
20161206 223409 worker: Upd  (None)
20161206 223409 worker: MPD  (0.19.19)
20161206 223409 worker: Session loaded
20161206 223409 worker: Debug logging (off)
20161206 223409 worker: File check...
20161206 223412 worker: File check ok
20161206 223412 worker: Auto-shuffle deactivated
20161206 223413 worker: USB sources (none attached)
20161206 223413 worker: MPD scheduler policy (time-share)
20161206 223413 worker: MPD started
20161206 223414 worker: wlan0 exists
20161206 223414 worker: wlan0 trying SSID (XXXXXXX)
20161206 223415 worker: HDMI port on
20161206 223415 worker: Audio (I2S audio device)
20161206 223415 worker: Audio (Pimoroni pHAT DAC)
20161206 223416 worker: ALSA outputs unmuted
20161206 223416 worker: ALSA mixer name (Digital)
20161206 223416 worker: MPD volume control (software)
20161206 223418 worker: MPD output 1 ALSA default (enabled)
20161206 223418 worker: MPD output 2 ALSA crossfeed (disabled)
20161206 223420 worker: Hdwr volume controller not detected
20161206 223421 worker: Volume level (0) restored
20161206 223421 worker: wlan0 (192.168.0.XX)
20161206 223422 worker: eth0 does not exist
20161206 223422 worker: eth0 address not assigned
20161206 223422 worker: Airplay receiver started
20161206 223422 worker: Airplay volume (auto)
20161206 223423 worker: NAS sources (mountall initiated)
20161206 223423 worker: MPD consume reset to off
20161206 223423 worker: MPD crossfade (off)
20161206 223424 worker: Watchdog started
20161206 223424 worker: End startup
20161206 223424 worker: Ready
20161206 223454 worker: Job installupd
20161206 223529 worker: Job grass
20161206 223540 worker: Job river
20161206 223722 worker: Job mpdsched
20161206 223750 worker: Job hdmiport
20161206 223953 worker: Job mpdsched
20161206 225643 worker: Job airplaysvc

Thanks for your time,
J.
 
Last edited:
Hi,

Thats odd.

upexplorer is used for fetching cover art from UPnP song files. It queries the underlying UPnP network thats established when the UPnP renderer is started.

Below is the command thats run from within Moode. If u are using something other than "Moode UPNP" as the renderer name then substitute it.

Try testing from cmd line

sudo killall upexplorer
sudo upexplorer --album-art "Moode UPNP"

-Tim

Tried this while idle and while playing a track, it always worked correctly but on one occasion while idle running this cause the process to hit 100%. Also this morning I found on both Pi's the process had hit 100%.

However I have realised that I committed a schoolboy error and had not factored in that I had upgraded upmpdcli to 1.2.10 to be able to use the Tidal/Qobuz/Gmusic integration. I will reflash to base 3.1 and try again.
 
System config, about halfway down

I wouldn't ask if I hadn't convinced myself there was no option.
I re-produce below the page in question and for the life of me can see nothing related to wlan0 or Wifi or AP mode!

Browse
Library
Playback
System Configuration
CHECK for software update
Moode software is up to date
General

Timezone
America/Detroit SET
Host name

moode
SET
Length 3-63 chars, A-Z, a-z, 0-9, and hyphen (-) are allowed.
Browser title

MoOde Player
SET
Audio

I2S audio device
None SET
ALSA volume (%)

100
SET
Rotary encoder
ON
OFF
SET
Crossfeed DSP
disabled SET
Services

Airplay receiver
ON
OFF

Moode Airplay
SET
Airplay metadata
ON
OFF
SET
UPnP renderer
ON
OFF

Moode UPNP
SET
DLNA server
ON
OFF

Moode DLNAx
SET
Rebuild DLNA database.
View status of database update.
External metadata
ON
OFF
SET
LCD update engine
ON
OFF

Python script
SET
Provide full path to Python script.
Auto-shuffle
ON
OFF
SET
Autoplay after start
ON
OFF
SET
Audio scrobbler
ON
OFF

root
SET


•••••••
Maintenance

Clear system logs
YES
NO
SET
Clear playback history
YES
NO
SET
Expand SD Card storage
YES
NO
SET
Max USB current 2X
ON
OFF
SET
USB (UAC2) fix
ON
OFF
SET
Debug logging
ON
OFF
SET
Peripherals

Keyboard
gb SET
Layout
English (UK) SET
 
CPU sits between 12%-25% on the proccess, but overall usage isn't anywhere near 100%

I've attached the log file, just removed my WiFi info.

Code:
20161206 223336 worker: Startup
20161206 223408 worker: Host (HiPi)
20161206 223408 worker: Hdwr (Unknown Pi-model)
20161206 223408 worker: Arch (armv6l)
20161206 223408 worker: Kver (4.4.30+)
20161206 223408 worker: Ktyp (Standard)
20161206 223408 worker: Gov  (ondemand)
20161206 223408 worker: OS   (moodeOS 1.1)
20161206 223409 worker: Rel  (Moode 3.1 2016-12-05)
20161206 223409 worker: Upd  (None)
20161206 223409 worker: MPD  (0.19.19)
20161206 223409 worker: Session loaded
20161206 223409 worker: Debug logging (off)
20161206 223409 worker: File check...
20161206 223412 worker: File check ok
20161206 223412 worker: Auto-shuffle deactivated
20161206 223413 worker: USB sources (none attached)
20161206 223413 worker: MPD scheduler policy (time-share)
20161206 223413 worker: MPD started
20161206 223414 worker: wlan0 exists
20161206 223414 worker: wlan0 trying SSID (XXXXXXX)
20161206 223415 worker: HDMI port on
20161206 223415 worker: Audio (I2S audio device)
20161206 223415 worker: Audio (Pimoroni pHAT DAC)
20161206 223416 worker: ALSA outputs unmuted
20161206 223416 worker: ALSA mixer name (Digital)
20161206 223416 worker: MPD volume control (software)
20161206 223418 worker: MPD output 1 ALSA default (enabled)
20161206 223418 worker: MPD output 2 ALSA crossfeed (disabled)
20161206 223420 worker: Hdwr volume controller not detected
20161206 223421 worker: Volume level (0) restored
20161206 223421 worker: wlan0 (192.168.0.XX)
20161206 223422 worker: eth0 does not exist
20161206 223422 worker: eth0 address not assigned
20161206 223422 worker: Airplay receiver started
20161206 223422 worker: Airplay volume (auto)
20161206 223423 worker: NAS sources (mountall initiated)
20161206 223423 worker: MPD consume reset to off
20161206 223423 worker: MPD crossfade (off)
20161206 223424 worker: Watchdog started
20161206 223424 worker: End startup
20161206 223424 worker: Ready
20161206 223454 worker: Job installupd
20161206 223529 worker: Job grass
20161206 223540 worker: Job river
20161206 223722 worker: Job mpdsched
20161206 223750 worker: Job hdmiport
20161206 223953 worker: Job mpdsched
20161206 225643 worker: Job airplaysvc

Thanks for your time,
J.

Hi,

Log looks ok except for "Unknown Pi-model".

What is output from these cmds? I can add the revision code to next Moode update.

1) awk '{if ($1=="Revision") print substr($3,length($3)-3)}' /proc/cpuinfo
2) cat /proc/cpuinfo

Next troubleshooting step will be to look at the shairport-sync launch command.

1) System config: turn debug logging ON
2) Audio config: turn Airplay receiver OFF then ON
3) cat /var/log/moode.log and post back just the line that looks similar to below

/usr/local/bin/shairport-sync -a "RP6 Airplay" -S soxr -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d hw:0 > /dev/null 2>&1 &

4) System config: turn debug logging OFF

-Tim
 
I wouldn't ask if I hadn't convinced myself there was no option.
I re-produce below the page in question and for the life of me can see nothing related to wlan0 or Wifi or AP mode!

Browse
Library
Playback
System Configuration
CHECK for software update
Moode software is up to date
General

Timezone
America/Detroit SET
Host name

moode
SET
Length 3-63 chars, A-Z, a-z, 0-9, and hyphen (-) are allowed.
Browser title

MoOde Player
SET
Audio

I2S audio device
None SET
ALSA volume (%)

100
SET
Rotary encoder
ON
OFF
SET
Crossfeed DSP
disabled SET
Services

Airplay receiver
ON
OFF

Moode Airplay
SET
Airplay metadata
ON
OFF
SET
UPnP renderer
ON
OFF

Moode UPNP
SET
DLNA server
ON
OFF

Moode DLNAx
SET
Rebuild DLNA database.
View status of database update.
External metadata
ON
OFF
SET
LCD update engine
ON
OFF

Python script
SET
Provide full path to Python script.
Auto-shuffle
ON
OFF
SET
Autoplay after start
ON
OFF
SET
Audio scrobbler
ON
OFF

root
SET


•••••••
Maintenance

Clear system logs
YES
NO
SET
Clear playback history
YES
NO
SET
Expand SD Card storage
YES
NO
SET
Max USB current 2X
ON
OFF
SET
USB (UAC2) fix
ON
OFF
SET
Debug logging
ON
OFF
SET
Peripherals

Keyboard
gb SET
Layout
English (UK) SET

Hi,

Wifi ON/OFF setting only appears on "Pi-3B 1GB" models. These have an integrated WiFi Bluetooth adapter that can't be removed. To disable WiFi on all other Pi models just pull out the WiFi dongle.

-Tim
 
Tried this while idle and while playing a track, it always worked correctly but on one occasion while idle running this cause the process to hit 100%. Also this morning I found on both Pi's the process had hit 100%.

However I have realised that I committed a schoolboy error and had not factored in that I had upgraded upmpdcli to 1.2.10 to be able to use the Tidal/Qobuz/Gmusic integration. I will reflash to base 3.1 and try again.

Hi,

Possibly upexplore is not compatible with new 1.2.10 version of upmpdcli and needs to be recompiled.

I've emailed JF Dockes on the issue and will report back.

-Tim
 
I’m really impressed with how Moode is progressing and continue to use it as a UPnP media renderer, interacting with the Linn Kazoo and BubbleDS control points.

This works exceptionally well, though if I select a radio station from Moode, the station’s artwork isn’t displayed in either control point. Similarly, many radio stations that feature on Moode broadcast the name of the radio track currently playing, and whilst this information is displayed in Moode for some reason it isn’t available via my control points. Please, can anyone advise if there’s a quick fix for these issues?
 
Hi,

Log looks ok except for "Unknown Pi-model".

What is output from these cmds? I can add the revision code to next Moode update.

1) awk '{if ($1=="Revision") print substr($3,length($3)-3)}' /proc/cpuinfo
2) cat /proc/cpuinfo

Next troubleshooting step will be to look at the shairport-sync launch command.

1) System config: turn debug logging ON
2) Audio config: turn Airplay receiver OFF then ON
3) cat /var/log/moode.log and post back just the line that looks similar to below

/usr/local/bin/shairport-sync -a "RP6 Airplay" -S soxr -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d hw:0 > /dev/null 2>&1 &

4) System config: turn debug logging OFF

-Tim
awk '{if ($1=="Revision") print substr($3,length($3)-3)}' /proc/cpuinfo
Code:
0093

cat /proc/cpuinfo
Code:
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 900093
Serial          : 00000000c2dcc035

cat /var/log/moode.log
Code:
20161207 132820 worker: Job airplaysvc
20161207 132820 worker: Airplay metadata on
20161207 132820 worker: (/usr/local/bin/shairport-sync -a "HiPi" -S soxr -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d hw:0 > /dev/null 2>&1 &)
20161207 132821 waitWorker(): Wait  (2)

Thanks for your help
J.