DietPi-Software | moOde

Created on 2 Nov 2017  Β·  64Comments  Β·  Source: MichaIng/DietPi

Currently under testing:

- https://github.com/Fourdee/DietPi/issues/1223#issuecomment-344674384


http://moodeaudio.org/

Now with FOSS license πŸ‘

Software Request

Most helpful comment

image

All 64 comments

_soo wonderful, canΒ΄t believe its true_ ;-)_
(and on moodeaudio.org is now only this FREE 4.0 version..absolute wonderful)..
just at the minute i try to set it up; so many thx again "Fourdee" for leaving this info here !!
_(btw.:got it here to work; took about 3 and half hours ;-), but really works, absolute fabulous "tut"/recipe with no errors/absolute straight-forward->fantastic work by Tim/Moodeaudio !! )_

@sfb2

(btw.:got it here to work; took about 3 and half hours ;-), but really works, absolute fabulous "tut"/recipe with no errors/absolute straight-forward->fantastic work by Tim/Moodeaudio !! )

Yep, Tim has done an amazing job with the build-recipe πŸ‘

Goals

Step 1:

  • Get everything working at a basic (as expected) level, Integrate into dietpi-softwareas a optimized automated installation

Step 2:

  • Ensure cross compatbility with existing DietPi scripts + moOde. Install may be limited to a moOde only install, and removes some compatibility with existing dietpi-scripts (as moOde will take over, eg: we both expect different entries to exist in various config files). Need to investigate ability to support moOde + DietPi's existing systems. May require joint effort to fully pull off.

Optionals:

  • Install shairport-sync/upnp and all moOde available controlled apps by default? Currently MPD only.

Would be nice:

  • Support webserver selection (eg: lighttpd/apache2/nginx). Currently Nginx with .conf. Will require site.confs for all servers.
  • Offer pre-built binaries on dietpi.com to reduce install time
  • Allow support for non-RPi devices (eg: Odroid). Will require joint effort by myself and Tim to implement, using the DietPi global var's to obtain HW_INDEX and set soundcard scripts.

Install Notes/Issues:

  • 🈯️ php-memcache required package | worker.php is not receiving/applying changes to system.
  • 🈯️ DietPi /etc/rc.local overwritten by moOde, combine both.
  • 🈺 moOde requires entry/layout expected /boot/config.txt? Will it work with DietPi's config.txt? Combine both if needed?
    -- 🈯️ DAC dtoverlay selection/addition appears fine
  • 🈯️ (implemented by Tim!) moOde writes/reads to /boot/config.txt, and not our DietPi-RAMdisk location /DietPi/config.txt. Changes not saved after reboot.
    Ideal solution would be if Tim could code this check into moOde.
if [ -f /DietPi/config.txt ]; then #DietPi RAMdisk 

FP_config='/DietPi/config.txt'

else

FP_config='/boot/config.txt'

fi

GUI Notes/Issues:

  • 🈺 moOde networking compatibility with DietPi's. DietPi networking is taken over by moOde /etc/dhcpcd.conf.

Test to-do:

  • Lighttpd + Jessie 🈴 GUI not saving changes
  • Lighttpd + Stretch 🈯️ , but will revert to nginx as per docs for debug testing.
  • moOde under /var/www/moode?

image

Glad to see this push forward. You have an eagerly awaiting audience!

Count me as one willing to be a crashtest dummy for DietPi/moOde on RPi and Odroid not to mention other SBCs and VMs. I've been puttering with moOde on RPi since r2.6 and have used DietPi in several appliances. No problem with the Linux CLI.

Your Step 2: It would not trouble me if DietPi were limited to a "moOde only" install but I can understand the appeal of multi-app installs.

Your Optionals: it would not trouble me if DietPi were to support only MPD for the time being.

Your "Would be nice" list: 1) it isn't clear why supporting different http servers is desirable but that's your call. 2) Most moOde users would be ecstatic to see a pre-built binary but it is not an essential to a us early adopters.

