Moode Audio Player for Raspberry Pi

Hi Tim,

I have recently acquired an Rpi2 along with a Hifiberry Dac+ pro and started experimenting with the various software options out there to see which one best fits the bill for me.
The setup is to replace my old laptop running Daphile, which in itself is a great headless player addressing 90% of what i think such a player should be. Its only problem is the fact that it does not run on SBCs...
For the past three weeks i have experimented with Runeaudio, Volumio, rPicore and lately Moode Audio version 2.5+
I can safely say that Moode is by far the best so far, a very well thought out UI, solid performance and great support for different DACs out there.
My only problem is that i cannot yet get the Library page to load my tracks, (I get "unknown" in all sections of the page) which is a great option not found in the other players.
My music collection is around 17k tracks, FLAC, WAV and MP3.
After many online searches I am guessing that this is due to the sheer size of my library.
If i understood things correctly, you are working on an update addressing this issue for the next test code release, and was wondering if there was something i could do in the meantime to get it to work while waiting for the update.

I am still amazed that Moode Player is not the most commonly used option out there.

Thanks for the great work.

Regards,

Nick
 
Hi Tim,

I have recently acquired an Rpi2 along with a Hifiberry Dac+ pro and started experimenting with the various software options out there to see which one best fits the bill for me.
The setup is to replace my old laptop running Daphile, which in itself is a great headless player addressing 90% of what i think such a player should be. Its only problem is the fact that it does not run on SBCs...
For the past three weeks i have experimented with Runeaudio, Volumio, rPicore and lately Moode Audio version 2.5+
I can safely say that Moode is by far the best so far, a very well thought out UI, solid performance and great support for different DACs out there.
My only problem is that i cannot yet get the Library page to load my tracks, (I get "unknown" in all sections of the page) which is a great option not found in the other players.
My music collection is around 17k tracks, FLAC, WAV and MP3.
After many online searches I am guessing that this is due to the sheer size of my library.
If i understood things correctly, you are working on an update addressing this issue for the next test code release, and was wondering if there was something i could do in the meantime to get it to work while waiting for the update.

I am still amazed that Moode Player is not the most commonly used option out there.

Thanks for the great work.

Regards,

Nick

Hi Nick,

Test release 2 (TR2) will include a new Caching Library Loader with enhancements for loading large collections.

Interestingly, my test collection is around 20K tracks of mixed audio formats and loads fine so its not necessarily collection size that causes the Lib loader to die, rather it appears to be a combination of factors.

TR2 should be ready sometime next week. I'm working on some really nice mods the Library panel and need to finish testing them :)

Btw optimum config for DAC+Pro:

- MPD config: Volume control = "Hardware"
- Customize: Logarithmic curve = "Yes", Maximum volume % = 81

Regards,
Tim
 
Last edited:
I've had a strange issue with 2.5, that I didn't have with 2.4, and Im curious if anyone else is experiencing this. After an uncertain amount of time, occasionally, I loose the ability to connect to moode.local. Whatever browser I'm using tries to connect, but just hangs forever. I am able to ssh into the Moode terminal just fine and can restart the pi through there. After the restart I can quickly connects to moode.local again. I am using an airport express and an Ethernet cable to connect the pi to my network (5Ghz). Unplugging power from the express and reconnecting it also kicks moode.local back into gear. I have no problems with streaming or using airplay in Moode (even when i cant connect), just the occasional loss of connection from a browser. Maybe its my network, but I find it strange that I can still connect ssh and streaming doesn't cut out. Otherwise I am really happy with Moode.
Thanks again Tim!
 
I too have noticed that moode.local sometimes hangs, knowing that everything else in the network works well.
My rpi2 is connected through ethernet to the router and moode.local hangs be it from my laptop, phone or tablet...
This issue has happenned a couple of times so far and required a power reset (unplug rpi2 power cable and replug) to resolve the issue.
 
I too have noticed that moode.local sometimes hangs, knowing that everything else in the network works well.
My rpi2 is connected through ethernet to the router and moode.local hangs be it from my laptop, phone or tablet...
This issue has happenned a couple of times so far and required a power reset (unplug rpi2 power cable and replug) to resolve the issue.

I experienced it also, on same situations.
random hangs (2 or 3), even if, it did not appear since 3 days now.
 
Thanks Tim for the reply!

My library is on a PC server , as you can see:

