Moode Audio Player for Raspberry Pi

Hello Tim,

thanks for the Test.

This is the same thing i see.
When connected to ETH0 this dosnt happend, only when its in Wlan Only mode.

Normaly no refresh is needed.

When i look in the moode.log, i see that there is a Point where ETH0 is enabled.
But in the Settings, i have ETH0 disabled, this settings seems to take place a little bit later.
So the Chromium Browser is already running before ETH0 is disabled.

This could be the cause for this display Problem?

Best Regards, Mirko

Hi Mirko,

There is no setting to turn Eth0 off, just a setting that enables or disables a longer wait for an ip address to be assigned to eth0. Here is the help text for this setting:

CAUTION: Only turn this OFF if running a WiFi-only configuration.
Leave this setting ON if connected via Ethernet cable.
Wait up to 9 secs for an IP address to be assigned to eth0.

-Tim
 
Tim,

I cannot remove the mount point. I click confirm and It just hangs there. I can play internet radio, but cannot mount and play anything off my nas. I even tried to put in the runeaudio options "cache=none,noserverino,ro", and it does not stick. Is there a way to reset the database from the command line. The UI does not seem to respond. This is on a Pi3.

Keith

Hi Keith,

View contents of table
sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_source"

Delete all rows from table
sqlite3 /var/local/www/db/moode-sqlite3.db "delete from cfg_source"

Verify existence of NAS directory. If its not present then mkdir /mnt/NAS
pi@rp2:~ $ ls -l /mnt
total 12
drwxr-xr-x 2 root root 4096 Feb 16 17:28 NAS
drwxr-xr-x 3 root root 4096 Dec 8 12:12 SDCARD
drwxr-xr-x 2 root root 4096 Dec 8 12:12 UPNP
pi@rp2:~ $

-Tim
 
Hello Tim,
i have tried these settings, sorry for the wrong understanding of this setting.
Also i tried to setup a fixed Ip address to get the boot process a little bit faster.

But nothing helped to get no grey screen after the boot.

Only to wait until the Wlan AP gets online and make a refresh.

Is there any way to get the start of the Chromium Browser at the end of the boot, so that the Wlan AP is up and then it should work fine.

Best Regards, Mirko
 
It depends on what is presenting the CIFS share.

In my case I needed both sec=ntlm and vers=1.0

No one size fits all.

Cheers.

Phil

Hi Phil,

Correct, it depends on how the Samba server is configured. i should probably some text to the help for the Mount flags input. Currently it has only the following:

"Adding sec=ntlm may be needed if SMB (Samba) mount fails."

New could be something like

"Other mount flags including sec=ntlm | vers=1.0 | vers=2.0 may be needed depending on what the Samba server requires."

-Tim
 
Hello Tim,
i have tried these settings, sorry for the wrong understanding of this setting.
Also i tried to setup a fixed Ip address to get the boot process a little bit faster.

But nothing helped to get no grey screen after the boot.

Only to wait until the Wlan AP gets online and make a refresh.

Is there any way to get the start of the Chromium Browser at the end of the boot, so that the Wlan AP is up and then it should work fine.

Best Regards, Mirko

Hi Mirko,

Its not started by moOde startup (worker.php) but by systemd. you could try adding network.target to the systemd service file After= line. This should result in Chrome not being started until after the network is "up".

/lib/systemd/system/localui.service

After=nginx.service php7.0-fpm.service mpd.service network.target

Also remove the first line in the # header that has the bash shebang. Its harmless but nonetheless should not be there.

-Tim
 
Hi Tim,

They have fixed the initial volume - you can set the initial volume in the config now. Its 50% for standard (instead of the previously 100%)
Options * librespot-org/librespot Wiki * GitHub

Option
initial-volume
Initial volume in %, once connected [0-100]
VOLUME

Hi,

Amazing amount of progress from these new devs :)

In addition to initial volume they have also added session hooks that could enable coordination with MPD similar to how moOde implements Airplay/MPD coordination.