nice to see you working on this. I am an long time MoOde user.
You can count me in for crash testing :P

Hi Dan,

Looking good!

-Tim

I'd love for the 'optionals' to be in there too.

But I do think there ought to be some consideration about how it interacts with DP as a whole (many of the technologies are already in DP) - let's face it getting MPD up and running with DP was never all that hard anyway!
So I think that if (for instance) one installs sharepoint sync using Moode, it should turn up ticked in the DP-software menu. Also, if it's then uninstalled from DP-software it should come out of the moode options too.

This may well be what's already in mind but just throwing some ideas in the pot! Looking forward to testing on my NanoPi Neo.

@thechildofroth

Thanks for the suggestions Roth, appreciate them as always. I will take them on board πŸ‘

Our initial goal is to provide a moOde install that stays true to the build-recipe Tim created, and, supports official updates. We don't want to deviate too far away from this, without ensuring full support across moOde first and foremost, then DietPi.
Once thats completed and stable, we can look at tweaking the DP side.

Tim @moodeaudio is coding support for our DietPi-RAMdisk (/DietPi/config.txt) πŸ‘ , once completed, should be a few days before we can begin open testing. I'll also provide a automated dietpi.txt which will fully automate the installation.

I am eagerly awaiting this becoming available as an image. Great work, people, keep it coming :)

Automated image installation of moOde:

Currently in testing, under RPi Stretch.

Steps to test the DietPi + moOde installation:

_NB: Please report all bug/issues here, so we can investigate._


Notes:

  • Installation will take 10-30 minutes depending on SD card performance.
  • Hostname is DietPi
  • Only MPD is installed. Shairport-sync, Squeezelite, UPnP, DLNA server are not yet implemented.

Followed your steps to test...on an RPi3B with ethernet connection

Forgot to time the installation but Moode client has just popped up and I can ssh into the host as well. Sweet.

I won't have time to exercise the installation until tomorrow, but this is very encouraging. Well done.

DietPi_v156_RPi-armv6-(Stretch).img failed to install on an RPi0W with ethernet connection.

After waiting a time, the nginx server came up with the default page. The install was left to cook while I did other things. Hours later, no change. Powered off and mounted the uSD card in a Linux Mint system. The (root)/var/log directory is nearly bare. I found DietPi-Automation.log in the (root)/root directory:


$ sudo cat root/DietPi-Automation.log
Error: Apt-get has failed:
 - Apt string = rpi-update mpc memcached php-memcache bs2b-ladspa libbs2b0 libasound2-plugin-equal telnet automake sysstat tcpdump shellinabox udisks-glue exfat-fuse in
otify-tools libav-tools
 - Error code = 100
 - Software Title = moOde: audiophile-quality music playback
 - Apt log = /var/log/dietpi-software_apt.log

Please report this issue to DietPi (INCLUDING THE APT LOG) so it can be investigated.

There is no (root)/var/log/dietpi-software_apt.log file.

The apt string in the error message relates to STEP 3.2 of Tim's build script.

The apt error code 100 is often associated with dpkg being either missing or marked with the wrong permissions, but


$ ls -l usr/bin/dpkg
-rwxr-xr-x 1 root root 227056 May 17  2017 usr/bin/dpkg

Feature request: add more logging activity so we can more easily debug failing headless installs.

