Moode Audio Player for Raspberry Pi

Just to clarify, I have tried to setup a Bluetooth connection following Moode’s instructions. Bluetooth is definitely turned on and the first process, ‘Scan for devices’, correctly identifies and lists all the ‘Trusted devices’, one of which is my android phone, which I want to pair. Having done this, I’ve selected my android phone from the drop-down list that appears beneath the listing of trusted devices and pressed the ‘pair’ button. Nothing happens for a while, it’s almost as if the OS of the Pi has hung, then the screen refreshes, showing this: -

*** Paired devices
***
***

I’m unsure whether that’s meant to happen, but sadly in my case this process hasn’t established a Bluetooth connection. Instead, as I said earlier, when I click on ‘Moode Bluetooth’ on my phone I’m asked to provide a pin and whatever I enter is rejected. I think this maybe an issue that relates specifically to Cambridge Silcon Bluetooth dongles, but I haven’t got another dongle to establish this...

Please try this :
List Paired / Run
Select your phone / Remove

Go into your BlueTooth phone's settings and let your phone discoverable
Keep you phone in front of you

On Moode :

Scan for Devices / Run ( it takes around 30 secs)
Once your phone was discovered, select it and click on Pair With then a Pop up must appear on your android phone and click associate on it.

If it fails (because you didn't associate on your phone), just click again on Pair on Moode and Pop Up on your phone must appear again.

Then you can now use connect on Moode and let's rock !

I just tested again this way on my Android Phone ;)

-Eric
 
Last edited:
dsd files playing badly

Hi,

I have recently upgraded my 0.38 to 0.40. I have one really nice dsd file i used to play easily on the 0.38 but now it plays with small pauses every 2 seconds or so.


