Moode Audio Player for Raspberry Pi

Hi,

moOde 4.0 BETA 11 is available :) This Beta contains the items below. The Local UI feature requires installing Component 8 from Build Recipe 2.1.

- NEW: Local UI display
- NEW: Discover/Connect to other moOde Players
- UPD: Support tiff format for cover art
- FIX: Resizefs echo statement with embedded newline
- FIX: Wrong I2S driver configured for Pi2Design 502DAC PRO
- FIX: Cover art files not being displayed

There is also an in-place update for Beta 6/7/8/9/10 -> Beta 11.

It MUST be run from cmd line AND on an un-squashed /var/www !! The browser title will revert to "moOde Player" after the update. Use System config to change it, then APPLY MPD settings to get the new DoP param.

sudo /var/www/command/updater.sh r40b11

Also, BE SURE to backup /var/www and /var/local/www directories before applying the update in case you need to revert!

-Tim
 

Attachments

  • moode-r40.png
    moode-r40.png
    169.9 KB · Views: 395
Just ran quick test and changed Airplay name on a Pi-2B and it worked ok. You can verify whether Airplay is installed and running by the two cmds below.

pi@rp3:~ $ which shairport-sync
/usr/local/bin/shairport-sync
pi@rp3:~ $ pgrep -l shairport-sync
937 shairport-sync

Thanks - not installed and not running. Now installed, but not running.
'Systemctl enable shairport-sync' didn't help either.
When running it from the command line, it does appear, named 'Moode' (and not 'Moode Airplay' as configured in Moode).
Maybe this needs a reboot - in which case I'd rather update to b11 as well :)

EDIT: will follow the build recipe.
 
Last edited:
New Stretch-Lite

RASPBIAN STRETCH LITE
Minimal image based on Debian Stretch
Version:November 2017
Release date:2017-11-29
Kernel version:4.9


Release notes:

2017-11-29:
* Added battery monitor plugin for taskbar - works on x86 images or first-generation Pi-Top
* Added cutdown mode to PCManFM file manager to reduce complexity
* Added ability to rename files in PCManFM by clicking name when selected
* Bug fix in Bluetooth ALSA module to reduce truncation of audio at end of playback
* Various small tweaks, bug fixes and theme modifications
* New kernel and firmware
 
There will be some issues like these as the Tidal/Qobuz interfaces are UPNP translations of a web api and not full web based implementations so some error messages are hard to pass back as a UPNP message to the control point.

I wrote a lot of glue code back in the day when things like CORBA and SOAP hit the software bandwagon. The UPnP crowd may have semi-standardized more of the details (at the expense of thousands of pages of documentation) but navigating across disparate information protocols is still not for the faint hearted.

I'm reminded of Samuel Johnson's reply to Boswell (about female preaching, but he could have meant protocol gluing) "..."Sir, [it] is like a dog's walking on his hind legs. It is not done well; but you are surprised to find it done at all."

However you get it, enjoy the music.

Regards,
Kent
 
The UPMPDCLI developer (and perhaps the original developers of the library) took the decision NOT to show these tracks in the search results, a decision he has said he is willing to look at. Bubble when using its integration has the ability to hide these tracks from search results as well in its setup, but as it is doing the talking to Qobuz outside UPNP protocols so can display a message about the track.

But, from the mobile Tidal app, you can click on the options and choose Share on any track/album/playlist and choose Share, then select Bubble, and it will automatically start streaming. But I wonder if those tracks are already hidden from the mobile Tidal app.

I was really hoping not to have to run a UPnP server at all - kind of like the function of the Tidal2 (unofficial) app for Kodi. The official Kodi Tidal app does not work anymore and I am wondering if this was due to licencing rights, which is why someone created the Tidal2 Add-on. Although I thought that may be too much to ask for a Tidal GUI - possibly something for MoOde 5.0 if we keep feeding Tim.
 
But, from the mobile Tidal app, you can click on the options and choose Share on any track/album/playlist and choose Share, then select Bubble, and it will automatically start streaming. But I wonder if those tracks are already hidden from the mobile Tidal app.

I was really hoping not to have to run a UPnP server at all - kind of like the function of the Tidal2 (unofficial) app for Kodi. The official Kodi Tidal app does not work anymore and I am wondering if this was due to licencing rights, which is why someone created the Tidal2 Add-on. Although I thought that may be too much to ask for a Tidal GUI - possibly something for MoOde 5.0 if we keep feeding Tim.
Just make sure you have your charger plugged in [emoji16]

The upmpdcli is based on the Kodi code.
 
Apologies if I'm being really stupid, but it is Friday night, and it's been a long week...

