Moode Audio Player for Raspberry Pi

Hey all. I used HeeBoo's script to install 4.0 Beta 12. So far so good - going to moode.local works, I can stream music, SSH, etc.

The issue I'm having right now is with the display and getting Local UI to work. When the Pi boots up, it displays the usual startup stuff, says the Authorization Manager is enabled, and then the display output basically turns off. The display options in /boot/config.txt are correct, especially since I get that initial startup load screen.

localui.service is running:

$ systemctl status localui.service
● localui.service - Start Chromium Browser
Loaded: loaded (/lib/systemd/system/localui.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-01-27 16:44:23 EST; 13min ago
Main PID: 468 (xinit)
CGroup: /system.slice/localui.service
├─468 /usr/bin/xinit
└─469 /usr/lib/xorg/Xorg :0

Any ideas why the display turns off?

Hi,

What model display?

-Tim
 
Hey all. I used HeeBoo's script to install 4.0 Beta 12. So far so good - going to moode.local works, I can stream music, SSH, etc.

The issue I'm having right now is with the display and getting Local UI to work. When the Pi boots up, it displays the usual startup stuff, says the Authorization Manager is enabled, and then the display output basically turns off. The display options in /boot/config.txt are correct, especially since I get that initial startup load screen.

localui.service is running:

$ systemctl status localui.service
● localui.service - Start Chromium Browser
Loaded: loaded (/lib/systemd/system/localui.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-01-27 16:44:23 EST; 13min ago
Main PID: 468 (xinit)
CGroup: /system.slice/localui.service
├─468 /usr/bin/xinit
└─469 /usr/lib/xorg/Xorg :0

Any ideas why the display turns off?

Moode was designed as a web-based, headless player. You need to have hdmi port turned on, plus the display options turned on in system control panel:
 

Attachments

  • 0DD81390-25E9-4F04-ABC5-B84E276E1442.png
    0DD81390-25E9-4F04-ABC5-B84E276E1442.png
    380.4 KB · Views: 1,035
I was just looking at the touch screen displays on Amazon.

So any HDMI display will work? Are there any wiring from display to Pi required for the touch screen?

You can use both HDMI Display and still use web browser?

What display resolution is required to have the full view of the Moode GUI?
Is 800x480 enough for HDMI display?

Reason I ask is I tried an 8” android tablet, using the web browser, I cannot get full view
and have to scroll so I ditched that idea.
 
Last edited:
Hi @gchucky,

I test with Pi-3B and ASUS 24" HDMI monitor and no issues. I don't add anything to config.txt

-Tim

Moode was designed as a web-based, headless player. You need to have hdmi port turned on, plus the display options turned on in system control panel:

And all of that is configured. Again, here's what happens on boot:

* Visible on screen: standard Raspbian setup scroll data
* After initial setup, the screen blanks, and Moode Audio starts running (confirmed via SSH)

If I'm SSH'd in and do sudo reboot, the screen turns back on and shows the shutdown steps (e.g. Chrome shutdown). I added consoleblank=0 to /boot/cmdline.txt and raised config_hdmi_boost to 10, but that didn't do much. So it's really only when Moode is actually running that the screen is blank. Which is totally fine - but that means that the Local UI isn't working for me. Attached is a screenshot of the config. Am I missing something?
 

Attachments

  • moode-local-ui.PNG
    moode-local-ui.PNG
    14 KB · Views: 476
@TimCurtis, it's attached. Everything looks okay to me, but maybe not?

Hi,

Nothing suspicious in the log related to the display but looks like all the ALSA outputs are on and only one should be on. You can either toggle one of the DSP features on/off in Audio config or run cmd: mpc enable only 1 from ssh.

20180128 140245 worker: MPD output 1 ALSA default (on)
20180128 140245 worker: MPD output 2 ALSA crossfeed (on)
20180128 140245 worker: MPD output 3 ALSA parametric eq (on)
20180128 140245 worker: MPD output 4 ALSA graphic eq (on)


If your display just turns off then possibly any manual edits to config.txt are causing breakage or the display may not be compatible.

You can also verify that in fact HDMI port is on by cmd: tvservice -s

-Tim
 
I was just looking at the touch screen displays on Amazon.

So any HDMI display will work? Are there any wiring from display to Pi required for the touch screen?

You can use both HDMI Display and still use web browser?

What display resolution is required to have the full view of the Moode GUI?
Is 800x480 enough for HDMI display?

Reason I ask is I tried an 8” android tablet, using the web browser, I cannot get full view
and have to scroll so I ditched that idea.

You have to follow the component guide in order to display the local Chrome Browser on HDMI output.
////////////////////////////////////////////////////////////////
//
// COMPONENT 8 - Local UI display
//
////////////////////////////////////////////////////////////////
 
I was just looking at the touch screen displays on Amazon.

So any HDMI display will work? Are there any wiring from display to Pi required for the touch screen?

You can use both HDMI Display and still use web browser?

What display resolution is required to have the full view of the Moode GUI?
Is 800x480 enough for HDMI display?

Reason I ask is I tried an 8” android tablet, using the web browser, I cannot get full view
and have to scroll so I ditched that idea.

Raspberry Pi Display - raspberry pi wiki
 
I was just looking at the touch screen displays on Amazon.

So any HDMI display will work? Are there any wiring from display to Pi required for the touch screen?

You can use both HDMI Display and still use web browser?

What display resolution is required to have the full view of the Moode GUI?
Is 800x480 enough for HDMI display?

Reason I ask is I tried an 8” android tablet, using the web browser, I cannot get full view
and have to scroll so I ditched that idea.
The Pi touchscreen's 800x480 resolution wouldn't ordinarily fit everything but with a zoom factor of .75 everything on the playback panel more or less fits on one page.

If there's a popular tablet screen size that's not working well report it here or to Tim and something can probably be figured out similar to the Pi touchscreen.
 
@Tim

I am unable to fix my issues with Bluetooth and airplay... it’s driving me nuts...

Todya I have bought a wifi dongle by - TP Link and a Bluetooth dongle by - Enter.

Also the Pi is powered from my Just Boom Amp hat which is having a separate regulator of 3 amps for pi. And I am using a laptop brick from asus rated at 19volts and 5amps.

So one thing that I noticed in these days is that if phone goes to standby then airplay stops within 12 minutes or so and I don’t see it in the option on the phone when I change songs etc after returning from standby. But if I am preventing it from going to standby this works longer...

Also Bluetooth is really funny coz when I power down the Pi from supply side and then power back on. I can’t leave anything permanently on if I am not using it.
then I have a random re pair and I have to do it manually. Which is really annoying.

Now if I use external modules I guess I have to switch off the internal wifi and Bluetooth from system setup. Right?
 
Last edited:
Hi,
I have a tidal hifi-account. Maitenant, I stream from the ipad to my moody rpi, naturally this goes over wifi. It's ok for casual listening while cleaning the room etc., but feel it could be better for serious listening. Is there an tidal add-on of some sort for moode or for debian stretch-lite *that works*? (Came across some that don't).

Rüdiger
 
Hi,
I have a tidal hifi-account. Maitenant, I stream from the ipad to my moody rpi, naturally this goes over wifi. It's ok for casual listening while cleaning the room etc., but feel it could be better for serious listening. Is there an tidal add-on of some sort for moode or for debian stretch-lite *that works*? (Came across some that don't).