_Just for info/to confirm:_
_WORKS !!_ here on a RPI3 + (ES9028Q2M)..
absolut straight-forward, no issues, about 35-45min (most part time for MPD-compiling); unbelievable, such a wonderful script..so many thx !! ;-)
(PS.: (with the gear here->soundwise: not so fine/good/accentuated as normal DietPi+MPD (still very good), but also with no clicks/pops while volume changing in the UI in opposite to the original MoodeV4Beta9 here->think its about the buffer size in MPD..(but that depends all on your I2S/USB-devices i guess)..
and another thing: i canΒ΄t get with this hifiberry-dac dtoverlay above 192khz (via cat/....)..it works in Dietpi 1.54v but afterwards not anymore..)
but so many thx again !!

Installed and working on a Pi-1B.
Had a monitor attached to hdmi and confirmed start of installation. However, when I checked 3 hours later it had blanked and I had to assume the install had finished.
How about a 'completed, please reboot' message ?
Yes, I could have ssh-in and checked but the 2 times I tried to install previously the install stopped once I had ssh-in... means you've just got to guess it's happened or being going long enough....

"How about a 'completed, please reboot' message ?"
yes..thx bobold..that was an "issue" here too..thought also about if its "stucked" or not..something like "Installed successfully..please reboot->(Enter)" or similar.. ;-)

Thanks guys for testing and the feedback πŸ‘

RPi0W | Error: Apt-get has failed: | There is no (root)/var/log/dietpi-software_apt.log file.

@TheOldPresbyope

Most likely cleared by DietPi-RAMlog clear (1 hour cycle, and during system reboots http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=20#p68). I'll move the log file to /etc/dietpi/logs.

I've not tested RPI0/1 yet with this install, looks limited to that device/ARMv6. I'll see if we can replicate the issue our end.

How about a 'completed, please reboot' message ?

@bobold

Great suggestion πŸ‘
I'll get that added in.

(most part time for MPD-compiling)

We need to compile and offer pre-build .debs anyway for MPD, i'll include these in the next install. Should vastly reduce the install time: https://github.com/Fourdee/DietPi/issues/1236

Notes:

Test install with Stretch image and:

  • RPi Zero W 🈯️

Unable to replicate the APT error @TheOldPresbyope. Please can you re-test?

image

RPi 2B here
Following install, I'm presented with a login request. I login, reboot and am asked to fill in my default credentials again. The Moode ascii art screen flashes by and I'm presented with the command line, with options to run dietpi-launcher, dietpi-config, dietpi-software, htop and cpu. No option to start the moode client. Am I missing something?

The /etc/dietpi/logs/dietpi-software_apt.log file is empty.

Thanks for adopting moode audio on dietpi!

@mho-ohm

No option to start the moode client. Am I missing something?

Indicates installation now completed (we will add a notification in future). Should be running and accessible via web, try accessing it:

Thank you, sir! Accessed it via my web browser on another computer on the same LAN. (This former volumio user should have known better.)

About to leave for a family party. I will retest with RPi0W in morning. Thanks for your efforts.

great stuff @Fourdee ;)
Just installed with no problem on my RaspDAC(RPi2 I-Sabre 9023 TXCO)
Can access the MoOde webgui and adjust some settings. Some parts does not work and looks like hanging when trying to adjust, like adding sources. Trying to turn on UPnP or DLNA but no go. So understand is still not implemented?

Looking forward to new updates/improvements

Thank you

just tested playback from NAS (LAN). Not smooth, a lot of skipping every few seconds. htop shows nothing unusual, very low usage
image

@rikardo1979

Thanks for testing πŸ‘

Can access the MoOde webgui and adjust some settings. Some parts does not work and looks like hanging when trying to adjust, like adding sources.

Thanks, i'll try to replicate.

Trying to turn on UPnP or DLNA but no go. So understand is still not implemented?

Yep, not currently implemented, it is planned as we want to offer the full moOde experience. However, MPD only for now.

just tested playback from NAS (LAN). Not smooth, a lot of skipping every few seconds. htop shows nothing unusual, very low usage

Yep, looks fine, possibly due to low audio/period buffers in MPD. What are the current settings?

Yes, now builds on my RPi0W. Don't know what happened the first time. I think the uSD card was ok but I used a new one just in case.

Also, my apology for the "shouting style" of my previous message. I should have previewed it. Then I would have noticed the github formatter had gone to town on what I thought was plain text but which inadvertently contained markup.