The problem however is that the code is written in Rust which requires installation and configuration of a Rust build environment in order to compile and generate a binary. I'm not particularly interested in doing this unless its super-easy.
The Rust Programming Language

The old librespot project used to have a fork that provided pre-made binaries compiled for alas-backend and I see that this new librespot.org project has "binaries" on its TODO list. When that happens I'll have a look.

-Tim
 
Hi,



Amazing amount of progress from these new devs :)



In addition to initial volume they have also added session hooks that could enable coordination with MPD similar to how moOde implements Airplay/MPD coordination.



The problem however is that the code is written in Rust which requires installation and configuration of a Rust build environment in order to compile and generate a binary. I'm not particularly interested in doing this unless its super-easy.

The Rust Programming Language



The old librespot project used to have a fork that provided pre-made binaries compiled for alas-backend and I see that this new librespot.org project has "binaries" on its TODO list. When that happens I'll have a look.



-Tim



The only rust I know is the one you get on old cars[emoji4]
I use the raspotify - it does the job for me and comes compiled. [emoji6] it uses the librespot library. And you can update it via the apt command.
 
Hi Kent,

I installed a fresh Moode 4.0 without any modifications build and let it run for more then 24 hours using the internal audio output, no freezes.
After connecting the DAC, the Pi froze within an hour. Because I had a ssh session running I was able to capture the following messages:

pi@raspberrypi4:~ $
Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.173769] skbuff: skb_over_panic: text:8054f268 len:1526 put:1526 head:ac270440 data:ac270482 tail:0x705f6 end:0x222 dev:eth0

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.178144] Internal error: Oops - BUG: 0 [#1] SMP ARM

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.199867] Process swapper/0 (pid: 0, stack limit = 0x80c00210)

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.201170] Stack: (0x80c01d48 to 0x80c02000)

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.202462] 1d40: 000005f6 ac270440 ac270482 000705f6 00000222 b9558800

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.205107] 1d60: 80c01d84 00000222 80c01d94 80c01d78 80618498 806167cc b9558d00 b9171f00

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.207779] 1d80: adc286c0 00000000 80c01dbc 80c01d98 8054f268 80618444 60000113 00000000

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.210447] 1da0: b9171f00 60000113 00000000 00000000 80c01ddc 80c01dc0 80559254 8054f240

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.213143] 1dc0: b6414e80 b9171f00 b9171f00 00000000 80c01dfc 80c01de0 80559380 805591e0

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.215975] 1de0: bab422d0 b6414e80 b9568000 b9171f00 80c01e24 80c01e00 80583408 80559340

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.218935] 1e00: 80c01e44 20000113 804eda0c b94eb940 b94eb944 00000000 80c01e34 80c01e28

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.222020] 1e20: 805924b8 805833a8 80c01e5c 80c01e38 80123138 805924a4 801230c4 80c02080

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.225273] 1e40: 00000000 80c00020 00000100 b9c05180 80c01ec4 80c01e60 8010169c 801230d0

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.228600] 1e60: 8017440c 8071bb84 00000001 00200100 80c02d00 00010b41 0000000a 80c7b980

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.232008] 1e80: 80c72798 80c0312c 80b793b8 80c02080 80c01e60 00000001 801732e0 80b7cec4

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.235475] 1ea0: 00000000 00000000 00000001 b9c05180 80c00000 babffa40 80c01ed4 80c01ec8

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.238963] 1ec0: 80122ccc 8010151c 80c01efc 80c01ed8 80173910 80122bcc 80c01f18 80c04670

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.242453] 1ee0: 60000013 ffffffff 80c01f4c 80c723fd 80c01f14 80c01f00 8010150c 801738ac

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.245946] 1f00: 80c040a4 80108a58 80c01f74 80c01f18 8071c3bc 80101470 00000000 ba35c470

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.249442] 1f20: 00000000 00000000 80c00000 80c0312c 00000001 80c03198 80c723fd 80c723fd

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.252936] 1f40: babffa40 80c01f74 80c040a4 80c01f68 80108a54 80108a58 60000013 ffffffff

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.256432] 1f60: 80108a54 00000000 80c01f84 80c01f78 8071bb14 80108a30 80c01f9c 80c01f88

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.259928] 1f80: 80162020 8071baec 808023f0 ffffffff 80c01fac 80c01fa0 80716324 80161f48

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.263424] 1fa0: 80c01ff4 80c01fb0 80b00d28 807162ac ffffffff ffffffff 00000000 80b006f8

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.266921] 1fc0: 00000000 80b56a30 00000000 80c7b294 80c0311c 80b56a2c 80c089a8 0000406a

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.270417] 1fe0: 410fd034 00000000 00000000 80c01ff8 0000807c 80b00980 00000000 00000000