Rüdiger

Hi, Rüdiger.

Yes, at least in the beta releases of moOde r40 (I no longer have any previous versions running that I can check)

1) go to "Configure/Audio" and in the Renderers section go to "configure UPnP" to enter your Tidal Music Service account credentials, and then back in "Configure/Audio" in the Renderers section turn on the UPnP Renderer.

2) on another device, run a UPnP Control Point app to discover and access your moOde UPnP Renderer. I use BubbleUPnP on my Android devices. Tidal shows up as a folder in the app's library (as does Google Music Play if I've enabled it too).

Step 2 is needed because the moOde GUI does not contain UPnP Control Point capability.


Regards,
Kent
 
Hi,

moOde release 4.0 is available at moodeaudio.org. The download includes moOde 4.0 Sources and a Build Recipe for making the custom Linux OS that runs moOde. An automated OS Image Builder is available in the Support section.

Enjoy all the great new features and innovations in moOde including the wonderful new Adaptive User Interface, Bluetooth Audio and a new OS Image Builder with resume capability. This release is based on the latest Raspbian Stretch Lite OS, PHP7 Web Stack, MPD, Airplay, Squeezelite and UPnP audio renderers and the rock solid mainline Linux kernel.

Refer to the release notes below for details.

-Tim


#################################################
//
// 4.0 Release 2018-01-26
//
#################################################