Anything i forgot? Anything changed?
Here is the system info:
S Y S T E M P A R A M E T E R S Date and time = 2018-02-17 11:58:51 System uptime = up 19 hours, 32 minutes Timezone = Pacific/Auckland moOde = Release 4.0 2018-01-26 Host name = moode ETH0 IP = unassigned ETH0 MAC = b8:27:eb:59:cc:6d WLAN0 IP = 192.168.178.31 WLAN0 MAC = e8:4e:06:2b:90:bd HDWR REV = Pi-2B 1GB v1.1 SoC = BCM2835 CORES = 4 ARCH = armv7l KERNEL = 4.9.79-v7+ KTIMER FREQ = 100 Hz USB BOOT = not available Warranty = OK ROOT size = 15G ROOT used = 15% ROOT avail = 12G FS expand = expanded MEM free = 30 MB MEM used = 96 MB Temperature = 43.3°C CPU GOV = performance MPD SCHDPOL = TS P3-WIFI = None P3-BT = None HDMI = On ETH0 CHECK = Off MAX USB CUR = Off UAC2 FIX = Off SSH server = Off LED0 = on LED1 = on C O R E S E R V E R S PHP-FPM = 7.0.27 NGINX = 1.10.3 SQLite = 3.16.2 Bluetooth = 5.43 C P U L O A D CPU %usr %sys %idle all 1.13 0.00 98.87 0 0.00 0.00 100.00 1 1.00 0.00 99.00 2 0.00 0.00 100.00 3 3.52 0.00 96.48 P R O C E S S L O A D PRI RTPRIO COMMAND %MEM PSR %CPU 19 - python 2.6 1 3.0 19 - sysinfo.sh 0.2 1 2.6 29 - mpd 2.9 0 1.7 19 - sudo 0.3 2 0.6 19 - worker.php 1.2 1 0.3 19 - php-fpm7.0 0.7 1 0.3 19 - upmpdcli 0.9 0 0.2 19 - bash 0.4 0 0.2 19 - sshd 0.6 1 0.1 C L O C K F R E Q U E N C I E S arm = 900 MHz pwm = 0 MHz core = 250 MHz emmc = 250 MHz h264 = 250 MHz pixel = 25 MHz isp = 250 MHz vec = 126 MHz v3d = 250 MHz hdmi = 163 MHz uart = 47 MHz dpi = 0 MHz SD card = 50 MHz S Y S T E M V O L T A G E S core = 1.3125V sdram controller = 1.2000V sdram I/O = 1.2000V sdram chip = 1.2250V U I C U S T O M I Z A T I O N S Theme = Standard Accent color = Emerald Alpha blend = 1.0 Adaptive background = No Background image = No Playback history = No Extra metadata = Yes Library = Use Artist A U D I O P A R A M E T E R S Audio device = HiFiBerry DAC+ Interface = I2S Hdwr volume = 56 Mixer name = Digital Output stream = S24_LE / 44100 ALSA version = 1.1.3-5+rpi3 SoX version = 0.1.2-2 Volume knob = 12 Volume mute = Off Volume limit = 20 Bluetooth controller = Off Airplay receiver = Off Squeezelite = Off UPnP renderer = On DLNA server = Off Rotary encoder = Off Encoder params = 100 2 3 4 5 Crossfeed = Off Parametric EQ = Off Graphic EQ = Off Auto-shuffle = On Autoplay = On MPD crossfade = Off M P D S E T T I N G S Version = 0.20.12 Volume control = hardware ALSA device = hw:0 SoX resampling = disabled SoX quality = very high SoX multithreading = off Audio buffer (kb) = 4096 Buffer before play = 10% Output buffer size (kb) = 81920 Volume normalization = no DSD over PCM (DoP) = no Replay gain = track A I R P L A Y S E T T I N G S Version = 3.1.7 Friendly name = Moode Airplay Metadata display = Off ALSA device = hw:0 Volume mixer = auto Resume MPD after = No Output bit depth = S16 Output sample rate = 44100 Session interruption = no Session timeout (ms) = 120 Audio buffer (secs) = 0.0 S Q U E E Z E L I T E S E T T I N G S Version = 1.8.7-1020 "DSD/SRC enabled" Friendly name = Moode ALSA device = hw:0 ALSA params = 80:4::1 Output buffers = 40000:100000 Task priority = 45 Codec list = flac,pcm,mp3,ogg,aac,alac,dsd Other options = -W -D 500 -R E M O O D E L O G 20180216 155813 worker: - Start 20180216 155813 worker: Successfully daemonized 20180216 155813 worker: - Init 20180216 155813 worker: Session loaded 20180216 155813 worker: Debug logging (off) 20180216 155815 worker: Host (moode) 20180216 155815 worker: Hdwr (Pi-2B 1GB v1.1) 20180216 155815 worker: Arch (armv7l) 20180216 155815 worker: Kver (4.9.79-v7+) 20180216 155815 worker: Ktyp (Standard) 20180216 155815 worker: Gov (performance) 20180216 155815 worker: Rel (Moode 4.0 2018-01-26) 20180216 155815 worker: Upd (None) 20180216 155815 worker: MPD (0.20.12) 20180216 155815 worker: USB boot not enabled yet 20180216 155816 worker: File system expanded 20180216 155816 worker: HDMI port on 20180216 155817 worker: File check ok 20180216 155817 worker: - Network 20180216 155817 worker: eth0 exists 20180216 155817 worker: eth0 address not assigned 20180216 155817 worker: wlan0 exists 20180216 155817 worker: wlan0 trying SSID (Livfam) 20180216 155817 worker: wlan0 (192.168.178.31) 20180216 155817 worker: - Audio 20180216 155818 worker: ALSA outputs unmuted 20180216 155818 worker: Audio out (I2S audio device) 20180216 155818 worker: Audio dev (HiFiBerry DAC+) 20180216 155818 worker: ALSA mixer name (Digital) 20180216 155818 worker: MPD volume control (hardware) 20180216 155818 worker: Hdwr volume controller exists 20180216 155818 worker: Chip options (Burr Brown PCM5122) 20180216 155818 worker: - Services 20180216 155821 worker: MPD started 20180216 155821 worker: MPD scheduler policy (time-share) 20180216 155821 worker: MPD output 1 ALSA default (on) 20180216 155821 worker: MPD output 2 ALSA crossfeed (off) 20180216 155821 worker: MPD output 3 ALSA parametric eq (off) 20180216 155821 worker: MPD output 4 ALSA graphic eq (off) 20180216 155821 worker: MPD crossfade (off) 20180216 155821 worker: UPnP renderer started 20180216 155821 worker: - Last 20180216 155821 worker: USB sources (Seagate Expansion Drive) 20180216 155821 worker: NAS sources (mountall initiated) 20180216 155821 worker: Volume level (27) restored 20180216 155821 worker: Auto-playing id (2) 20180216 155821 worker: Auto-shuffle started 20180216 155821 worker: Maintenance interval (21600) 20180216 155821 worker: Watchdog started 20180216 155821 worker: Ready 20180216 162845 worker: Job mpdcfg 20180216 163504 worker: Job mpdcfg 20180216 163521 worker: Job mpdcfg 20180216 163526 worker: Job mpdcfg 20180216 163531 worker: Job mpdcfg 20180216 163535 worker: Job mpdcfg 20180216 163540 worker: Job mpdcfg 20180216 163544 worker: Job mpdcfg 20180216 163549 worker: Job mpdcfg 20180216 222803 worker: Maintenance completed 20180217 042926 worker: Maintenance completed 20180217 103048 worker: Maintenance completed
 