I've visited moode.org, and clicked the download button and got a zip file called rel-stretch-rb40b11.zip
I've unzipped it, and I get a directory structure that looks a bit like a typical Linux installation, but I'm not seeing an img file. I'm unzipping on my Mac using just OSX built in unzipping facility. Am I caught up in some form of Mac OSX weirdness?

I just want an img to flash a card for my RPi3 to try Moode.
 
Hi,

moOde 4.0 BETA 11 is available :) This Beta contains the items below. The Local UI feature requires installing Component 8 from Build Recipe 2.1.

- NEW: Local UI display
- NEW: Discover/Connect to other moOde Players
- UPD: Support tiff format for cover art
- FIX: Resizefs echo statement with embedded newline
- FIX: Wrong I2S driver configured for Pi2Design 502DAC PRO
- FIX: Cover art files not being displayed

There is also an in-place update for Beta 6/7/8/9/10 -> Beta 11.

It MUST be run from cmd line AND on an un-squashed /var/www !! The browser title will revert to "moOde Player" after the update. Use System config to change it, then APPLY MPD settings to get the new DoP param.

sudo /var/www/command/updater.sh r40b11

Also, BE SURE to backup /var/www and /var/local/www directories before applying the update in case you need to revert!

-Tim

Hi,

First, a quick thanks for helping me to get cover art working with upnp. I installed upexplorer and everything now works as expected.

Second, I am still on beta 9 and have a quick question before upgrading to beta 11. In building beta 9, I applied optional step 10: "Optionally squash /var/www". If I understand correctly, I need to follow point 2 of "Squashfs procedures" and "UNSQUASH /var/www" , reboot and then run the command "sudo /var/www/command/updater.sh r40b11" reboot. Then if I wish, run the procedure to SQUASH /var/www and reboot again. Is that right?

Finally, I have not been able to see any metadata in the playback screen when using airport. Is this expected? I have metadata set on in the configuration menu. Is there somewhere that I can look to troubleshoot this and get it working?

Thanks.
 
Is the touchscreen supported in Ver 3.81 - 3.84 ?


It is not working by default but you can get the touchscreen working in 3.8.4 if you ssh to your pi and install the touchscreen using the instructions I posted earlier in this thread. Beta 11 instructions might also work of the touchscreen is set to start without using the toggle in the settings.
 
Last edited:
Hi,

I'm playing a bit with a small 0.96"OLED trying to display current song data. I came across some album/song with weird characters on the folder/file name that break the script.

For instance, Blackstar album by Bowie, or Sing 'o the times by Prince. Example error:

subprocess.CalledProcessError: Command 'mediainfo --Inform="Audio;%Format%" "/media/ZGTC/David Bowie/2016 \u2605/01 - \u2605.flac"' returned non-zero exit status 1

Is there an official / best approach to solving this issue?

Thank you so much
 
Tim, just a quick question what exactly does the USB UAC(2) fix do. I've been messing around with the moode 4.0beta9/10 on the nanopi NEO2 plus board and have been plagued by occasional sound dropouts on my Cambridge Dacmagic USB dac.

Thanks
Chris

Hi Chris,

It alters some aspects of how data is transferred over USB bus. I can't explain precisely what it does. You would have to get that from one of the Linux USB developers.

Here is an old link that talks about some of the USB settings.
Call for beta testers: FIQ_FSM USB driver rewrite - Raspberry Pi Forums

-Tim
 
Hi,

First, a quick thanks for helping me to get cover art working with upnp. I installed upexplorer and everything now works as expected.

Second, I am still on beta 9 and have a quick question before upgrading to beta 11. In building beta 9, I applied optional step 10: "Optionally squash /var/www". If I understand correctly, I need to follow point 2 of "Squashfs procedures" and "UNSQUASH /var/www" , reboot and then run the command "sudo /var/www/command/updater.sh r40b11" reboot. Then if I wish, run the procedure to SQUASH /var/www and reboot again. Is that right?

Finally, I have not been able to see any metadata in the playback screen when using airport. Is this expected? I have metadata set on in the configuration menu. Is there somewhere that I can look to troubleshoot this and get it working?

Thanks.

Hi,

Correct, unsquash /var/www first then apply the update, then optionally re-squash it.

The mechanism for providing Airplay metadata relies on reading a FIFO pipe that shairport-sync fills with data sent by the Airplay client. Its not the most robust mechanism and can get out of sync or not work at all. There is no re-send transaction or marker that indicates "all metadata sent including cover art".

Try restarting client application (iTunes), the client itself (last resort) and restarting Airplay receiver in moOde.

-Tim