New features

- NEW: Modern Adaptive User Interface
- NEW: Bluetooth audio with speaker sharing and connect
- NEW: Parametric EQ with curve editor and preview play
- NEW: Graphic equalizer curve editor and preview play
- NEW: Audio input and output routing
- NEW: Local display with screen blank, rotate and brightness
- NEW: Tidal, Qobuz and Google Play via UPnP
- NEW: Discover and connect to other moOde players
- NEW: Automatic scheduled maintenance
- NEW: Web SSH terminal server
- NEW: Automatic Samba USB disk label shares
- NEW: Automatic AP mode failover if SSID fails
- NEW: OEM integration resources
- NEW: Moode OS Image Builder with resume capability

Platform (for details refer to Build Recipe)

- NEW: Raspbian Stretch Lite 2017-11-29
- NEW: PHP 7.0.19
- NEW: NGINX 1.10.3
- NEW: SQLite3 3.16.2
- NEW: MPD 0.20.12
- NEW: Shairport-sync 3.1.7
- NEW: Upmpdcli 1.2.15
- NEW: Squeezelite 1.8.7-1020
- NEW: miniDLNA 1.1.6
- NEW: ALSA 1.1.3
- NEW: SoX 0.1.2

Updates

- UPD: Add latency offset setting to Airplay config
- UPD: Add squeezelite name to auto-config
- UPD Add configurable params to Rotary Encoder
- UPD: Change MPD default to Zeroconf off
- UPD: Improve network scan 2x run
- UPD: Improve robustness of SleepTimer / ClockRadio
- UPD: Use restart.sh for SleepTimer / ClockRadio
- UPD: Improve UI auto-reconnect to handle non-existing domain landing service (BHN DNS error)
- UPD: Add DSD bitstream information to Audio info
- UPD: Move several scripts to writable dir /var/local/www/commandw
- UPD: Convert to wpa_supplicant for wlan0 config
- UPD: Use -l lazy unmount for smb/cifs
- UPD: Set wide_links=yes in minidlna.conf
- UPD: Add checkcontentformat to upmpdcli.conf and to upnop config
- UPD: Remove example static ip address sections from /etc/dhcpcd.conf
- UPD: Remove tuning params section from smb.conf
- UPD: Correct a param in memcached.conf
- UPD: Use streamlined upmpdcli.conf file
- UPD: Use avprobe instead of mediainfo
- UPD: Redesigned NAS config screen
- UPD: Improve method used to edit cmdline.txt for uac2fix
- UPD: Hide passwords in UPnP config
- UPD: Rename /var/local/www/templates to /var/local/www/templatesw
- UPD: Add try/catch block to engineSps() to ensure valid JSON
- UPD: Use host ip address for DLNA server status page link
- UPD: Convert to Stretch dhcpcd network management
- UPD: Improve robustness of MPD socket connect routine
- UPD: Library loader will use Artist if Album Artist tag is missing
- UPD: Separate on/off controls for integrated Wifi/Bluetooth adapter
- UPD: Add some padding to Playhistory line
- UPD: Improved volume mgt for USB audio device hot-plug
- UPD: Improved startup sequencing
- UPD: Cleanup bit depth display on Playback panel and Audio info
- UPD: Use new DoP setting in mpd.conf
- UPD: Add PHP/MPD socket timeout setting to System config
- UPD: Improved error reporting for failed NAS mount
- UPD: Auto-init Bluetooth controller at first start
- UPD: Change default rsize to 61440 from 1048576
- UPD: Support tiff format for cover art
- UPD: Configurable priority for cover art search
- UPD: Chg default music service qual settings to low
- UPD: Improve eficiency of auto font sizing in JQuery countdown
- UPD: Improve System config screen ease of use
- UPD: Add comment param to samba USB share block
- UPD: Remove amixer code from vol routines
- UPD: Add bounds checking to jquery knob
- UPD: Use a single binary for squeezelite
- UPD: Use volume slider and readonly knob for Pi Touch

