Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Moode Audio Player for Raspberry Pi
Moode Audio Player for Raspberry Pi
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 14th November 2017, 06:34 PM   #10961
koda59 is offline koda59  France
diyAudio Member
 
koda59's Avatar
 
Join Date: Nov 2017
Quote:
Originally Posted by koda59 View Post
Tim if others can confirm that.
Maybe you can host the .sh and the .properties files.

Is this case, it could be a bit easier :

Log to pi
Check unzip is here (for example, it is not in VolumIO), if not apt-get
Plug an USB key to have enough space
Format it, Mount it on a working rep (mounting point)
Cd in it
pwd (copy the path)
wget .sh file
wget .properties
Edit .properties file to set MYPATH (paste the path)
sudo ./install_moOde.sh 2>&1 | sudo tee prep_moOde_log.txt

And that's all (except the moment for plugging USB SD writer & answering confirmation for writing SD ...

When prep is finish ... umount key, rm mounting point & power off
Swap pi sd card ... power on & just waiting.

I am looking to reduce boot (even if we don't have to expect to save a lot time)

Regards
Tim,
I got an idea on a full automatic build automation.

Let me expose if you can host on your server (install_moOde.sh & install_moOde.properties).

The idea is to write an other script that do :

- Advert user to backup his current SD card

- Ask user to unplug all usb device
- Verify if ther is enough space to work on SD
if no :
Ask to plug an USB drive to work on it with advert that everything will be delete on it
Detect the device of the key
format it
mount it
create mount point and go in it
if yes :
create directory and go in it

- verify unzip (for volumio)
- wget install_moOde.sh
- wget install_moOde.properties
- give execute right to install_moOde.sh
- Asking to plug SD card writer to detect it (save device in a file)
- launch install_moOde.sh


Like this, you can update moOde version, raspbian ... like you want by changing the properties file on your host server.

When this script is operational, just modify the interaction writing process to detect and write SD (with the dev detected before) on install_moOde.sh.

And host the 3 files.

And user has just to do :

wget this_new_script
chmod +x this_new_script
sudo ./this new_script


What do u think about this ?
  Reply With Quote
Old 14th November 2017, 06:41 PM   #10962
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Hi @watchtmouse,

Should be all set now. Amazon CDN caches have been invalidated making the newly uploaded files available.

In STEP 4, number 2 the error below can be ignored. There was already a NOTE to that effect in the recipe.

# sudo autoreconf --install
# aclocal: warning: couldn't open directory 'm4': No such file or directory

and I've removed the cmd below because that particular service file won't be created until later in the build.

# sudo systemctl disable bluealsa.service
# Failed to disable unit: No such file or directory

and I added the / to dev/null in STEP 9.

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 14th November 2017, 06:52 PM   #10963
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by koda59 View Post
Tim,
I got an idea on a full automatic build automation.

Let me expose if you can host on your server (install_moOde.sh & install_moOde.properties).

The idea is to write an other script that do :

- Advert user to backup his current SD card

- Ask user to unplug all usb device
- Verify if ther is enough space to work on SD
if no :
Ask to plug an USB drive to work on it with advert that everything will be delete on it
Detect the device of the key
format it
mount it
create mount point and go in it
if yes :
create directory and go in it

- verify unzip (for volumio)
- wget install_moOde.sh
- wget install_moOde.properties
- give execute right to install_moOde.sh
- Asking to plug SD card writer to detect it (save device in a file)
- launch install_moOde.sh


Like this, you can update moOde version, raspbian ... like you want by changing the properties file on your host server.

When this script is operational, just modify the interaction writing process to detect and write SD (with the dev detected before) on install_moOde.sh.

And host the 3 files.

And user has just to do :

wget this_new_script
chmod +x this_new_script
sudo ./this new_script


What do u think about this ?
Yes I can host the files at moodeaudio.org

I'm not sure I understand the first part. Sometimes its easier to work through something like this via email. tim at moodeaudio dot org :-)

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 14th November 2017, 07:18 PM   #10964
koda59 is offline koda59  France
diyAudio Member
 
koda59's Avatar
 
Join Date: Nov 2017
Quote:
Originally Posted by TimCurtis View Post
Yes I can host the files at moodeaudio.org

I'm not sure I understand the first part. Sometimes its easier to work through something like this via email. tim at moodeaudio dot org :-)

-Tim
No problem. I will email you tomorrow ( Bedtime routine for childrens here )
  Reply With Quote
Old 14th November 2017, 07:34 PM   #10965
josh2000 is offline josh2000
diyAudio Member
 
Join Date: Mar 2010
Default Inplace upgrade is working on my test systems

Hi, The inplace update procedure is working well on my test systems (6 and 7 - had to leave out 8 for time issues).

@Tim:

There's a typo:
-----
If u want to examine the update package and its installation script before installing it then run the cmds below.

wget http://moodeaudio.org/downloads/update-r40b9.zip
unzip update-r40b8.zip cat ./update/install.sh
cat ./update/install.sh
----
Just for those who copy without reading....

-Josef
  Reply With Quote
Old 14th November 2017, 08:31 PM   #10966
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by TimCurtis View Post
Hi,

moOde 4.0 BETA 9 is available :-) This Beta contains some very important bug fixes and improvements.