//192.168.1.66/MUSIC High Quality 2930134012 1929069908 1001064104 66% /mnt/NAS/MUSIC High Quality

//192.168.1.66/Music 2930134012 1929069908 1001064104 66% /mnt/NAS/My music

and raspberry connection to the server is via Wifi.

The reading of the library takes hours and doesn't ever finish. After some hours there is no sound and a reboot solves(!) the problem without updating the library.

Any hints or ideas are welcome.

BR,

Bod D.


I left it running overnight running and it finished OK.

I thougt that it might be the SD card (almost noname....) and I run the
following tests on SD and on USB (/dev/sda1). I found the commands after some search on the net.

wzoiPQAATUSkBwCgyfY78kwiPQAAjUWkBwCgyYj0AAA02P8H76Yyf9PqKr4AAAAASUVORK5CYII=


Since I dont have more SDs to test, can you tell me if the SD speed might causing the overnight duration for the update of the library?

BR,

Bob D.
 
I left it running overnight running and it finished OK.

I thougt that it might be the SD card (almost noname....) and I run the
following tests on SD and on USB (/dev/sda1). I found the commands after some search on the net.

Since I dont have more SDs to test, can you tell me if the SD speed might causing the overnight duration for the update of the library?

BR,

Bob D.

Hi Bob,

Very odd, the extremely slow MPD DB update. How many tracks in your collection?

To troubleshoot, try copying a few GB of files to a USB stick and then test with just the USB stick. If DB update runs fast then you can probably rule out SD card.

Regards,
Tim
 
Hi,

Here are some screen shots of the new Library panel menu that is displayed after clicking on cover art.

The menu items Add, Play, and Clear/Play apply to whole Genre, Artist or Album, or the entire collection. The track count is highlighted when the menu is displayed as a cue.

I've also used a tint of Flat UI "Wet Asphalt" color to lighten the artist name so it stands out a bit more from the background.

Regards,
Tim
 

Attachments

  • moode-r25-lib-menu1.png
    moode-r25-lib-menu1.png
    317.7 KB · Views: 124
  • moode-r25-lib-menu2.png
    moode-r25-lib-menu2.png
    299.4 KB · Views: 122
  • moode-r25-lib-menu3.png
    moode-r25-lib-menu3.png
    442.3 KB · Views: 167
I've had a strange issue with 2.5, that I didn't have with 2.4, and Im curious if anyone else is experiencing this. After an uncertain amount of time, occasionally, I loose the ability to connect to moode.local. Whatever browser I'm using tries to connect, but just hangs forever. I am able to ssh into the Moode terminal just fine and can restart the pi through there. After the restart I can quickly connects to moode.local again. I am using an airport express and an Ethernet cable to connect the pi to my network (5Ghz). Unplugging power from the express and reconnecting it also kicks moode.local back into gear. I have no problems with streaming or using airplay in Moode (even when i cant connect), just the occasional loss of connection from a browser. Maybe its my network, but I find it strange that I can still connect ssh and streaming doesn't cut out. Otherwise I am really happy with Moode.
Thanks again Tim!

Me too. Only seems to have manifested itself over the last few days. I thought it was because I'd added an access point (5GHz) to my network, but several others seem to be having the same problem.

The 802.11ac 5GHz access point connects my PC to the network, but the main router is 802.11n on which the Moode Pi is connected.
 
Me too. Only seems to have manifested itself over the last few days. I thought it was because I'd added an access point (5GHz) to my network, but several others seem to be having the same problem.

The 802.11ac 5GHz access point connects my PC to the network, but the main router is 802.11n on which the Moode Pi is connected.

I'm not sure at all, but I thing it has something to do with network quality. When I experienced thoses problems, I had a randomly faulty ethernet cable, and also it appeared several times when I was accessing the player through a vpn to my home network.
 
Hi Bob,

Very odd, the extremely slow MPD DB update. How many tracks in your collection?

To troubleshoot, try copying a few GB of files to a USB stick and then test with just the USB stick. If DB update runs fast then you can probably rule out SD card.

Regards,
Tim

Hi Tim,

When I connect via USB the update is fast (2mins max ) (USB with 1500 songs)

The lirbary is stored on a Windows 7 PC and is appox. 20K songs.

The following steps have been perfromed in order to see if there is
something that could improve the situation:
- Removed wifi adapter and reconnected only via wired Ethernet.
- Changed SD tο Samsung EVO Plus 32G and installed the TR1

