Moode Audio Player for Raspberry Pi

Hi, Tim.

Great news about the script.

[edit] Do you mean the MPD package from the Raspbian repo? Does it implement the options you compile with? I was wondering about that while I was looking at DietPi.

USB3.0 would be great but all my "big iron" is aging in place and has only the slower USB2.0 ports. These days I work primarily from a laptop with an SD slot which shows up in Linux as /dev/mmcblk0. I have enough uSD-SD adapters to choke a horse. Read/write speeds are decent enough I haven't bothered to benchmark.

Regards,
Kent

PS - I believe changes to DietPi Stretch being implemented by @FourDee will solve the WiFi problem. You'll recognize it when you see it. Turns out my hack was managing the symptom rather than the disease.

Hi Kent,

USB 3.0 devices are backward compatible with 2.0, at least the one I have is 🙂

It would be the custom compiled version of MPD. A binary can be shipped as long as the corresponding Sources and makefile used to generate the exact binary are made available.

-Tim
 
Hi Kent,

USB 3.0 devices are backward compatible with 2.0, at least the one I have is 🙂

It would be the custom compiled version of MPD. A binary can be shipped as long as the corresponding Sources and makefile used to generate the exact binary are made available.

-Tim

Hi, Tim.

It was the speed advantage and not the compatibility I was addressing. Implicit in my response, of course, is that @koda59 inspired me to create a little spaghetti-code script on my laptop which starts with an existing copy of Raspbian Lite if it's present or downloads a fresh copy of Raspbian Lite, adjusts it, saves it with an amended file name, and, optionally, writes it to a uSD card (I tend to use etcher for that instead). After doing this once, I can pop off as many uSD cards as I want to test with. The minimalist uSD-to-USB2.0 adapter I picked up somewhere along the way seems to work with RPis.

Have I mentioned how much I enjoy discovering the little enhancements which keep showing up in moOde like Easter Eggs? Case in point, the links at the bottom of the Configure popup which allow me to go directly to MPD Conf, etc. So subtle I'm not sure when I noticed them, but so useful. Well done!

Regards,
Kent
 
NTP missing?

I build MoOde 4 beta 10, everything went smoothly. I'm so glad about the LocalUI, I'm using MoOde with my local display 🙂

Minor issue: the system does not have NTP? I installed it manually. Was it left out on purpose, or did I miss a step of the recipe? But there's no point in defining the timezone if it's not for NTP, no?
 
I build MoOde 4 beta 10, everything went smoothly. I'm so glad about the LocalUI, I'm using MoOde with my local display 🙂

Minor issue: the system does not have NTP? I installed it manually. Was it left out on purpose, or did I miss a step of the recipe? But there's no point in defining the timezone if it's not for NTP, no?

Hi,

Nice to hear that 🙂

Not needed.

Code:
pi@moode:~ $ grep timesyncd /var/log/syslog
Nov 26 07:32:26 moode systemd-timesyncd[295]: Synchronized to time server 198.206.133.14:123 (2.debian.pool.ntp.org).
Nov 26 08:16:57 moode systemd-timesyncd[318]: Synchronized to time server 162.210.111.4:123 (2.debian.pool.ntp.org).
Nov 26 16:16:09 moode systemd-timesyncd[318]: Timed out waiting for reply from 162.210.111.4:123 (2.debian.pool.ntp.org).
Nov 26 16:16:09 moode systemd-timesyncd[318]: Synchronized to time server 63.211.239.58:123 (2.debian.pool.ntp.org).
Nov 29 16:42:33 moode systemd-timesyncd[306]: Synchronized to time server 129.250.35.251:123 (2.debian.pool.ntp.org).
 
Also done building beta 10 and testing with my RPi 7 inch touch display.
Just a few comments/observations.

I have a a lot of files with 2 byte meta text so will need to add fonts like Japanese.

Search for fonts
sudo apt-cache search font japanese

Install fonts
sudo apt-get install fonts-ipafont fonts-ipaexfont

I have an Allo Boss DAC which has pass through GPIO for 5v and GRND so went ahead and slapped that on the RPi and connected the GPIO pins 1 or 2 for 5v and 15 or 16 for GND to the LCD display.

If you are using the Raspberry Pi 7 inch display, you may want to invert the display orientation so that the side I/O (power, I2S DAC RCA output etc.) are on the top.
Just added the following line in to /boot/config.txt
lcd_rotate=2

After a reboot I am back in business 🙂
 
Hi,

Nice to hear that 🙂

Not needed.

Code:
pi@moode:~ $ grep timesyncd /var/log/syslog
Nov 26 07:32:26 moode systemd-timesyncd[295]: Synchronized to time server 198.206.133.14:123 (2.debian.pool.ntp.org).
Nov 26 08:16:57 moode systemd-timesyncd[318]: Synchronized to time server 162.210.111.4:123 (2.debian.pool.ntp.org).
Nov 26 16:16:09 moode systemd-timesyncd[318]: Timed out waiting for reply from 162.210.111.4:123 (2.debian.pool.ntp.org).
Nov 26 16:16:09 moode systemd-timesyncd[318]: Synchronized to time server 63.211.239.58:123 (2.debian.pool.ntp.org).
Nov 29 16:42:33 moode systemd-timesyncd[306]: Synchronized to time server 129.250.35.251:123 (2.debian.pool.ntp.org).

