Ok if anyone else is interesting in building their own hardware dac pcbs the PCM5242 needs to have both i2S and I2C data busses / clocks connected and the chip needs to be put into I2C mode with the mode 1 / mode 2 pins setup for I2C then you can select a PCM5242 board in the moode audio configuration. this works in my prototype lash up so the project continues 🙂
Screenshots or the project doesn't exist ;-)
Hi Jan,
The output of ifconfig in your post shows almost 20% dropped packets for the receive (RX) side of wlan0. Ideally this should be 0%. IME anything over 2% would suggest a network issue, possibly RF interference or some sort of attenuation thats causing poor signal. Adapter driver bugs could also be a factor but these drivers are supplied by the manufacturer to Linux kernel and are out of my control.
I just started a test running on one of my Pi3's thats been up for over a week now. I'll post results after a few hours including any failures that occur.
- Client is an iPod Touch set for no screen timeout
- Pi-3 is using its integrated Wifi adapter
- Associated to SSID Moode (pwd=moodeaudio)
- http: //moode.local
- Playing a radio station
You can also try the cmds below to get more information on the status of AP mode.
pi@moode:~ $ iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr b8:27:eb:98:a9:1b
ssid Moode
type AP
pi@moode:~ $
The MAC address in the command below is that of the iPod Touch in my test.
pi@moode:~ $ cat /var/log/syslog | grep "88:1f:a1:e9:07:b5"
May 12 07:50:32 moode hostapd: wlan0: STA 88:1f:a1:e9:07:b5 IEEE 802.11: associated
May 12 07:50:32 moode hostapd: wlan0: STA 88:1f:a1:e9:07:b5 RADIUS: starting accounting session 59063FD0-00000007
May 12 07:50:32 moode hostapd: wlan0: STA 88:1f:a1:e9:07:b5 WPA: pairwise key handshake completed (RSN)
May 12 07:50:36 moode dnsmasq-dhcp[1435]: DHCPDISCOVER(wlan0) 88:1f:a1:e9:07:b5
May 12 07:50:36 moode dnsmasq-dhcp[1435]: DHCPOFFER(wlan0) 172.24.1.131 88:1f:a1:e9:07:b5
May 12 07:50:36 moode dnsmasq-dhcp[1435]: DHCPDISCOVER(wlan0) 88:1f:a1:e9:07:b5
May 12 07:50:36 moode dnsmasq-dhcp[1435]: DHCPOFFER(wlan0) 172.24.1.131 88:1f:a1:e9:07:b5
May 12 07:50:37 moode dnsmasq-dhcp[1435]: DHCPREQUEST(wlan0) 172.24.1.131 88:1f:a1:e9:07:b5
May 12 07:50:37 moode dnsmasq-dhcp[1435]: DHCPACK(wlan0) 172.24.1.131 88:1f:a1:e9:07:b5 Tims-iPod-touch
May 12 08:00:09 moode hostapd: wlan0: STA 88:1f:a1:e9:07:b5 WPA: group key handshake completed (RSN)
May 12 08:10:09 moode hostapd: wlan0: STA 88:1f:a1:e9:07:b5 WPA: group key handshake completed (RSN)
pi@moode:~ $
-Tim
Hi Tim,
I positioned the WiFi adaper 40 cm away of the Raspberry Pi and all seems OK.
Only problem i find is that somtimes the currentsong.txt is not updated is this a known issue. I use this feature to start a python script to print the data to an LCD display.
regards,
Jan Mulder
Stop play command ?
Hi tim,
Does moode has a stop play command that can be used in a python script ?
Best regards,
Jan Mulder
Hi tim,
Does moode has a stop play command that can be used in a python script ?
Best regards,
Jan Mulder
Hi Tim,
I positioned the WiFi adaper 40 cm away of the Raspberry Pi and all seems OK.
Only problem i find is that somtimes the currentsong.txt is not updated is this a known issue. I use this feature to start a python script to print the data to an LCD display.
regards,
Jan Mulder
Hi Jan,
Are u using the LCD updater feature in Moode or does your Python script have its own event loop?
-Tim
Hi tim,
Does moode has a stop play command that can be used in a python script ?
Best regards,
Jan Mulder
Just run "mpc stop && mpc play"
Do you have a link to the Panda adapter?
It's the Panda PAU06. I got them from Amazon.
https://www.amazon.com/Panda-Wirele...qid=1494596921&sr=8-3&keywords=panda+wifi#Ask
It was the Edimax EW-7811Un adapters that I took out of service.
Gentle persons:
In the immortal words of my dead wife, "be specific to be terrific."
Please be specific when you report problems and successes with MoOde Player (or any other combination of hardware and software, for that matter).
.
.
.
Regards,
Kent
Well said. I complain about this sort of thing all the time, then I go and contribute to it.