Next order of business: be able to run via WiFi instead of ethernet interface. Is there a clash with DietPi which prevents switching to WiFi via the moOde config page? When I tried setting WiFi credentials via moOde I could see from the command line that /etc/wpa_supplicant/wpa_supplicant.conf had been correctly populated. However, I rebooted with ethernet disconnected and the dietpi host wasn't visible to my AP. No joy when I tried reconnecting ethernet whether or not I rebooted again. I may have to rig up a gpio-to-tty connection so I can see what the RPi0W is doing.

@TheOldPresbyope

Also, my apology

No need, its all good πŸ‘.
EDIT: if you edit your original post, you'll see the formatting i've added : https://github.com/Fourdee/DietPi/issues/1223#issuecomment-345063301

Next order of business: be able to run via WiFi instead of ethernet interface.

WiFi is not functional on our Stretch image. We are trying to find the cause: https://github.com/Fourdee/DietPi/issues/475#issue-171250292

WiFi is not functional on our Stretch image. We are trying to find the cause: #475 (comment)

Curious. It works fine when we build moOde directly on 2017-09-07-raspbian-stretch-lite.

@Fourdee

 ───────────────────────────────────────
 DietPi     | 19:33 | Mon 20/11/17
 ───────────────────────────────────────
 V158       | RPi B (armv6l)
 ───────────────────────────────────────

root@RPi-B:~# cat /etc/debian_version
9.1

root@RPi-B:~# /DietPi/dietpi/dietpi-software install 168
 [Info] Checking RootFS R/W access. Please wait...
 [Ok] RootFS R/W access.
 [Info] Initializing database, please wait...
 [Info] Reading database, please wait...

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Automated install
 Please wait...

 [Ok] Installing moOde: audiophile-quality music playback
 [Info] Detecting drives, please wait...

.....
.....

 DietPi-Software
-----------------------------------------------------
 Mode: Install software
 Please wait...

 moOde: audiophile-quality music playback
 [Info] Please wait...

 #               processing | D i e t  P i             #

 [Info] Testing connection to http://moodeaudio.org/downloads/beta/r40b8/rel-stretch.zip
 [Info] Max duration of 20 seconds, please wait...
 [Failed] Connection test | An issue has occured

 DietPi-Software
-----------------------------------------------------
 Mode: Optimize and configure software
 Please wait...

 [Info] Applying DietPi optimizations and configurations for RPi B (armv6l)
 [Info] Please wait...

 #               processing | D i e t  P i             #

--2017-11-20 19:19:19--  https://raw.githubusercontent.com/rlerdorf/opcache-status/master/opcache.php
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22915 (22K) [text/plain]
Saving to: β€˜/var/www/opcache.php’

/var/www/opcache.php               100%[===============================================================>]  22.38K  --.-KB/s    in 0.04s

2017-11-20 19:19:21 (502 KB/s) - β€˜/var/www/opcache.php’ saved [22915/22915]

--2017-11-20 19:19:21--  https://github.com/krakjoe/apcu/raw/master/apc.php
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/krakjoe/apcu/master/apc.php [following]
--2017-11-20 19:19:22--  https://raw.githubusercontent.com/krakjoe/apcu/master/apc.php
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38125 (37K) [text/plain]
Saving to: β€˜/var/www/apc.php’

/var/www/apc.php                   100%[===============================================================>]  37.23K  --.-KB/s    in 0.07s

2017-11-20 19:19:23 (555 KB/s) - β€˜/var/www/apc.php’ saved [38125/38125]

Added user root.

Download moOde!

DOWNLOAD MOODE
MD5 = 4dd1ace90cf34f146615a0e292d597ba

Release = moOde 4.0 BETA 9

http://moodeaudio.org/downloads/beta/rel-stretch-r40b9.zip

root@RPi-B:~# wget http://moodeaudio.org/downloads/beta/r40b8/rel-stretch.zip
--2017-11-20 19:50:11--  http://moodeaudio.org/downloads/beta/r40b8/rel-stretch.zip
AuflΓΆsen des Hostnamens Β»moodeaudio.org (moodeaudio.org)Β« … 23.235.199.139
Verbindungsaufbau zu moodeaudio.org (moodeaudio.org)|23.235.199.139|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 404 Not Found
2017-11-20 19:50:11 FEHLER 404: Not Found.
root@RPi-B:~# wget http://moodeaudio.org/downloads/beta/rel-stretch-r40b9.zip
--2017-11-20 19:49:12--  http://moodeaudio.org/downloads/beta/rel-stretch-r40b9.zip
AuflΓΆsen des Hostnamens Β»moodeaudio.org (moodeaudio.org)Β« … 23.235.199.139
Verbindungsaufbau zu moodeaudio.org (moodeaudio.org)|23.235.199.139|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
LΓ€nge: 16836295 (16M) [application/zip]
Wird in »»rel-stretch-r40b9.zip«« gespeichert.

rel-stretch-r40b9.zip              100%[===============================================================>]  16,06M   661KB/s    in 34s

2017-11-20 19:49:46 (479 KB/s) - »»rel-stretch-r40b9.zip«« gespeichert [16836295/16836295]


https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L7512-L7521

Hi @k-plan,

Just to confirm that the download links were changed a while back.

Beta zips will be under
http://moodeaudio.org/downloads/beta/rel-stretch-rNNbN.zip

Production release will be under
http://moodeaudio.org/downloads/prod/rel-stretch-rNNN.zip

-Tim

Hi Tim,

thanks for your hint. :+1:

Is it possible, you will leave some older versions online in the future?
Difficult to get always the last release by shell scripting.

Or is something like: http://moodeaudio.org/downloads/beta/rel-stretch-lastest.zip
posible, which is always a link to the lastest release: http://moodeaudio.org/downloads/beta/rel-stretch-rNNbN.zip

Or can @Fourdee do his own hosting (which is always outdated :smiley: )?

cu
k-plan

I've had some problems mounting NAS (moOde always pointing to /mnt/NAS/sharedfoldername and dietpi default samba mount is /mnt/samba) since while parsing mount string moOde uses text from "Source name" textbox instead "Remote directory". It played whole afternoon without problems or audiable (at least for me) skipping. I've bought another microSD for future playing with moOde on dietpi.

I would like to greet moOde on dietpi!

P.S. My hardware is Rpi3B + Hifiberry DAC+ pro

Last testing for today:

```

DietPi-Software

Mode: Install software
Please wait...

moOde: audiophile-quality music playback
[Info] Please wait...

# processing | D i e t P i #

[Info] Testing connection to http://moodeaudio.org/downloads/beta/rel-stretch-r40b9.zip
[Info] Max duration of 20 seconds, please wait...
[Ok] Connection test | Completed

--2017-11-20 20:47:05-- http://moodeaudio.org/downloads/beta/rel-stretch-r40b9.zip
Resolving moodeaudio.org (moodeaudio.org)... 23.235.199.139
Connecting to moodeaudio.org (moodeaudio.org)|23.235.199.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16836295 (16M) [application/zip]
Saving to: β€˜package.zip’

package.zip 100%[===============================================================>] 16.06M 637KB/s in 30s

2017-11-20 20:47:36 (544 KB/s) - β€˜package.zip’ saved [16836295/16836295]

Archive: package.zip
creating: rel-stretch/

E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/m/mesa/libgl1-mesa-dri_13.0.6-1+rpi2_armhf.deb GnuTLS recv error (-110): The TLS connection was non-properly terminated.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
[Failed] The apt cache may be corrupt, apt mirror offline, or you have held broken packages. DietPi-Software will now exit.

[Info] Apt Log:
E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/m/mesa/libgl1-mesa-dri_13.0.6-1+rpi2_armhf.deb GnuTLS recv error (-110): The TLS connection was non-properly terminated.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

[Info] Please try:
[Info] - Fixing apt package errors with 'apt-get install -f'
[Info] - Change apt mirror: 'dietpi-config' > 'Networking: NAS/MISC' > 'Apt Mirror'
[Info] - Clear and refresh apt 'apt-get update'
[Info] - If problems persist, please create a Git ticket so DietPi can investigate the issue:

 ```