Just to clarify, I have tried to setup a Bluetooth connection following Moode’s instructions. Bluetooth is definitely turned on and the first process, ‘Scan for devices’, correctly identifies and lists all the ‘Trusted devices’, one of which is my android phone, which I want to pair. Having done this, I’ve selected my android phone from the drop-down list that appears beneath the listing of trusted devices and pressed the ‘pair’ button. Nothing happens for a while, it’s almost as if the OS of the Pi has hung, then the screen refreshes, showing this: -

*** Paired devices
***
***

I’m unsure whether that’s meant to happen, but sadly in my case this process hasn’t established a Bluetooth connection. Instead, as I said earlier, when I click on ‘Moode Bluetooth’ on my phone I’m asked to provide a pin and whatever I enter is rejected. I think this maybe an issue that relates specifically to Cambridge Silcon Bluetooth dongles, but I haven’t got another dongle to establish this...

Please try this :
List Paired / Run
Select your phone / Remove

Go into your BlueTooth phone's settings and let your phone discoverable
Keep you phone in front of you

On Moode :

Scan for Devices / Run ( it takes around 30 secs)
Once your phone was discovered, select it and click on Pair With then a Pop up must appear on your android phone and click associate on it.

If it fails (because you didn't associate on your phone), just click again on Pair on Moode and Pop Up on your phone must appear again.

Then you can now use connect on Moode and let's rock !

I just tested again this way on my Android Phone ;)

-Eric

@ZigZag10

Bluetooth can be endlessly frustrating. Don't know where the request for a PIN is coming from.

As a footnote to Eric's reply, I just fired up an RPi2B with ASUS USB-Bluetooth adapter

Code:
pi@moode:~ $ lsusb
Bus 001 Device 005: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
...

I just successfully paired moODe 4 with:
  • Nexus 6P Smartphone - Android 8.1.0
  • Nexus 9 Tablet - Android 7.1.1
  • Nexus 7 Tablet - Android 6.0.1 (with 3rd party ROM)

I've lent my older Samsung and ZTE phones to the high school robotics team [1] I mentor so can't try other Android variants.


Regards,
Kent

[1] They compete in the Maryland State Championship meet tomorrow. Yay!!!
 
Hi,



Upcoming moOde 4.1 release includes a newly designed NAS config that provides a Samba scanner for easy NAS connections :)



There is also a companion smbscan utility that can help in troubleshooting Samba networks.



-Tim



Code:
Authenticated to rp3 ([192.168.1.169]:22).

Linux kernel 4.9.80-v7+ running on armv7l architecture

                          ____     __   

              __ _  ___  / __ \___/ /__ 

             /  ' \/ _ \/ /_/ / _  / -_)

            /_/_/_/\___/\____/\_,_/\__/ 

                                          

                 moOde audio player 

                (C) 2014 Tim Curtis





