Moode Audio Player for Raspberry Pi

Dunno if this is the right place to ask for help but I certainly need some.
I am trying to have moodeaudio 4 started on my raspberry pi zero w but I seem unable to.
I tried in 2 ways: burning the ready made 4.0 image on an sd card and burning a Debian stretch image and then building mode on it via the 2.3 building script.
In both cases the same happens: the system starts, machine stays active for a short while like 2 minutes during which I can access it via ssh as normal, then the ssh connection is abruptly dropped and I can't do anything else thaN pulling the plug and restart.
Any ideas on what am I doing wrong?
Thanks in advance
Alberto
Normal. It reboots several times as it builds. the build can take 1-2 hours. after the first reboot the password to log in changes to = moodeaudio.
Don't unplug it just because you cant see anything !! just login with the new password...the build is happening...
Once you have logged in check build progress by running
Code:
mosbrief

see my howto here...
Moode Audio Player for Raspberry Pi
 
Last edited:
I have tried to add jpeg several times from this screen but to date no luck. MoOde 4 allows me to select an image from my desktop and I can see the file was selected. As soon I enter update the jpeg is removed. Is there another step I have missed.

If it won't upload it may be too big...resize it to a file under 500kB.
Reduce the alpha blend from 1 to .35
After applying then reload the MoOde page in your browser.

Hi,

I haven't really had time to stress the image chooser but it does seem to break at image size ~ 2.5MB. It will actually upload the image ok but looks like there is some sort of fail when the raw base64 data gets the server (Pi).

For the time being just stick with jpg images around 500KB if possible until I get around to debugging the feature.

-Tim
 
Hello Koda59 and Tim,
What does that mean? Can you tell me where or how to do that? Or will you implement this setting in GUI in a future release?


Thank you for your help

Hi,

If you want to experiment then try below
mpc enable only 1
mpc enable 5

pi@rp3:~ $ mpc enable only 1
Output 1 (ALSA default) is enabled
Output 2 (ALSA crossfeed) is disabled
Output 3 (ALSA parametric eq) is disabled
Output 4 (ALSA graphic eq) is disabled
Output 5 (ALSA bluetooth) is disabled

pi@rp3:~ $ mpc enable 5
Output 1 (ALSA default) is enabled
Output 2 (ALSA crossfeed) is disabled
Output 3 (ALSA parametric eq) is disabled
Output 4 (ALSA graphic eq) is disabled
Output 5 (ALSA bluetooth) is enabled
pi@rp3:~ $

Now in theory you have MPD outputting to ALSA local and to a Connected Bluetooth device.

To revert to default MPD output config (local)
mpc enable only 1

Just remember that the SEL UI that enables setting MPD output to Bluetooth performs mpc enable only 5.

-Tim
 
I can confirm a similar observation on a 1st generation Pi B (not B+). Here are the last few lines from mosbuild.log

Code:
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./libupnpp -DDEBUG -g -Wall -pthread -I/usr/include/upnp -I/usr/include/arm-linux-gnueabihf -DDATADIR="/usr/share/libupnpp" -DCONFIGDIR="/etc" -std=c++11 -std=c++11 -g -O2 -MT libupnpp/control/avtransport.lo -MD -MP -MF libupnpp/control/.deps/avtransport.Tpo -c libupnpp/control/avtransport.cxx  -fPIC -DPIC -o libupnpp/control/.libs/avtransport.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile:809: recipe for target 'libupnpp/control/avtransport.lo' failed
make: *** [libupnpp/control/avtransport.lo] Error 1
** Error: Make failed
** Error: image build exited
** Error: reboot to resume the build
I've done a reboot 3-4 times, each time it restarts the "Install additional components" section only to either completely freeze OR the above error.

Another thing, I don't have any ttys available when I attach a console (TV over HDMI & a wireless keyboard). Is this intentional?

Thanks,
- DD
 
is there's a quick guide on using the Moode UI?

In Playback mode, how do I clear hundreds of songs at once?

Why is there a play, reverse, forward icon in the Library mode?

I am seeing hundreds of songs in the Playback mode, nothing will play,
it keeps showing the round busy timer icon in upper left.

Been trying to play a song for 15 mins now after several reboots.
 
@TheOldPresbyope it's frozen. I left it over night and nothing happened. I can't ssh, but I can ping the Pi. Today I started top to check what's going on, but it froze the moment it started. It showed up (top) but remained frozen after displaying the first 3-4 processes. If I reboot, the process continues and it freezes again at the same step.

@clmbmb

FYI, I just built moOde 4.0 with all optional components on a RPi2B using the automated OS Builder. Network connection via ethernet; 16GB Sandisk Ultra Plus uSD card; 2.5 amp power supply from Canakit.

Running mosbrief after the final reboot confirms the build took just over an hour:

Code:
Cleanup

////////////////////////////////////////////////////////////////
//
// Final cleanup
//
////////////////////////////////////////////////////////////////

** Remove mosbuild
** Clean package cache
** Clear syslogs
** Thu 1 Feb 01:00:03 UTC 2018
** Installation time : 01:13:47

////////////////////////////////////////////////////////////////
// END
////////////////////////////////////////////////////////////////

** Final reboot

Hope you are able to find the root cause of your problem.

Regards,
Kent
 
is there's a quick guide on using the Moode UI?
It is called clicking...:D

In Playback mode, how do I clear hundreds of songs at once?

Click on the three dots to the right of the first track and select remove items On the popup enter the last track to remove OR click on the righthand down arrow and it will fill in the last track on the playlist. Now click on REMOVE ITEMS and.... all gone.
Why is there a play, reverse, forward icon in the Library mode?

So you can Play Pause skip forward or back after you've added items from the library.... pretty straightforward really.

I am seeing hundreds of songs in the Playback mode, nothing will play,
it keeps showing the round busy timer icon in upper left.

Are you connected...? if you haven't loaded any tracks then you are seeing the default playlist of webradios....if nothing plays check your connection.

Been trying to play a song for 15 mins now after several reboots.

see above
 
Wow at last a noob like me managed to do it, congrats Tim.
I hope somebody can help me to configure my lcd I have managed to use the Hdmi to visualize the client on a computer monitor, but if I connect my lcd (waveshare 5 inch Hdmi and usb touch screen) i can't usually I add this lines to the config file :
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1

but now it does not work can a kind soul help me :D
 
is there's a quick guide on using the Moode UI?

In Playback mode, how do I clear hundreds of songs at once?
I usually use clear & play for library content, using Tidal through a upnp front end does build up quite a list though. The remove method explained before is how the playlist is usually cleared but it'd be pretty easy to add a single button to do a clear all function if it's something people would use, but sometimes it's better to keep things simple.

Why is there a play, reverse, forward icon in the Library mode?
It was a requested feature from a previous version, if it's not used much I can think of a much better use of that space for moode 4.1+. ;)

I am seeing hundreds of songs in the Playback mode, nothing will play,
it keeps showing the round busy timer icon in upper left.
If you're having moode control the volume make sure it's turned up.
 
I usually use clear & play for library content, using Tidal through a upnp front end does build up quite a list though. The remove method explained before is how the playlist is usually cleared but it'd be pretty easy to add a single button to do a clear all function if it's something people would use, but sometimes it's better to keep things simple.


It was a requested feature from a previous version, if it's not used much I can think of a much better use of that space for moode 4.1+. ;)


If you're having moode control the volume make sure it's turned up.

I was able to clear everything now. I have about 4000 songs on the SSD.
It is updating the DB, I see the SSD read/write on for few minutes, now it does not light up. Is been about 20 mins, Moode player in web browser shows updating status in lower left corner but no SSD led read/write status.

How do I know if it hangs or not? How long approx. 4000 songs take?
one hour?

I used previous versions Moode, I think I recall just adding a folder/album of
songs I like.

I didn’t want 4000 songs in the playback screen, it’s all scattered.

I am in the Library Mode, how do I add an album/folder to play vs. adding individual songs?
 
Last edited:
Hi Tim,

Thanks for the tip about recovering the default playlist.

I tried to use the gmusic option under UPNP, but when I executed the script as instructed, I got Exception errors right after the message, "Collecting mock>=0.7.0 (from gmusicapi)" (see below).

I'm not a python person, so I wasn't sure whether these are fixable in the script or not.

I thought I saw that the optional gmusicapi was installed when I ran the build script. Just thought I'd pass this along. If I'm doing something wrong, please advise.

svkowalski
------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
"Cache-Control": "max-age=600",
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
 
Hi Bryce,

What I'm finding is that momentum scrolling does not seem to work on the Pi Touch, maybe due to bug in the particular version of Chrome thats used, so I've left the scrollbars visible.

The default ugly white ones can be changed into nice overlay scrollbars via the chrome://flags setting thats described in the Build Recipe COMPONENT 8, 4c but that requires a kbd.

Another option is to simply disable the scrollbars altogether which can be done in CSS. This would eliminate the need for the messy config in 4c.

I'm just trying to get a read on the need for scrollbars.

-Tim

Hi Tim,

I use the overlay scrollbars. The biggest problem I have is when I scroll to the bottom of the Artist column. It is very hard to grab the scroll "handle" to scroll back to the top of the page.

I have seen touch systems that just rely on scrolling the list. If there was enough acceleration I think that could work very well. Letters down the side are also used by some apps, but you don't have a lot of vertical space for that.
The Artist column is the only one I find that is large enough that it is a problem.

I really don't like the look of the big white scroll bars. The Touch is so nice a clean with the overlay scroll bars...or none at all.

Cheers, Bryce.
 
Wow! Congratulations to Tim, Koda59 and Heebo for the fantastic work on Moode 4.0 as well as the automated build process. This morning when I woke up I had a working Moode 4.0. Can't wait to have a listen this afternoon.

I wanted to read this image off the MicroSD card so that I can have a backup. I however notice that there are two images on the card. kernel.img and kernel7.img.

Can someone tell me why there would be two images?

Thanks