Audio devices

- NEW: Pi2Design 502DAC (i2s)
- NEW: Pi2Design 502DAC PRO (i2s)
- NEW: Soekris DAC1101 (USB powered)
- NEW: Soekris DAC1321 (w/o Headphone amp)
- NEW: Soekris DAC1421 (Standard outputs)
- NEW: Soekris DAC1541 (Balanced outputs)

Radio stations

- NEW: A.M. Ambient
- NEW: OrganLive.com (320K U.S.)
- NEW: OrganLive.com (320K Europe)
- NEW: Soma FM - Live
- NEW: SwissGroove
- NEW: VRT - Klara
- NEW: VRT - Klara Continuo
- NEW: VRT - MNM
- NEW: VRT - MNM Hits
- NEW: VRT - Radio 1
- NEW: VRT - Radio 2
- NEW: VRT - Sporza
- NEW: VRT - Studio Brussel
- UPD: Ambient Sleeping Pill 256K stream
- UPD: Converted to Soma FM AAC-LC 128K streams
- UPD: Correct sp error in VRT - Sporza file name
- UPD: JB Radio2 stream links
- UPD: Radio Pardise to 320K AAC stream link
- UPD: WDR-1LIVE stream link
- DEL: Soma FM - Earwaves
- DEL: Soma FM - The Silent Channel

Developer tools

- NEW: python-requests package
- NEW: python-pip package
- NEW: Upmpdcli utilities

Bug fixes

- FIX: PHP5/Stretch boot fail on armv6, migration to PHP7 reqd
- FIX: Wlan0 not starting on armv6 due to not using wpa_supplicant config
- FIX: Bad logic in readMpdResponse socket handling routine
- FIX: Mount flags showing as default flags even after being altered
- FIX: UPnP friendly name not changing
- FIX: UPnP ON but not starting during moOde startup
- FIX: Reboot/poweroff UI auto-reconnect logic not working correctly
- FIX: Shairport-sync metadata cache not initialized
- FIX: Engine-sps using split() function which is deprecated in PHP7
- FIX: Time zone not being set correctly in some cases
- FIX: Dhcpcd noarp param causing Pi-Zero wlan0 not reachable condition
- FIX: Logic used to determine if a NAS mount exists
- FIX: Mediainfo not always able to read remote files (repl w/avprobe)
- FIX: UPnP restart not working
- FIX: Logic in playerlib.js auto-reconnect
- FIX: System info MPD section not displaying correct values
- FIX: CORS error from engine-mpd.php, engine-sps.php
- FIX: Countdown timer text corruption with Safari 11
- FIX: Several issues in panel CSS and HTML
- FIX: Udisks-glue Add/Remove smb share block not working correctly
- FIX: EncodedAt using wrong param for bit-depth
- FIX: Network adapter config logic in worker.php
- FIX: Playback history screen not launching
- FIX: Log message syntax error in socket routine
- FIX: Auto-play sometimes failing to play last played item
- FIX: Permissions bug
- FIX: Workaround for MPD not capturing BBC 320K bitrate
- FIX: Sources screen hangs in certain scenarios
- FIX: Roaming between AP mode and WiFi SSID
- FIX: Cover art not displayed when same Title different Artist
- FIX: SSID Scan not returning anything in certain scenario
- FIX: Typo in moode.css
- FIX: Keyboard layout setting broken
- FIX: Resizefs echo statement with embedded newline
- FIX: Wrong I2S driver configured for Pi2Design 502DAC PRO
- FIX: Cover art files not being displayed
- FIX: Cover art symlink broken when squashfs
- FIX: CIFS umount not using -l arg
- FIX: Sys-config $_get should be $_post
- FIX: Typo in some text on UPnP config screen
- FIX: Bad var index for crossfeed in System info script
- FIX: Bluetooth pairings not persisting after poweroff
- FIX: Logic in coverart search priority
- FIX: Duration not working for notification messages from modals
- FIX: Input in knob canvas region not being blocked
- FIX: Single/double quotes in passwords causing sql hang
 

Attachments

  • moode-r400.jpg
    moode-r400.jpg
    33.4 KB · Views: 615