The programs included with Moode are free software; the

exact distribution terms for each program are described

in the individual files in /usr/share/doc/*/copyright. 

Moode comes with absolutely no warranties expressed or 

implied, or any other guarantees.



Last login: Fri Feb 16 10:30:14 2018 from 192.168.1.26

pi@rp3:~ $ /var/www/smbscan.php

Scanning Samba network...

Parsing scan results...



host_name: LT1

host_desc: LT1

host_addr: 192.168.1.26

smb_share: LT1 user’s Public Folder - No description

smb_share: Software - No description



host_name: MOODE

host_desc: moOde SMB Server

host_addr: 192.168.1.113

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RP1

host_desc: moOde SMB Server

host_addr: 192.168.1.170

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RP2

host_desc: moOde SMB Server

host_addr: 192.168.1.196

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RP3

host_desc: moOde SMB Server

host_addr: 192.168.1.169

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RP4

host_desc: moOde SMB Server

host_addr: 192.168.1.155

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RP5

host_desc: moOde SMB Server

host_addr: 192.168.1.88

smb_share: NAS - NAS Shares

smb_share: RADIO - RADIO Stations

smb_share: SDCARD - SDCARD Storage



host_name: RT-AC88U

host_desc: RT-AC88U

host_addr: 192.168.1.1

smb_share: VFAT256 - ASMT 2115's VFAT256



pi@rp3:~ $


Hi Tim, what is the ETA on version 4.1?
 
Just like to thank Tim Curtis for putting together incredible software! 4.0 is giving me the best sound in my very revealing system. Enjoy using the parametric Eq and UPNP server running Tidal and LUMIN app on my iPad that has also improved the sound quality there!
I'm running a Raspberry Pi with Pi2 Medial 502dac on top going to my Schiit Mimby Dac.
Excellent sound on the cheap, in this crazy audiophile world.
Couple minor wishes. Would be great if Moode had an alphabetical search column to get to artist / albums quicker. Also wish I could search for artist on the top instead of just albums, unless I'm missing something there. Thanks again Tim. Well done!
 
Just like to thank Tim Curtis for putting together incredible software! 4.0 is giving me the best sound in my very revealing system. Enjoy using the parametric Eq and UPNP server running Tidal and LUMIN app on my iPad that has also improved the sound quality there!
I'm running a Raspberry Pi with Pi2 Medial 502dac on top going to my Schiit Mimby Dac.
Excellent sound on the cheap, in this crazy audiophile world.
Couple minor wishes. Would be great if Moode had an alphabetical search column to get to artist / albums quicker. Also wish I could search for artist on the top instead of just albums, unless I'm missing something there. Thanks again Tim. Well done!

Hi @jeffjazz,

The albums column can be searched by album or artist. Just type in an artist name :)

-Tim
 

Attachments

  • moode-r41-searchartist.png
    moode-r41-searchartist.png
    529.1 KB · Views: 301
Hi @jeffjazz,

The albums column can be searched by album or artist. Just type in an artist name :)

-Tim

@Tim,

I searched and don't really find answer about that but pretty sure someone already asked about Album sorting by Year ?

I am looking in your code and it seems not so easy to do :/

I know year tag is about a track ... and looking year on track 1 is not the best idea (compilation) but it's a bit frustrating not to display artist's artwork in time.

Any feeling about this ?

-Eric
 
@Tim,

I searched and don't really find answer about that but pretty sure someone already asked about Album sorting by Year ?

I am looking in your code and it seems not so easy to do :/

I know year tag is about a track ... and looking year on track 1 is not the best idea (compilation) but it's a bit frustrating not to display artist's artwork in time.

Any feeling about this ?

-Eric

Found that we can exploit the ALBUMSORT tag ... but Moode don't seems to use it.

The main idea is to tag the file with ALBUMSORT tag beginning by year and use this tag from first track to sort.
 
Really could do with some support for ssl caching to negate the need for your ramdisk fix. I thought curl did support that SSL caching but I see Max has closed the ticket.

Qobuz seems to stream over http so the issue would not arise there if Qobuz support is added.

Glad you found a fix.

That isn't the fix, he moved ALSA into another thread. I'm back running a stock 4 build now with just mpd replaced with the very latest git.

FYI Tidal streams over http too, it's the track -> stream url lookup that's over TLS.

Qobuz support is added to but I don't have an account to test.
 
Please try this :
List Paired / Run
Select your phone / Remove

Go into your BlueTooth phone's settings and let your phone discoverable
Keep you phone in front of you

On Moode :

Scan for Devices / Run ( it takes around 30 secs)
Once your phone was discovered, select it and click on Pair With then a Pop up must appear on your android phone and click associate on it.

If it fails (because you didn't associate on your phone), just click again on Pair on Moode and Pop Up on your phone must appear again.

Then you can now use connect on Moode and let's rock !

I just tested again this way on my Android Phone ;)

-Eric

Many thanks for your help Koda59, but sadly no joy :(. I did exactly what you suggested (and even changed the phone's bluetooth visability timeout from 2 minutes to Never timeout) but no pop up appears on the phone ..

I'm coming to the conclusion that the problem I'm experiencing is due to the Cambridge Silcon bluetooth dongle that I'm currently attempting to use. Having done a google I now know that there's been lots of issues with this device. I'd love to get bluetooth working on Moode. Can anybody recommend a good, affordable alternative?
 
Many thanks for your help Koda59, but sadly no joy :(. I did exactly what you suggested (and even changed the phone's bluetooth visability timeout from 2 minutes to Never timeout) but no pop up appears on the phone ..

I'm coming to the conclusion that the problem I'm experiencing is due to the Cambridge Silcon bluetooth dongle that I'm currently attempting to use. Having done a google I now know that there's been lots of issues with this device. I'd love to get bluetooth working on Moode. Can anybody recommend a good, affordable alternative?

Delete it again ...
Then repeat the step except once discovered ... don't "pair with" on Moode but pair Moode Bluetooth from your phone.
Before to connect it from your phone, just verify on Moode that pairing was OK (list paired) ;)

It could be easier

Let us know
 
Last edited:
Delete it again ...
Then repeat the step except once discovered ... don't "pair with" on Moode but pair Moode Bluetooth from your phone.
Before to connect it from your phone, just verify on Moode that pairing was OK (list paired) ;)

It could be easier

Let us know

Thanks for trying to help again Koda59, but as I've previously mentioned, I'm unable to pair Moode from my phone. Yup, Moode Bluetooth is listed on the phone as a discovered bluetooth device, though when I click on it, instead of automatically creating a connection as a trusted device I'm asked to enter a pin and whatever I enter is rejected. Hence Moode Bluetooth is discovered but regardless whether I attempt the pairing on moode itself or on my phone I'm unable to create a connection. I'm guessing big time here - I think the issue I'm experiencing is due to the fact that my dongle, a Cambridge Silcon bluetooth dongle, isn't being correctly registered as a trusted device.
 
Last edited:
Thanks for trying to help again Koda59, but as I've previously mentioned, I'm unable to pair Moode from my phone. Yup, Moode Bluetooth is listed on the phone as a discovered bluetooth device, though when I click on it, instead of automatically creating a connection as a trusted device I'm asked to enter a pin and whatever I enter is rejected. Hence Moode Bluetooth is discovered but regardless whether I attempt the pairing on moode itself or on my phone I'm unable to create a connection. I'm guessing big time here - I think the issue I'm experiencing is due to the fact that my dongle, a Cambridge Silcon bluetooth dongle, isn't being correctly registered as a trusted device.

This is because your have paired it from Moode once discovered ( in this case, you must accept it on the phone via pop up).
As you are unable to do this, you must discover moode from your phone and pair it from your phone.
To do that, delete your phone from Moode, scan from Moode and your phone and once your phone see moode Bluetooth, connect from your phone. You mustn’t pair it from Moode (just run scan for devices), you must pair from the first time from your phone.

Regards

-Eric
 
Last edited: