automation of build process
i am not any of expert of bash script but what do you say we use a step indicator to automate more?
pseude code is like
switch -e /tmp/step*
case step1
do something
rm /tmp/step1
touch /tmp/step2
reboot
...
...
default:
// first run
do something
touch /tmp/step1 #next step
reboot
i am not any of expert of bash script but what do you say we use a step indicator to automate more?
pseude code is like
switch -e /tmp/step*
case step1
do something
rm /tmp/step1
touch /tmp/step2
reboot
...
...
default:
// first run
do something
touch /tmp/step1 #next step
reboot
Last edited:
Hi Tim
Great job with mOde. Everything works perfectly.
I made a Polish manual for total noobs in Linux.
Moode Audio Player dla Raspberry Pi i nie tylko - PC Audio - Audiostereo.pl
Thanks a lot
+1 for producing a manual in Polish.
Here's hoping your work will inspire others. There's a lot of country flags displayed in our forum.
Regards,
Kent
Hi All
I'm having problems with the clock radio
If i set it it works fine the first time but after that it fails to come on the next morning
I noticed this in the system info
20171103 130104 worker: Ready
20171104 230556 worker: Job reloadclockradio
20171105 002804 watchdog: PHP restarted (fpm child limit 18 exceeded)
20171106 134210 worker: Job reloadclockradio
20171106 162054 watchdog: PHP restarted (fpm child limit 18 exceeded)
20171106 225856 watchdog: PHP restarted (fpm child limit 18 exceeded)
20171107 141146 watchdog: PHP restarted (fpm child limit 18 exceeded)
20171107 175404 watchdog: PHP restarted (fpm child limit 18 exceeded)
20171109 052416 watchdog: PHP restarted (fpm child limit 18 exceeded)
is this my problem and what can i do about it ?
Moode 3.84, piano2.1 dac, standard install with raspotify added
lx
quick bump for this just incase you missed it
Hi, Nick.
Not errors in this context, just geek-speak. The new partition table will be read when you boot from the uSD card (or go through the losetup/mount rigmarole again).
Regards,
Kent
Many thanks Kent again great support on this forum
Nick
Moode 3.1 runs great on a RPi3 B. I am not sure where you will get any later version images for download. At the moment if you want Moode 4 beta you need to build your own image. It sounds daunting but the last build recipe makes it very easy. You just need to follow the steps exactly and type accurately.
Plus it is a good way to learn more about the RPi and how Raspbian works.
Awesome, thanks.
So, I tried the following:
- resetting my alsa configuration
- set the MPD buffer size slightly higher (9535)
- plugging my in ears to the USB audio interface
- connecting an unpowered USB hub to the Pi
Bottom line: The glitches still occur.
This is my mpd.conf output:
Now I think I am onto something. I connected my mobile DAC to the Raspberry Pi and voila! no glitches. So if I am not mistaken from this follows that the issue is either
1) the connection/power supply of the audio interface or
2) the way the Pi feeds the audio interface
The glitches occur especially when changing the software volume and in the beginning and end of a track. I tested both lossy and lossless files streamed through the LAN port. This makes me think issue 2) is more likely.
I would appreciate if someone gave me advice where I could find the culprit.
- resetting my alsa configuration
- set the MPD buffer size slightly higher (9535)
- plugging my in ears to the USB audio interface
- connecting an unpowered USB hub to the Pi
Bottom line: The glitches still occur.
This is my mpd.conf output:
audio_output {
type "alsa"
name "ALSA default"
device "hw:1,0"
dsd_usb "no"
}
Now I think I am onto something. I connected my mobile DAC to the Raspberry Pi and voila! no glitches. So if I am not mistaken from this follows that the issue is either
1) the connection/power supply of the audio interface or
2) the way the Pi feeds the audio interface
The glitches occur especially when changing the software volume and in the beginning and end of a track. I tested both lossy and lossless files streamed through the LAN port. This makes me think issue 2) is more likely.
I would appreciate if someone gave me advice where I could find the culprit.
i am not any of expert of bash script but what do you say we use a step indicator to automate more?
pseude code is like
switch -e /tmp/step*
case step1
do something
rm /tmp/step1
touch /tmp/step2
reboot
...
...
default:
// first run
do something
touch /tmp/step1 #next step
reboot
Good call on using ‘touch’.
Hi,
Just a heads up that there is a bug in networking setup when trying to roam between AP mode and WiFi SSID. It boils down to dhcpcd.conf not being reset during reboot/poweroff which results in AP mode 172.24.1.1 addr being assigned even though Pi can connect to WiFi SSID :-0
Bug fix being tested, and BIG thanks to Duncan for providing an excellent repro 🙂
-Tim
Just a heads up that there is a bug in networking setup when trying to roam between AP mode and WiFi SSID. It boils down to dhcpcd.conf not being reset during reboot/poweroff which results in AP mode 172.24.1.1 addr being assigned even though Pi can connect to WiFi SSID :-0
Bug fix being tested, and BIG thanks to Duncan for providing an excellent repro 🙂
-Tim
Hi, I am new here and got Mood just set up the first time... by setting a NFS share I made probably something wrong... now the settings screen is not longer comming up - how to delte the share entry? where can I find the config for this unix-path?
boardy
boardy
Tim, is this a typo?
build_recipe_1.6.txt, line 744
build_recipe_1.6.txt, line 744
Code:
./configure --prefix=/usr --sysconfdir=/etcmake
Hi Tim
Forgive my ignorance but I need some guidance regarding the Component 5 - Squeezelite install.
I have gone with Option A and run the following 2 lines
but when it comes to point3 I am unsure what to do. Do I commit some commands from STEP 9??
I have just left it and moved on to installing Upmpdcli but I would like to comeplte the install correctly.
Many thanks for your help
Nick
Forgive my ignorance but I need some guidance regarding the Component 5 - Squeezelite install.
I have gone with Option A and run the following 2 lines
Code:
sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv6l /usr/local/bin/squeezelite-armv6l
sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv7l /usr/local/bin/squeezelite-armv7l
Code:
3. See STEP 9 main procedure
#sudo chmod 0644 /lib/systemd/system/squeezelite-armv6l.service
#sudo chmod 0644 /lib/systemd/system/squeezelite-armv7l.service
#sudo systemctl disable squeezelite-armv6l
#sudo systemctl disable squeezelite-armv7l
Many thanks for your help
Nick
Tim, is this a typo?
build_recipe_1.6.txt, line 744
Code:./configure --prefix=/usr --sysconfdir=/etcmake
Looks like a missing line feed after /etc
It should be:
./configure --prefix=/usr --sysconfdir=/etc
make
Hi Tim
Forgive my ignorance but I need some guidance regarding the Component 5 - Squeezelite install.
I have gone with Option A and run the following 2 lines
but when it comes to point3 I am unsure what to do. Do I commit some commands from STEP 9??Code:sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv6l /usr/local/bin/squeezelite-armv6l sudo cp ./rel-stretch/other/squeezelite/squeezelite-1.8.7-999-armv7l /usr/local/bin/squeezelite-armv7l
I have just left it and moved on to installing Upmpdcli but I would like to comeplte the install correctly.Code:3. See STEP 9 main procedure #sudo chmod 0644 /lib/systemd/system/squeezelite-armv6l.service #sudo chmod 0644 /lib/systemd/system/squeezelite-armv7l.service #sudo systemctl disable squeezelite-armv6l #sudo systemctl disable squeezelite-armv7l
Many thanks for your help
Nick
Hi Nick,
They are redundant with same lines in step 9 but I left them commented out in the squeezelite section for the sake of completeness.
-Tim
So, I tried the following:
- resetting my alsa configuration
- set the MPD buffer size slightly higher (9535)
- plugging my in ears to the USB audio interface
- connecting an unpowered USB hub to the Pi
Bottom line: The glitches still occur.
This is my mpd.conf output:
Now I think I am onto something. I connected my mobile DAC to the Raspberry Pi and voila! no glitches. So if I am not mistaken from this follows that the issue is either
1) the connection/power supply of the audio interface or
2) the way the Pi feeds the audio interface
The glitches occur especially when changing the software volume and in the beginning and end of a track. I tested both lossy and lossless files streamed through the LAN port. This makes me think issue 2) is more likely.
I would appreciate if someone gave me advice where I could find the culprit.
Hi,
Linux uses a single, universal device driver for USB audio. Its possible that its not compatible with the USB chipset used in your other DAC, especially if the chipset is a UAC2 chipset.
-Tim
Hi Tim,
the model is focusrite 2i2. I googled "focusrite 2i2 +uac2" and the lack of results suggests this is not a feature of my interface.
Since it is used by linux music producers, I doubt that there is an universal issue with the interface. My guess is that my raspberry pi can barely handle the interface (processing power or output bus power). The pi's usb ports seem to share the power supply with the LAN port which I am using.
I am running BubbleUPNP as a renderer for Tidal. Might this be an issue as it takes up too much processing power?
I noticed that my version of mo0de is beta 7. Would I be better off installing the most recent final build? If so, downloading "moode_r382..." gets me an error when trying to put it onto a sd card (using ETCHER on OS X).
the model is focusrite 2i2. I googled "focusrite 2i2 +uac2" and the lack of results suggests this is not a feature of my interface.
Since it is used by linux music producers, I doubt that there is an universal issue with the interface. My guess is that my raspberry pi can barely handle the interface (processing power or output bus power). The pi's usb ports seem to share the power supply with the LAN port which I am using.
I am running BubbleUPNP as a renderer for Tidal. Might this be an issue as it takes up too much processing power?
I noticed that my version of mo0de is beta 7. Would I be better off installing the most recent final build? If so, downloading "moode_r382..." gets me an error when trying to put it onto a sd card (using ETCHER on OS X).
I wanted to try Moodeaudio but noticed no IMG file is available. Started on the build recipe but this is just too much for me. Sorry I have not gone through this whole thread, but is there no IMG?
Hi, I am new here and got Mood just set up the first time... by setting a NFS share I made probably something wrong... now the settings screen is not longer comming up - how to delte the share entry? where can I find the config for this unix-path?
boardy
Thanks Tim, I was able to fix the NAS issue, now I have a "no sound" issue,
I am runnung HifiBerry Digi +, no error messages, no signal... the hardware is working with another player... I have no optional stuff installed jet... how to proceed?
Boardy
My Build Recipe for OrangPi PC 😀
If you encounter error, google it 😛
I hope someone can improve it.
For WiringPi , i think i found WiringOp would be good enaugh, i will try it later
@didiet78
Thanks. I'm encouraged that you had to make so few changes. Hope I get a chance this weekend to try armbian on my Odroid C1.
Regards,
Kent
Thanks Tim, I was able to fix the NAS issue, now I have a "no sound" issue,
I am runnung HifiBerry Digi +, no error messages, no signal... the hardware is working with another player... I have no optional stuff installed jet... how to proceed?
Boardy
Menu, About, Setup Guide
-Tim
Up to now I have streamed Qobuz to Moode via Bubble Upnp, and logging into Qobuz on Bubble. Now it's possible to log in to Qobuz on Moode itself, but is there any advantage to that? Can I then access my Qobuz albums and playlists directly from Moode, and if so - how?
- Home
- Source & Line
- PC Based
- Moode Audio Player for Raspberry Pi