The Firefox from the PC the music the is stored, is used for access to the Moode page.

Things are a bit faster now but the update is stuck to 7400 songs without progress. I checked the processes (using top command) and
I found mpd running at 100%.

One last note from my side. When the update to the database occurs, I play music from a file or a radio station and I browse in the file structure.

Any help is welcome.

BR,


Bod D.
 
Hi Tim,

When I connect via USB the update is fast (2mins max ) (USB with 1500 songs)

The lirbary is stored on a Windows 7 PC and is appox. 20K songs.

The following steps have been perfromed in order to see if there is
something that could improve the situation:
- Removed wifi adapter and reconnected only via wired Ethernet.
- Changed SD tο Samsung EVO Plus 32G and installed the TR1

The Firefox from the PC the music the is stored, is used for access to the Moode page.

Things are a bit faster now but the update is stuck to 7400 songs without progress. I checked the processes (using top command) and
I found mpd running at 100%.

One last note from my side. When the update to the database occurs, I play music from a file or a radio station and I browse in the file structure.

Any help is welcome.

BR,

Bod D.

Hi Bob,

(1) What audio format(s) in your collection?

(2) Run a 2 min ping test from Pi to your Win7 box and then examine the ping stats to see if the avg round trip times are reasonable, and whether there is any packet loss.

Regards,
Tim
 
Somnolent Pi ?

PiB running Moode with ncmpcpp local display from Hdmi to Dvi.

I have hdmi_drive=1 in bootconfig.txt to get output to the monitor but the monitor sleeps after 10 minutes or so.

This appears to be a function of the Pi not the monitor as I can switch the monitor off and then on again but there is still no output until a (any) key is pressed on the keyboard.

I have tried altering the OSD timeout on the monitor with no effect.

Is there a Moode config file for the Hdmi output that has a timeout value I could alter...? (preferably to not turn off ever.)
 
PiB running Moode with ncmpcpp local display from Hdmi to Dvi.

I have hdmi_drive=1 in bootconfig.txt to get output to the monitor but the monitor sleeps after 10 minutes or so.

This appears to be a function of the Pi not the monitor as I can switch the monitor off and then on again but there is still no output until a (any) key is pressed on the keyboard.

I have tried altering the OSD timeout on the monitor with no effect.

Is there a Moode config file for the Hdmi output that has a timeout value I could alter...? (preferably to not turn off ever.)

Hi Bob,

No config file in Moode for HDMI other than whats in /boot/config.txt

Regards,
Tim
 
Found and fixed.. as ncmpcpp is ncurses and the monitor is showing terminal output then editing /etc/kbd/config and changing the blanking timeout from 30 to 0 works.

Code:
nano /etc/kbd/config

and change BLANK_TIME=30 to BLANK_TIME=0

ensures the screen never blanks.

Now I can turn my monitor off until needed and always have output when it is switched on. (very useful to check currently playing track)


fix found here....https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=43932
 
Last edited:
Things are a bit faster now but the update is stuck to 7400 songs without progress. I checked the processes (using top command) and
I found mpd running at 100%.
Maybe I can help on this one: I had the same problem until I discovered that I had corrupted audio files in my collection. It appear that each time the index process find a corrupted file, it hangs like this.
-If the index is stuck in the middle (7400 songs), then have a look in the 'browse section, to see if it hangs always in th same directory, then try to exclude it (moove the suspected album elsewhere) and restart the index.
-You can also check your entire collection with the tool trackerr.exe (windows) that was able to find all the corrupted files for me .
The Portable Freeware Collection - TrackErr
 
The usual Hifiberry DAC+ volume issue

Hi Tim,

I know, you're busy with 2.5-3 rework, but maybe you can help me.

Hifiberry DAC+ (on RPi2) - OK, I know: volume to HW, max. to 81, MPD to logarithmic, but unfortunately I can go beyond 81 with remote MPD client and airplay.

I can live with volume control disabled but I need it while controlling though airplay.

Shairport-sync cannot eat config file (with the option volume_range_db) with which I could handle airplay over-the-top distortion.

Could you tell me how can I set an absolute HW volume maximum? Configfile or boot option?
With Runeaudio I haven't got this issue. Or the alsa-stuff and volume handling changed from kernelV3 that causes this?

Thanks

PS: I tried 5 different projects (volumio and rune, too), but I can say that Moode is far the most stable, fast and usable of all of them. Thanks for your work, keep on!