Message from syslogd@raspberrypi4 at Feb 17 18:16:08 ...
kernel:[ 984.340488] Code: e58dc014 e58d500c e58d4010 ebefcea0 (e7f001f2)

-----------------------------------------------------------------------------------------------------------------------------------------

Session stopped


These issues never happened on Moode 3.7, so at this moment I'm stuck on 3.7.
Is there anything left I can try regarding settings in the cmdline.txt /config.txt / kernel /drivers etc.?


Thanks and regards.

@streamerguy

Wow. This is outside my experience.

A little Internet searching tells me the "skb_over_panic" error relates to the buffers used by the kernel to manage network packets (as one might guess from the mention of dev: eth0).

I can't say what your USB DAC is doing that would cause network buffer overruns. I just downloaded the manual for the Marantz NA11S1 (what a box, by the way!). It says the interface is "USB 2.0: USB High speed/USB Audio Class V2.0" compliant. It says a driver is needed for Windows XP (no surprise) but not for MacOS. From this I infer a driver isn't needed for Linux either. However, since one controller on the RPi manages both USB and ethernet interfaces, I suppose there is the possibility of some USB incompatibility causing a problem with networking.

Searching on the next error "kernel: Internal error: Oops - BUG: 0 [#1] SMP ARM" is even less illuminating. This reminds me of my granddaughter looking innocent as she declares "something happened"! Maybe it's just an aftermath of the buffer overrun but tracing all this back to some change that took place in the Linux kernel between the releases of moOde 3.7 and moOde 4.0 is beyond my pay grade.

I suppose you could try backporting moOde 4.0 to the kernel used in 3.7. Tim can tell you if this has no chance of working.

Regards,
Kent

[added in edit]: I focused on the kernel but the two releases of moOde are also based on different releases of Raspbian.
 
Last edited:
Hi all, this is another noob/simple question;

I am still on Moode Beta 12 and I would like to upgrade to 4.0. If I were to use the image builder within Moode do I still need an external SD/USB card to make that upgrade? Thanks in advance for the help!

When the build has begun you will see an option to build the image on a single card. Use wired Ethernet if possible.
 
Hi all, this is another noob/simple question;

I am still on Moode Beta 12 and I would like to upgrade to 4.0. If I were to use the image builder within Moode do I still need an external SD/USB card to make that upgrade? Thanks in advance for the help!
Builder with direct install (no sd/usb adapter) require a fresh install of Raspbian.
You can’t launch the builder on the SD with beta12 ... you need to install a fresh Raspbian before on it ;)
 
When the build has begun you will see an option to build the image on a single card. Use wired Ethernet if possible.

Builder with direct install (no sd/usb adapter) require a fresh install of Raspbian.
You can’t launch the builder on the SD with beta12 ... you need to install a fresh Raspbian before on it ;)

Okay now I am confused. Even though I can download the Image Builder through Moode Beta 12 I can't run it if Moode is already built on the card? I was able to start Mosbuild.sh but after the first reboot I am lost as to what happens next.

I love using Moode but all of this complication in getting it updated makes me just want to stick with what works.