A strange thing with Edimax EW-7811Un adapter. In my Pi3B it can't connect to hidden network. When I disable network hiding on the router (WNDR3700 with LEDE), it will connect. Tested on Moode 3.6. Built-in adapter don't have that issue.
Just run "mpc stop && mpc play"
Hi Tim,
I understand that stopping and starting can be initalized by these coomands, but can this be done in a python script and how to do this? Is it an os.system() command in python ? I was looking in the file system but could not find the right file.
best regards
Jan Mulder
A strange thing with Edimax EW-7811Un adapter. In my Pi3B it can't connect to hidden network. When I disable network hiding on the router (WNDR3700 with LEDE), it will connect. Tested on Moode 3.6. Built-in adapter don't have that issue.
Hi,
I've not tested this but you might want to try adding the param below to /etc/network/interfaces as suggested by the following link configuration - Configure Wifi (hidden SSID) on Raspbian (EDIMAX Wifi Adapter) - Stack Overflow
wpa-scan-ssid 1
Btw, hiding an SSID does not provide any security. Most Wifi sniffers can easily obtain the names of hidden SSID's.
-Tim
Hi Tim,
I understand that stopping and starting can be initalized by these coomands, but can this be done in a python script and how to do this? Is it an os.system() command in python ? I was looking in the file system but could not find the right file.
best regards
Jan Mulder
Hi Jan,
Don't know too much about Python coding but the cmd below will show the path to mpc.
which mpc
-Tim
Hi Tim,
I understand that stopping and starting can be initalized by these coomands, but can this be done in a python script and how to do this? Is it an os.system() command in python ? I was looking in the file system but could not find the right file.
best regards
Jan Mulder
Hi, Jan. I suggest you use the python subprocess module. I just ran the following from the command line to stop and then play the radio station I was listening to.
Code:
pi@moode-rpi3b:~ $ python
Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call(["mpc","stop"])
volume: 15% repeat: off random: off single: off consume: off
0
>>> subprocess.call(["mpc","play"])
Groove Salad: a nicely chilled plate of ambient beats and grooves. [SomaFM]: Alex Cortiz - Beatnik schmooz
[playing] #33/78 0:00/0:00 (0%)
volume: 15% repeat: off random: off single: off consume: off
0
>>>
Regards,
Kent
Screenshots or the project doesn't exist ;-)
Lol, difficult to do screen shots when its still in my designspark pcbs cad software. did the lash up testing with pi 3 & odroid pcm5242 hat. as i stated before the pcbs is 80% designed and now I know the core components will work its game on. Chips are on order through digikey. once the design is finished it will take about 2 weeks to get my PCBs from china. patience is the name of this game.
However see below an image of one of my two project scopulous full dual differential mono block power amps below. there are only two in the whole wide world and they sound awesome. build cost £1200 each and countless late nights slaving away ;-)
Attachments
Last edited:
I noticed in the above link that there are issues with MPD and embedded cover art.
I have some files that show the artwork in MP3tag and Windows but not in MoOde 3.6.
Is it an issue with MPD?
Hi @soldeed,
Referring to issue #42, the author is proposing a new feature and not asking for help to fix a problem with MPD.
If its only a few files out of the collection, you might want to try deleting the coverart then re-embedding it. Really huge sized images are to be avoided. Its also possible that the files, metadata or file headers are corrupt.
-Tim
Referring to issue #42, the author is proposing a new feature and not asking for help to fix a problem with MPD.
If its only a few files out of the collection, you might want to try deleting the coverart then re-embedding it. Really huge sized images are to be avoided. Its also possible that the files, metadata or file headers are corrupt.
-Tim
Screenshots or the project doesn't exist ;-)
Prototype lashups using existing boards before I put my money where my mouth is lol 🙂 My finished PCB's to follow.........at......some.......t...i....m...e.....i....n......t..h...e......f.u..t..u..r..e
Attachments
Last edited:
Prototype lashups using existing boards before I put my money where my mouth is lol 🙂 My finished PCB's to follow.........at......some.......t...i....m...e.....i....n......t..h...e......f.u..t..u..r..e
Nice! The essence of DIY 🙂
When (at some time in the future) you get the board finished and give a cool name I'll add it to MoOde device database.
-Tim
MoOde 3.6 on RPI 3 with BOSS DAC and WD Mybooklive as NAS.
If I start my MoOde without the NAS drive available, then obviously songs from my library won't play. But then if I start the NAS and wait for it to be fully ready and then restart MoOde or shutdown and then power on the RPI, the songs still do NOT play.
I always need to go to the Configure Sources screen and update MPD.
This is painful when I forget to switch on the NAS before turning on my RPI (and that happens quite often) 🙁
Second question:
I have a lot of songs on my Windows desktop. Is there a way for me to 'cast' these songs on MoOde described in the setup above?
I have a single network at home and all devices are on the same network.
Currently I have DLNA turned off in MoOde (I think it is the default setting).
If I start my MoOde without the NAS drive available, then obviously songs from my library won't play. But then if I start the NAS and wait for it to be fully ready and then restart MoOde or shutdown and then power on the RPI, the songs still do NOT play.
I always need to go to the Configure Sources screen and update MPD.
This is painful when I forget to switch on the NAS before turning on my RPI (and that happens quite often) 🙁
Second question:
I have a lot of songs on my Windows desktop. Is there a way for me to 'cast' these songs on MoOde described in the setup above?
I have a single network at home and all devices are on the same network.
Currently I have DLNA turned off in MoOde (I think it is the default setting).
MoOde 3.6 on RPI 3 with BOSS DAC and WD Mybooklive as NAS.
If I start my MoOde without the NAS drive available, then obviously songs from my library won't play. But then if I start the NAS and wait for it to be fully ready and then restart MoOde or shutdown and then power on the RPI, the songs still do NOT play.
I always need to go to the Configure Sources screen and update MPD.
This is painful when I forget to switch on the NAS before turning on my RPI (and that happens quite often) 🙁
Second question:
I have a lot of songs on my Windows desktop. Is there a way for me to 'cast' these songs on MoOde described in the setup above?
I have a single network at home and all devices are on the same network.
Currently I have DLNA turned off in MoOde (I think it is the default setting).
I have suffered with this, my library sits on a mac server and i found that implementing NFS services worked much better than Samba based file shares.
Chris
I have suffered with this, my library sits on a mac server and i found that implementing NFS services worked much better than Samba based file shares.
Chris
Thanks.
I am not sure how to setup NFS on Mybooklive. But I think it is good if issue is fixed for smb.
- Home
- Source & Line
- PC Based
- Moode Audio Player for Raspberry Pi