- FIX: Sources screen hangs in certain scenarios
- FIX: Roaming between AP mode and WiFi SSID
- FIX: Cover art not displayed when same Title different Artist
- FIX: SSID Scan not returning anything in certain scenario
- FIX: Workaround for MPD not capturing BBC 320K bitrate
- UPD: Improved error reporting for failed NAS mount


There is also an in-place update for Beta 6/7/8 -> Beta 9.

It MUST be run from cmd line AND on an un-squashed /var/www !! The browser title will revert to "moOde Player" after the update. Use System config to change it, then APPLY MPD settings to get the new DoP param.

Also, BE SURE to backup /var/www and /var/local/www directories before applying the update in case you need to revert!

sudo /var/www/command/updater.sh r40b9

If u want to examine the update package and its installation script before installing it then run the cmds below.

wget http://moodeaudio.org/downloads/update-r40b9.zip
unzip update-r40b9.zip
cat ./update/install.sh

-Tim
Just a friendly Bump.

-TIm
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 14th November 2017, 11:53 PM   #10967
sfb2 is offline sfb2  Germany
diyAudio Member
 
Join Date: May 2017
many thx again->here Beta9->for info:
with Generic 2 I2S-Hifiberry-DAC and chinese ES9028Q2M-board-> Dop-possible ! but u have to check "Dop=yes" and Sox resampling "enabled"; no native DSD here on a RPI3+these board+ these dtoverlay and settings..
  Reply With Quote
Old 15th November 2017, 12:14 AM   #10968
Alabama978 is offline Alabama978  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
Quote:
Originally Posted by Mars67 View Post
Because the licensing model has changed you now need to build your own image. Some guys have already worked on automating the process if you find it daunting and it is only a matter of time before someone will provide a working image. You would probably just need to wait for the final release of Moode4.
Thanks for the reply, think I'll wait as I'm no Linux expert
  Reply With Quote
Old 15th November 2017, 12:40 AM   #10969
BryceJ is online now BryceJ  Canada
diyAudio Member
 
Join Date: Jul 2013
Location: Vancouver, BC
Default Build Recipe v1.8

STEP 11 - Optionally, install latest Linux Kernel

This step would not work for me. Tried it twice. Two different errors.
Code:
pi@moode:~ $ sudo PRUNE_MODULES=1 rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:19 --:--:--     0curl: (6) Could not resolve host: raw.githubusercontent.com
 !!! Failed to download update for rpi-update!
 !!! Make sure you have ca-certificates installed and that the time is set correctly
pi@moode:~ $ sudo PRUNE_MODULES=1 rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13403  100 13403    0     0   1245      0  0:00:10  0:00:10 --:--:--  4132
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.9.59-v7+
Invalid git hash specified
pi@moode:~ $ sudo rm -rf /lib/modules.bak
pi@moode:~ $ sudo umount /boot
pi@moode:~ $ sudo dosfsck -tawl /dev/mmcblk0p1
STEP 13 - Final prep for image
The last copy in this step failed.

Code:
pi@moode:~ $ sudo cp ./rel-stretch/network/hostapd.conf.default /etc/hostapd/hostapd.conf
cp: cannot create regular file '/etc/hostapd/hostapd.conf': No such file or directory
Cheers.
  Reply With Quote
Old 15th November 2017, 01:00 AM   #10970
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by sfb2 View Post
many thx again->here Beta9->for info:
with Generic 2 I2S-Hifiberry-DAC and chinese ES9028Q2M-board-> Dop-possible ! but u have to check "Dop=yes" and Sox resampling "enabled"; no native DSD here on a RPI3+these board+ these dtoverlay and settings..
Hi,

This is a question for "chinese ES9028Q2M-board" manufacturer.

Do they make a device driver for their device that supports DoP over I2S?

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote

Reply


Moode Audio Player for Raspberry PiHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Line Level 156 29th April 2017 11:10 PM
DSP for the Raspberry Pi usul27 Digital Line Level 39 30th August 2016 07:29 AM
Raspberry Pi + CirrusLogic Audio Card = FAIL solderhead PC Based 31 26th January 2016 06:48 PM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 09:01 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki