Moode Audio Player for Raspberry Pi

Hi, I used to have the R2 with the previous release of Moode and I liked a lot, I didn't have any problem until now, but now I bought the R3 and I downloaded the last release of Moode TR4 and I have some problem :(
The boot stop like in the photo.
Maybe I'm tired and it's just a stupid thing.
 

Attachments

  • Moode 2.6.jpg
    Moode 2.6.jpg
    889.7 KB · Views: 225
Redid, the install, to SD card, and all works well, this morning, using Putty, trying to ssh, to the Pi Zero with the Moode TR4 install, would time out ... :(

Could ssh to both my other RPi's ...

Now it works fine using the user pi, and password raspberry :)

Added, my NTFS USB stick, via the configure - MPD DB, and now it works.

I am for now a happy camper, using an ASUS Xonar U3, USB audio device, for playback. Works great.

A question - with software volume control set, volume is low, but work well, with the volume dial, but hardware volume is rather loud, the U3, does have a headphone amp built in, would this be the likely culprit?

Many thanks. :D

Hi,

There is bug in TR4 that prevents ALSA volume from being set to 0dB when changing from MPD Hardware volume control back to either Software or Disabled.

If low volume when using MPD Software volume, check System config screen and set ALSA volume (%) to 100.

-Tim
 
Hi, I used to have the R2 with the previous release of Moode and I liked a lot, I didn't have any problem until now, but now I bought the R3 and I downloaded the last release of Moode TR4 and I have some problem :(
The boot stop like in the photo.
Maybe I'm tired and it's just a stupid thing.

Hi,

Looks like it could be a bad or corrupt SD Card.

-Tim
 
Hi, I used to have the R2 with the previous release of Moode and I liked a lot, I didn't have any problem until now, but now I bought the R3 and I downloaded the last release of Moode TR4 and I have some problem :(
The boot stop like in the photo.
Maybe I'm tired and it's just a stupid thing.
Looks like a corrupted SD card image. Reformat and reflash the card, and make sure the OS you flashed it on has unmounted the SD card before you remove it.

Good luck.
 
Hi, I used to have the R2 with the previous release of Moode and I liked a lot, I didn't have any problem until now, but now I bought the R3 and I downloaded the last release of Moode TR4 and I have some problem :(
The boot stop like in the photo.
Maybe I'm tired and it's just a stupid thing.

I answer myself.
I did a stupid thing that doesn't need to explain :p :D:D:D
 
(Double post since I can't edit *grumble grumble*)

For those who want to copy my steps so far:

NOTE: instructions with a # are manual things, without a # are ssh commands
Code:
#Write Moode 2.5 to SD Card
#Access [URL="http://moode/"]http://moode[/URL]
#Add CIFS share, Set moode to use Plain Dac+, ALSA volume to 82, Timezone to Europe/London, Expand Filesystem (automated reboot)
#Via ssh run:
sudo mkdir -p /home/pi
sudo touch /home/pi/.Xauthority
sudo chmod -R 775 /home/pi
sudo apt-get update
sudo  apt-get install lightdm xorg xserver-xorg xserver-xorg-core xinit  libx11-dev libxext-dev libxi-dev x11proto-input-dev xinput evtest  autoconf iceweasel xul-ext-fullscreen unclutter 
sudo dpkg-reconfigure x11-common
#Select "anybody"
sudo raspi-config
#Select Boot to desktop with user 'Pi'
#Reboot
#run manual command: (using keyboard attached to the Pi - running from remote terminal will cause an error "no screen found")
iceweasel [url=http://moode/]diyAudio server HTTPS page[/url] --height=480 --width=800
So far, .xinitrc and local.rc commands have failed. I've yet to test a crontab @reboot command but I suspect I will have the same issue. In all instances I'm left at a command prompt... Please do note that no desktop environment is added - iceweasel runs fine without one from an xsession! I think adding a kde or gnome desktop would break Moode in a big way...

In 2.6 TR4 this now no longer works :( It seems to break the playback and iceweasel won't start up as it claims a screen cannot be found..... On the screen it's supposed to display the browser on LMAO.

I will admit I never got this working 100% as I still couldn't auto-start it. Back to the drawing board I guess :/
 
I started with the first of these. The .pls file defines two streams, as I described. I grabbed an appropriate logo icon from a third-party site but subsequently made my own from a transparent banner on the BBC site. Moode says the detected stream rate is 48kbs.

Thanks to your diligence, I now realize the first (and the third, which defines the same stream) likely is for domestic consumption (hence the trailing "uk" in the stream name, perhaps), while the second likely is for world consumption (hence the trailing "ws", perhaps, and the stream tag "BBC World Service English News"). I'm alternating between them right now. A live UK Premier League football game is being broadcast on the uk stream while a discussion of religion is being broadcast on the ws stream. Interesting.

Usually the different content is due to licensing reasons - they probably don't have the licence to broadcast football outside the UK, so you get God instead (he is everywhere, apparently!).

Previously using iPlayer, you would get a notification that 'this content is not licensed' and some chamber music until the offending program was over.
 
Gentle persons:

I think I've muttered before about the RPi designers not providing any onboard buttons and microcode to effect an orderly shutdown or reboot sequence. Well, I just stumbled across a blog entry that now has me muttering "why didn't I think of that"...

https://matthew.mceachen.us/blog/give-your-raspberry-pi-a-shutdown-switch-for-free-1397.html

I've already picked up a short USB extension cable to bring a port out to a connector on a case so unplugging a USB device (doesn't have to be a WiFi adapter, obviously) would be easy and wouldn't wear out the onboard connectors unnecessarily, and now I'm thinking I could wire up a switch to avoid even the physical unplugging.

This udev trick easily could be exploited for other purposes as well.

Why do this instead of exploiting a spare GPIO line or two? No new code or wiring required.

Regards,
Kent

Is there a reason you can't use the shutdown feature of the UI? I have just built a unit using an old vintage radio chassis and have a power switch, but I close moode down using shutdown first.

Am I missing something?
 
Is there a reason you can't use the shutdown feature of the UI? I have just built a unit using an old vintage radio chassis and have a power switch, but I close moode down using shutdown first.

Am I missing something?

PowerBlock petRockBlog Online Store Powered by Storenvy - I used one of these in another project (built an emulator machine into an old sega megadrive [genesis for you yanks] console) and it works amazingly. The downside is it takes the first set of pins which are often also used by DACs.... I'd have to look into the code to see how easy it would be to rewire and if it's at all possible to reqire. If it is I'll try and draw out a schematic, but a lot depends on how well (read: "if") there is any circuit documentation for the power block or if I can decipher the circuit board and code.

EDIT: Apparently you can wire multiple I2C devices in parallel to a Pi if you use a common ground pin... It would be interesting to test if this would work for having both a DAC and the powerblock as SDA1 I2C (pin 3), SCL1 I2C (pin 5) and PCM_CLK (pin 12) are all pins that are shared between my DAC and the power block. Potentially it may only require a driver edit for pin 12 to make it work as that might be the GPIO pin for the power switch...
 
Last edited:
PowerBlock petRockBlog Online Store Powered by Storenvy - I used one of these in another project (built an emulator machine into an old sega megadrive [genesis for you yanks] console) and it works amazingly. The downside is it takes the first set of pins which are often also used by DACs.... I'd have to look into the code to see how easy it would be to rewire and if it's at all possible to reqire. If it is I'll try and draw out a schematic, but a lot depends on how well (read: "if") there is any circuit documentation for the power block or if I can decipher the circuit board and code.

EDIT: Apparently you can wire multiple I2C devices in parallel to a Pi if you use a common ground pin... It would be interesting to test if this would work for having both a DAC and the powerblock as SDA1 I2C (pin 3), SCL1 I2C (pin 5) and PCM_CLK (pin 12) are all pins that are shared between my DAC and the power block. Potentially it may only require a driver edit for pin 12 to make it work as that might be the GPIO pin for the power switch...

Having had time to read a little more into the setup manual of the powerblock, it annoyingly uses GPIO pins 17 and 18 (that's pins 11 and 12, where 12 is our all important PCM_CLK for the DAC) for power switch and status LED. I've looked through the code of the driver and it should actually be pretty simple to remap GPIO 18 to another GPIO pin (a good one is something like GPIO 27 - pin 13 as this doesn't have a second function we need) by editing line 50 of https://github.com/petrockblog/PowerBlock/blob/master/src/powerblock/PowerSwitch.h before running the makefile. Note that you'd also need to manually wire all the pins and wouldn't be able to use it as a 'shield' attachment. In addition you'd need to have two wires going into pins 3 and 5 to share I2C. The details I read also said you needed a common ground, but I'm assuming that all the ground pins on a pi are common - if not you'd need to wire the ground of the DAC and the ground of the powerblock into a single pin as well.

Since I love the powerblock, I'll be ordering another one for future projects at the end of this month... just incase it goes out of stock like a lot of other boards I've liked! Once I've got that I'll give it a test and see what happens.
 
Is it possible to control de moode player without a home network?
Maybe with wifi direct or bleutooth? The music is on a usb stick in the Pi.

Hi,

Yes. Moode 2.6 supports WiFi Access Point (AP) mode. U can connect to it directly by first joining the network named "Moode", then "http://moode.local"

Try Moode 2.6 Test Release 4 (TR4) available under TEST CODE button at moodeaudio.org. Read the Setup guide for an explanation of AP mode and for a list of WiFi adapters that support AP mode.

Regards,
Tim
 
Setting up NAS with Moode

I new to the forum and Pi 3 world. I am not a coder or network guru by any definition just someone willing to learn. If I am going to solve the problem of connecting Moode music player with by music library it will be with the folks posting in this forum. Here is my setup:

Synology NAS
Mac book pro
Raspberry Pi 3 with Hifiberry DAC Pro
Moode Audio 2.6 TR4

Here is my Moode NAS setup screen with a typically red X and error message.

Also, attached a screen shot of the Synology NFS config

Any suggestions or ideas are greatly appreciated.
 

Attachments

  • NAS setup.png
    NAS setup.png
    87.9 KB · Views: 267
  • Screen Shot 2016-05-16 at 6.15.02 PM.png
    Screen Shot 2016-05-16 at 6.15.02 PM.png
    213.5 KB · Views: 264
  • Screen Shot NFS service screen.png
    Screen Shot NFS service screen.png
    201.7 KB · Views: 251
I new to the forum and Pi 3 world. I am not a coder or network guru by any definition just someone willing to learn. If I am going to solve the problem of connecting Moode music player with by music library it will be with the folks posting in this forum. Here is my setup:

Synology NAS
Mac book pro
Raspberry Pi 3 with Hifiberry DAC Pro
Moode Audio 2.6 TR4

Here is my Moode NAS setup screen with a typically red X and error message.

Also, attached a screen shot of the Synology NFS config

Any suggestions or ideas are greatly appreciated.

Try;"music" instead of "Volume1/music" in your moode nas config. Or "Volume 1/music". Note the space.
 
Last edited:
I new to the forum and Pi 3 world. I am not a coder or network guru by any definition just someone willing to learn. If I am going to solve the problem of connecting Moode music player with by music library it will be with the folks posting in this forum. Here is my setup:

Synology NAS
Mac book pro
Raspberry Pi 3 with Hifiberry DAC Pro
Moode Audio 2.6 TR4

Here is my Moode NAS setup screen with a typically red X and error message.

Also, attached a screen shot of the Synology NFS config

Any suggestions or ideas are greatly appreciated.

I use a couple of Synology NAS units and the below suggestions are based on my setup.

You do not seem to be using a Static IP address for the NAS - best to set that up first otherwise everytime it reboots the IP address MAY change. What router are you using?

Once you have done this then on the Synology / NFS set Client to * and tick the other two boxes.

On the RPi / Moode enter your new Static IP address and for folder enter /volume1/music.