root@RPi-B:~# apt-get update --fix-missing
OK:1 http://mirror.netcologne.de/raspbian/raspbian stretch InRelease
OK:2 https://archive.raspberrypi.org/debian stretch InRelease
Paketlisten werden gelesen... Fertig

root@RPi-B:~# apt-get install -f
Paketlisten werden gelesen... Fertig
AbhΓ€ngigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.

Hi @k-plan,

Probably best to host the file at DietPi. That way @Fourdee has control over the link. I'm keeping all the source code releases online. Ultimately they will be migrated to Moode git repo thats just been populated :-)

Hi All,

I'm also one for seeing moOde on DietPi.
Thanks all for the great work.

I've installed the image on an rPi3b with a Terra-berry DAC2 (hifiberry-dac driver).
For NAS settings, I usually go with NFS, so I installed it via the dietpi-config, then added the source on moOde GUI. No dropout issues I can see during playback, even DSD files with converting on the fly to PCM.

I went ahead with installing UPnP :) as I use Lumin app from an iPad or iPhone. Aside from a couple of libraries missing, installation is as per the COMPONENT 6 of Tim's recipe. Activates from the moOde GUI. No issues so far playing same files as above. Hope you can get this implemented officially soon!

Regards

@k-plan

E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/m/mesa/libgl1-mesa-dri_13.0.6-1+rpi2_armhf.deb GnuTLS recv error (-110): The TLS connection was non-properly terminated.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Looks like a possible issue with APT mirror/connection/server issue at the time? I'll try to replicate today.

@chirohito

I've had some problems mounting NAS (moOde always pointing to /mnt/NAS/sharedfoldername and dietpi default samba mount is /mnt/samba) since while parsing mount string moOde uses text from "Source name" textbox instead "Remote directory".

Thanks i'll check the NAS πŸ‘

@moodeaudio

Probably best to host the file at DietPi. That way @Fourdee has control over the link.

Yep no worries, we got the bandwidth πŸ‘.

ToDo:

@Fourdee

Looks like a possible issue with APT mirror/connection/server issue at the time? I'll try to replicate today.

Hmm, possible. Start today completely from scratch.

And now it works! :smiley:
moode_2017-11-21_162452

Think, I totally screwed it up by a lot of testing.
Nice work. :+1:

E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/m/mesa/libgl1-mesa-dri_13.0.6-1+rpi2_armhf.deb GnuTLS recv error (-110): The TLS connection was non-properly terminated.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Looks like a possible issue with APT mirror/connection/server issue at the time? I'll try to replicate today."

_had the same issue here..but with the beautiful dietpi-script i just rebooted after a while and after the wonderful "installed"-checks through the dietpi-scripts i was able to continue till finish.._

@moodeaudio
_Probably best to host the file at DietPi. That way @Fourdee has control over the link.
Yep no worries, we got the bandwidth_

this i always wanted to mention since my beginning here, i have a fast server here in Germany too (50-60MB/s up and down) unlimited bandwith and about 5GB (sorry are these 5 GB a joke here for everyone involved ? ;-) seems a little bit "sparsy" after re-reading) free and wanted it to "offer" (sorry for my bad english) to the dietpi-"community" for absolute free as mirror or somethig too, because i experienced also a little "low" downlad-rates at some packages..
as said at absolute free proposal, that would be mine "contribution" for the wonderful dietpi-community, its absolute bullet-proofed here since years (iΒ΄m hosting about 20 websites btw. on it) and i would like to use it more..
as said 10000%-percent bullet proofed (had inbetween 10000 visitors per day, 100 online user simultaneously and so on; no prob in handling this/was capable)..
So i would feel very honored if dietpi would use it as a mirror or something..
if not, also okay, many thx from here again for now..;-)

@sfb2

as said at absolute free proposal, that would be mine "contribution" for the wonderful dietpi-community,

Thats very kind of you, really appreciate it πŸ‘

For the moment, we are lucky enough to have sponsored hosted by MVS https://www.myvirtualserver.com/en

  • 5TB/Month bandwidth

Should things change in the future, and the offer is still valid, i'll be in touch πŸ˜„

Yep, looks fine, possibly due to low audio/period buffers in MPD. What are the current settings?

@Fourdee I have to test more but not easy to find some spare time now.
I have not changed any settings for playback. Was trying to stream FLAC from local NAS(SMB) and all on LAN as I dont use wifi anywhere in my music system.

Many thanks Daniel for your efforts with moOde automated install on DietPI. Much appreciated.

I installed DietPi + moOde on a 8 GB Sandisk Utra microSDHC Class 1 using a RPi3b. The installation went smoothly and took under 40 minutes.

Sound quality with a USB interface (Focusrite Scarlett Solo 2nd Generation) is excellent. Media source is external USB Sata HDD. No dropouts or other artifacts during uptime.

Looking forward to WiFi implementation and final tuning for I2S DAC Hats.

I installed in RPI 1B,it's cost almost 1hour...(sd card is too slow..)XDD.
But, now it's can't rescan usb...

In ssh "df -h", /dev/sdb1 was exist.

11/24
oh... "mount -v /dev/sda1 /mnt/dietpi_userdata/Music/" ,than rescan! it's work!
but web execution is not really good.
however, it's can work! it's so exciting.

Installed on a RPi2b with 2TB WD USB external hard drive attached. I haven't been able update or rescan the source and "df -h /dev/sda3" returns:
/dev/sda3 1.9T 951G 912G 52% /mnt/9ba037ef-a4c9-3093-a212-a9856378bfa8

@saudade428
@mho-ohm
Thanks for the reports with regards to USB drives. I'll investigate how moOde picks up USB drives, see if we can resolve.

Hi @Fourdee,

USB drives are auto-mounted by udisks-glue to /media directory using the DISK_LABLE

/media/DISK_LABEL

Also a samba share block will be created in /etc/samba/smb.conf

[DISK_LABEL]
path = /media/DISK_LABEL
read only = No
guest ok = Yes

-Tim

@moodeaudio
Thanks Tim πŸ‘

DietPi automatically mounts USB drives to /mnt/UUID_OF_PARTITION via /etc/fstab. This would override udisks-glue.

Options:

  • Disable dietpi-drive_manager auto mounting in /etc/fstab, for moOde install (not ideal, core to DietPi operation/compatibility)
  • User manually symlink (not ideal)
  • Change mpd.conf to support /mnt (and all its sub-directories) as the music data location. music_directory && playlist_directory
  • 🈯️ Symlink /mnt to /var/lib/mpd/music/MNT during installation. If drive is then mounted by dietpi-drive_manager, location is MNT > UUID_OF_DRIVE, else, it will be under USB

Volume control is not updated properly. For example when I turn volume up on M.A.L.P. app on smartphone ad open moode on PC in browser volume is still on last value updated through that same browser. Page refresh does not help.

BR!

@chirohito

The behavior you report doesn't concern the integration of moOde into DietPi. Rather it is the consequence of the design of moOde itself. You can take it up with the moOde developer, Tim Curtis, on the moOde thread on diyaudio.com

http://www.diyaudio.com/forums/pc-based/271811-moode-audio-player-raspberry-pi.html

Cheers

With rp3b + Allo Kali + Piano 2.1dac Moode works very well in Dual Mono mode. Could not make it work in subwoofer mode though. either 2.1 or 2.2. When setting is applied, it automatically switches back to dual mono mode. Any thoughts?

Major difference with volumio I find is that the discovery of my attached 2tb external hd is super quick, a couple of minutes compared to 4-5 hours on volumio.

Hi @kaytata,

Good to hear that you are enjoying the fast performance :-)

The Allo Piano 2.1 firmware files are required to enable Subwoofer 2.1 and 2.2 modes to function. These files apparantly were not accepted into mainline Linux kernel but are available in an Allo Git repo. Below is the procedure I use to install them.

cd ~
wget https://github.com/allocom/piano-firmware/archive/master.zip
sudo unzip master.zip
sudo rm ./master.zip
sudo cp -r ./piano-firmware-master/lib/firmware/allo /lib/firmware
sudo rm -rf ./piano-firmware-master
sudo reboot

-Tim

@moodeaudio
Thanks Tim for the solution. Works like a charm. Cheers.

@moodeaudio
Thanks Tim,

This should of been in our RPi kernel package, i've added it back in, fixed for new installations.

Hi,
I had installed using fourdee's Automated image installation of moOde:
The moode version installed was beta 9. I noticed some hanging.
Tried to update the version to beta12 using the interface. It says moode is up to date.

Is there a simple way to update the moode software to beta12 using SSH?

Cheers,

Hi,

Just installed moOde 4 beta 9 using the automated script.
I see that upmpdcli is included, however it fails to load due to below.
I exclusively use Lumin app to play songs (I don't like to mount my NAS) so I would appreciate if this could be solved.

Dec 21 08:53:49 DietPi systemd[2502]: upmpdcli.service: Failed at step EXEC spawning /usr/bin/upmpdcli: No such file or directory

Hi,

First thanks for your effort to make it happens

I wonder, is this will work on Sparky one day ? i have an ALLO Piano DAC 2.1 + Kali on a Sparky board and wanted to try Moode
I also have one ALLO Piano 1 that i can try with a RPi2, but have only one Kali board for now
For testing purpose, i also have a RPiZero with IQAudio Pi-DACZero if needed (i'll have to buy more SD cards...)

Hi Fourdee, I wonder, if you are still planning to work on that issue. I switched from a PI to an Allo USB bridge, which contains an Allo Sparky, due to SQ reason. It is so much better, that I can't go back. But I really liked the look and performance of Moode :-) and so I would really be happy if this would be continued here.

Cheers

@moodeaudio

Hi Tim,

Firstly, i'd like to apologise for the way I've handled this ticket, letting it continue for so long, without any progress.

The reasons for this are:

  • I've left this ticket open, because I really wanted to make this happen. I love the Moode project and what you have achieved, however,
  • Some time ago, I seen a install script for Raspbian which you endorsed. This really put me off continuing the addition, as you already have a working installation method that you can maintain to your needs.
  • Moode is very specific to Raspbian install, and, sets the device to a one use purpose. This is the opposite of what DietPi tries to achieve. It would be possible (with many many man hours from both our ends) to achieve this. However, even then, it would require constant maintenance for each update. As our man hours are very limited, we must prioritize areas which effect the most users.
  • Currently, we have 0 installs for Moode in our survey: https://dietpi.com/survey/

Therefore, i've taken the decision to drop Moode from our software lineup. Again, I apologise for this, and, I appreciate all the work you've done during the start of this.

Regardless, I wish you and your project all the best in the future. It is beautiful peice of software.

@Fourdee
To be fair, 0 installs is due to moode was disabled/not listed within dietpi-software in v6.9, thus no chance to get install counts πŸ˜‰: https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L1067

But I agree: Same as with NextCloudPlus and Pi-hole, if upstream installation methods are too intrusive, it is a pain for us to integrate it into DietPi.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fourdee picture Fourdee  Β·  3Comments

bhaveshgohel picture bhaveshgohel  Β·  3Comments

1021683053 picture 1021683053  Β·  3Comments

Fourdee picture Fourdee  Β·  3Comments

pfeerick picture pfeerick  Β·  3Comments