Moode Audio Player for Raspberry Pi

start with a wird ethernet connection
no luck with this
Fing to sniff the unit's IP
even Fing can't find moode

have you tried accessing via the IP address of you Pi?
i am trying to find the IP...consulting Dr. Google

btw, i am using pi imager to configure ssh, ssid, pswd, etc. nothing

now, the moode os shuts down right after it boots up, or after like 5 seconds. I flashed my card several times, wiped it a couple of times, used different apps that you guys are using. But no luck.

I must be doing something wrong as nothing seems to be working. Yet, Volumio pops right up!
I will report when/if I figure this out.
 
Hello all. I'm building my first dac. Now all the hardware part have been done and I'm configuring the buttons. That's ok, but for one I would have te same behavior as the star on the web interface (load a random album and play it). I find a way with a script, but there IS a lot of commands and it is working only with one directory. There is a way to do that simpler with on 1 or 2 lines? Thanks.
 
That feature is implemented entirely in Javascript in the Front-end. Have a look in scripts-library.js at event handler $('.ralbum').click(function(e) {...

I suppose the options are to (1) recreate the functionality in a back-end script if WebUI is not to be involved or (2) modify the front-end code that handles custom commands sent from the back-end. In this case the code would simulate a click on the * icon. It would require that the WebUI is running on a client.
 
RADIO CONNECT ISSUE

Hello all, not sure how this post will fit into the entire thread as there seems to be 1 single thread for all moOde questions :)

I finally decided to move form standard mpd to moOde and dedicate my Rpi2 B for this purpose.
I use a USB bluetooth dongle as well as a USB DAC to stream from my NAS.

Let me try to describe my issue

Step 1: NAS audio works fine - radios work fine

Step 2: try to add some radios. 1st radio works fine, 2nd radio not (but the address works fine)... and for whatever reason no radio can stream anymore - NAS audio not working (no sound, and when I drag the song cursor, i hear music for a fraction of a second then silence...everytime)

Step 3: reboot (error message pops up over and over, on moode-local interface during boot
MPD error JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
radios still do not work (error message below)

MPD error Failed to decode https://fluxmusic.....(default installed webradio @); CURL failed: Couldn't connect to server
NAS audio works fine

Step 4: enable bluetooth - pairs properly and works fine

Step 5: disconnect - NAS audio DOES NOT work anymore !! - radio still showing the same problem - but able to stream connect/disconnect with the bluetooth without problem

(I realized that for whatever reason the Volume type was setup to software (which was at 0) while I usually use hardware)

So finally NAS audio OK, Bluetooth audio OK....radio audio NOK

Any idea what could be the problem with the radios (even the pre-installed ones do not work) ?
 
That feature is implemented entirely in Javascript in the Front-end. Have a look in scripts-library.js at event handler $('.ralbum').click(function(e) {...

I suppose the options are to (1) recreate the functionality in a back-end script if WebUI is not to be involved or (2) modify the front-end code that handles custom commands sent from the back-end. In this case the code would simulate a click on the * icon. It would require that the WebUI is running on a client.
Thank you very much Tim.
I finally kept my python script which, associated with a button, work fine for me.
Here is what I use if it can be usefull for others. As I'm not developer I have done that with many lines.
# script to play a random album added at the end of the current playlist
def random():
# random album
search_rand_alb = subprocess.check_output(["mpc list album | shuf -n 1"], shell=True)
# be sure that is a string
search_rand_alb = str(search_rand_alb.decode())
# remove a EOF at the end of the string
search_rand_alb = search_rand_alb.strip()
# add a backslash in front of all quote to be sure to put it right in the cmd
search_rand_alb = search_rand_alb.replace("'", "\'" )
# add quotes for the album name
search_rand_alb = "".join(["\"" , search_rand_alb,"\""])
# number of music in the current playlist
numb_list_play = subprocess.check_output('mpc playlist | wc -l', shell=True)
# play the next song
numb_list_play = int(numb_list_play) + 1
search_rand_alb=" ".join(["mpc findadd album" , search_rand_alb])
numb_list_play=" ".join(["mpc play" , str(numb_list_play)])
print(search_rand_alb," ; ",numb_list_play)
subprocess.run(search_rand_alb, shell=True)
subprocess.run(numb_list_play, shell=True)
sleep(1)
 
Any idea what could be the problem with the radios (even the pre-installed ones do not work) ?
Small update all the ? marked URL stations are the ones that don't play anymore.... while the OK ones work just fine. What could have happened so that these ? stations are not working anymore ?

moodeutl -u
Checking...
Id URL Station
1 ? 1.FM - Blues Radio | http://strm112.1.fm/blues_mobile_mp3
2 ? 2BOB Radio 104.7 FM | https://21363.live.streamtheworld.com/2BOB.mp3
3 ? 4ZZZ FM 102.1 - Alternative | https://iheart.4zzz.org.au/4zzz
4 ? 6forty Radio | http://54.173.171.80:8000/6forty
5 ? A.M. Ambient | http://radio.stereoscenic.com/ama-h
6 ? ABC Country | http://live-radio01.mediahubaustralia.com/CTRW/mp3/
7 ? ABC Jazz | http://live-radio01.mediahubaustralia.com/JAZW/mp3/
8 ? Absolut Hot | https://edge68.live-sm.absolutradio.de/absolut-hot/stream/aacp?aggregator=smk-m3u-aac
9 ? Absolut music XL | https://absolut-musicxl.live-sm.absolutradio.de/absolut-musicxl/stream/mp3
10 ? Absolut Relax | https://edge56.live-sm.absolutradio.de/absolut-relax/stream/mp3
11 ? Ambient Sleeping Pill | http://radio.stereoscenic.com/asp-h
12 ? Ancient FM - Mediaeval and Renaissance Music | https://mediaserv73.live-streams.nl:18058/stream
13 ? ArtSound FM 92.7 | http://119.15.96.188/stream2.mp3
14 OK Bayern 2
15 OK BBC Asian Network
17 OK BBC Radio 1
19 OK BBC Radio 2
21 OK BBC Radio 3
23 OK BBC Radio 4 FM
25 OK BBC Radio 5 live
28 OK BBC Radio 6 music
30 OK BR-Klassik
31 ? Buddha Radio | https://legacy.scahw.com.au/2buddha_32
32 ? Classic FM | http://media-ice.musicradio.com/ClassicFMMP3
33 ? Czech Radio Classical | https://rozhlas.stream/ddur_mp3_256.mp3
34 ? DR P6 Beat | http://live-icy.dr.dk/A/A29H.mp3
 
I was trying to install a VPN to see if that would be a more successful approach...but I cannot even do this :confused:
A bit stuck
Err:1 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/raspbian/raspbian bullseye/main armhf pcscd armhf 1.9.1-1
Cannot initiate the connection to distrib-coffee.ipsl.jussieu.fr:80 (134.157.176.20). - connect (101: Network is unreachable)
Err:2 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/raspbian/raspbian bullseye/main armhf easy-rsa all 3.0.8-1
Cannot initiate the connection to distrib-coffee.ipsl.jussieu.fr:80 (134.157.176.20). - connect (101: Network is unreachable)
Get:3 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf opensc armhf 0.21.0-1 [326 kB]
Fetched 326 kB in 1s (380 kB/s)
E: Failed to fetch http://distrib-coffee.ipsl.jussieu....pool/main/p/pcsc-lite/pcscd_1.9.1-1_armhf.deb Cannot initiate the connection to distrib-coffee.ipsl.jussieu.fr:80 (134.157.176.20). - connect (101: Network is unreachable)
E: Failed to fetch http://distrib-coffee.ipsl.jussieu....pool/main/e/easy-rsa/easy-rsa_3.0.8-1_all.deb Cannot initiate the connection to distrib-coffee.ipsl.jussieu.fr:80 (134.157.176.20). - connect (101: Network is unreachable)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 
Quick update: I managed to make it work (= add radio URLs without compromising with the Curl error most of them). It seems like setting a static IP was the issue. If I keep it as DHCP, then no problem...if static, then it fails and I need to re-flash. I'm happy as I have it working at least.

@TimCurtis, maybe something to look at (and thanks for the nice piece of software :love:)
 
I'm assuming this is the one-stop-shop for Moode support/bug reports as my userID for the Moode forum appears to have been deleted and the site is not open for new registrations..........

Been a very happy trouble-free Moode user for years until the last week, when I encountered two issues:

  • I cannot remount network drives after unplanned power outages (of which we have a had a few recently) on both 32 and 64 bit versions.
  • I cannot access any configuration tools on a new 64 Bit install created using raspberry pi imager either through the automatic install or using the custom mode and a manually downloaded and unzipped version.

I am using a Pi 3B on which a test instance of volumio is working just fine.

The current, and last working, Moode Build is the most recent 32 Bit version.

I have tried to login via SSH, but I have no idea what the username and password should be and any suggestions google has provided are not working.

If anyone can help me, I'd be really, really grateful as I much prefer Moode to Volumio and would like to continue using it.

many thanks
 
You need to set a user and password when creating the initial image using the Raspberry Pi Imager.
see the MoOde set-up guide.
https://github.com/moode-player/moode/blob/master/www/setup.txt
and pay attention to..
The OS image does not contain the userid pi, SSH service, WiFi SSID or Access
Point password.

- Use the official Raspberry Pi Imager to choose a moOde OS image, enable SSH,
create the pi userid and password and optionally a WiFi SSID and password.
The moOde OS images are listed in the "Media Player OS" category or if they
were downloaded directly via the Download page at http://moodeaudio.org they
can be selected via the "Use custom" category.

This is a requirement by the RPi Latest release for added security.
https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/

You need to reimage your uSD card using the RPi Imager app and follow the instructions to set a user and password.
 
Hello team,
Hope you can assist,
I am adding Bourns PEC11R rotary encoder volume control to the RPi4 + Pi-DigiAmp+ combination. Using moode audio release 8.3.1
Rotary encoder is connected to pins 14, 16, 18 on the DigiAmp 40 pin connector (middle pin on the encoder to pin 14 (Ground), and side pins on the encoder to pins 16, 18 (GPIO 23,24).
It seems to work, but it's really unreliable, lots of skips, and sometimes the volume setting even goes backwards a couple steps when trying to increase or up when trying to decrease. Sounds like the GPIO pin state changes are not detected consistently. Wondering if I am missing something important - do I need to add a hardware filter (RC chains to the side pins) as per Bourns datasheet?

https://www.farnell.com/datasheets/2360546.pdf

Any help is appreciated.
Cheers,
-Victor
 
Yes, rotary encoder is enabled via Volume options. Like I said, it actually works, but a little unpredictable, like I described above. People from Core Electronics (I got the encoder from them) suggested HW filter from the Bourns datasheet. I will try it, but thought potentially someone else on the forum had similar issue...Thanks for your help.