Great, I removed the ntp I had installed and I got it running with timesyncd now, I have to use a specific NTP server in the network where I'm connected.

Thanks! 😱)
 
It rotates the the screen 180 degrees from the default orientation.

That depends on the stand you are using. At first I bought the official one, and was surprised to see the image upside down.

While the orientation is easily fixed with that little configuration, I found a bigger problem: the screen has a narrow viewing angle on the vertical plane, and is designed to be looked at directly or from above. Because it is mounted upside down, you are looking at it from below, and the viewing quality is not great...

I ended up buying a different case (SmartiPi), where the screen is mounted correctly, I don’t need that parameter and, most importantly, the image is much better.
 
Beta 10 running fine as an update from 9. I've noticed one problem, although I've changed the UPNP name to Moode Lounge UPNP in Audio Config it still displays as Moode UPNP on my network. DLNA displays changed name. Is this an issue or an error on my part?
Ian
 
Last edited:
I'm not having any issues so you will need to provide steps for me to repro.
I have this on random albums but couldn't see an immediate difference between those it works for or not. There was a minor change in coverart.php but reverting to the b9 version doesn't fix it and I haven't looked any further yet. One possibly interesting thing is it doesn't fall back to an included cover.jpg file if it has the problem with embedded art (I have cover.jpg in all my folders due to using another program to control moode previous to the 4.0 beta).

I have an album where the only thing that changed was the first song's cover art because I was upgrading it and got distracted so forgot to do the rest but fortune favors the lazy in this case as the changed one doesn't work while the others do so I'll pack up a few of the files for you to poke at too and email it later if it's still a mystery tonight.
 
I have this on random albums but couldn't see an immediate difference between those it works for or not. There was a minor change in coverart.php but reverting to the b9 version doesn't fix it and I haven't looked any further yet. One possibly interesting thing is it doesn't fall back to an included cover.jpg file if it has the problem with embedded art (I have cover.jpg in all my folders due to using another program to control moode previous to the 4.0 beta).

I have an album where the only thing that changed was the first song's cover art because I was upgrading it and got distracted so forgot to do the rest but fortune favors the lazy in this case as the changed one doesn't work while the others do so I'll pack up a few of the files for you to poke at too and email it later if it's still a mystery tonight.

Tim, et al.

I was skeptical about this at first because I have been enjoying my music with coverart displayed. However, all my existing music has artwork embedded in each track as well as an image file in the directory.

I created a test directory on a USB Thumbdrive containing mp3 files which I know have no embedded artwork plus 4 image files CoverArt.jpg, CoverArt.jpeg, JaTGP.jpg and JaTGP.jpeg (these latter for "James and the Giant Peach"). As I read coverart.php, all these are legitimate artwork. Like the others have reported, I get all the tracks listed in the TRACKS column in the library panel with "No cover art found" displayed at the bottom.

I'm uncommenting some of the diagnostic messages in coverart.php to see if I can capture useful info.

Regards,
Kent

added in edit: Oh, yeah, also Cover.jpg/.jpeg and Folder.jpg/.jpeg
 
Last edited:
@Alabama978

Looking on from the sidelines, here's what I see as the two likely scenarios for moOde 4.0.

1) We get an automated script, rooted in Koda59's reworking of Tim's recipe and enhanced by Tim, which, like the current recipe, starts with downloading a virgin Raspbian Stretch Lite image and ends with a bootable moOde Player. This process will take some time as various packages are downloaded, processed, and reboots occur, but unlike the current process there will be little manual input required and (I hope!) more error checking done.

2) We get a customized version of DietPi's existing configuration script which, when copied to a virgin DietPi Stretch image before first boot, accomplishes essentially the same as above, ending with a bootable DietPi/moOde Player. Since DietPi Stretch is even more cut down than Raspbian Stretch Lite, this process will likely take even longer because more packages have to be downloaded/installed and various reboots occur. Again, unlike the current process, there will be little manual input required.

Neither scenario requires as much expertise and patience on the part of the user as our current circumstance does, but neither scenario is as lickety-split quick as downloading an image and booting into moOde.

Regards,
Kent

PS - burned to a crisp? Nah. 😀

Sounds promisng Kent. I'm not averse to doing some work to install if there is no image file in the end, just need it to be a bit simpler for my limited linux skills 😉
 
Local Display Aspect Ratio

I want to use a 9" display that I have had for some time. I believe that the native resolution of the display is 1024 x 600. The drive card that it uses is supposed to support up to 1920 x 1080.

Having said that, I just build Moode Beta 10 from scratch. I hooked the display up to the HDMI port on the RPi and configured it with Moode. I was also able to set the page zoom in Chrome to 75". Everything displays on the local display, except the cover art of course.

The issue I have is that the circles for the time and volume look more like eggs than circles. Is there somewhere that I can adjust the aspect ratio in software so that it looks a bit better on my display?