Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


I think I killed MoOde/Backup MoOde settings
#11
(01-09-2021, 03:51 PM)Tim Curtis Wrote: The new Export/Import settings feature is part of the 7 series so going forward it will be easy to restore moOde settings to a new image.

I can add the eth0 settings to auto-config for upcoming 7.1.0 release. What else is missing?

I am using NFS for the music library. I see a [Sources] entry in the init, but no example. So could a source also included ?

For wlancountry I used "Germany" to overwrite "US" - the result was "Argentina". So is it the ISO Code (e.g. "DE" ) what should be used ? 
The name for the I2S device is like the filename of the overlay in /boot ?
Reply
#12
Here's what an export produces on one of my systems.

Code:
; #########################################
; Copy this file to /boot/moodecfg.ini
; It will be processed at startup and the
; system will automaticly Restart.
;
; All param = "value" pairs must be present.
; Set wlanssid = blank to start AP mode.
; Example: wlanssid = ""
;
; Moode Release : 7.1.0 2021-MM-DD
; Create date    : 2021-01-08 07:43:00
;
; ##########################################
[Names]
browsertitle = "RP3 Player"
hostname = "rp3"
btname = "RP3 Bluetooth"
airplayname = "RP3 Airplay"
spotifyname = "RP3 Spotify"
squeezelitename = "RP3"
upnpname = "RP3 UPNP"
dlnaname = "RP3 DLNA"

[System]
timezone = "America/Detroit"
keyboard = "us"
cpugov = "ondemand"
hdmiport = "0"
eth0chk = "0"
led_state = "1,1"
localui = "0"
p3wifi = "1"
p3bt = "1"
expandfs ="0"

[I2S Device]
i2sdevice = "Allo Katana DAC"

[Sound]
crossfeed = "Off"
invert_polarity = "0"
alsaequal = "Off"
eqfa12p = "Off"

[MPD]
mixer_type = "hardware"
device = "0"
audio_output_format = "disabled"
selective_resample_mode = "1"
sox_quality = "high"
sox_multithreading = "1"
sox_precision = "20"
sox_phase_response = "50"
sox_passband_end = "95"
sox_stopband_begin = "100"
sox_attenuation = "0"
sox_flags = "0"
dop = "no"
replaygain = "off"
replaygain_preamp = "0"
volume_normalization = "no"
audio_buffer_size = "4096"
max_output_buffer_size = "131072"
max_playlist_length = "16384"
input_cache = "Disabled"
log_level = "default"

[Renderers]
btsvc = "0"
pairing_agent = "0"
rsmafterbt = "0"
airplaysvc = "1"
rsmafterapl = "Yes"
spotifysvc = "1"
rsmafterspot = "Yes"
slsvc = "0"
rsmaftersl = "No"

[UPnP/DLNA]
upnpsvc = "0"
dlnasvc = "0"
upnp_browser = "0"

[Network (wlan0)]
wlanssid = "AirnetN5"
wlanpwd = ""
wlansec = "wpa"
wlancountry = "US"

[Network (apd0)]
apdssid = "RP3"
apdpwd = ""
apdchan = "6"

[Preferences]

[Appearance]
themename = "Nightshade"
accent_color = "Alizarin"
alphablend = "0.75"
adaptive = "No"
cover_backdrop = "Yes"
cover_blur = "5px"
cover_scale = "1.25"
font_size = "Normal"

[Playback]
playlist_art = "Yes"
extra_tags = "track,date,composer,encoded"
playhist = "No"

[Library]
library_instant_play = "Play"
library_albumview_sort = "Artist/Year"
library_tagview_sort = "Artist/Year"
library_recently_added = "31536000000"
library_encoded_at = "1"
library_covsearchpri = "Embedded cover"
library_hiresthm = "600px,60"
library_thumbnail_columns = "6/2 (Default)"

[Library (Advanced)]
library_tagview_artist = "Artist"
library_misc_options = "No,Album@Artist (Default)"
library_ignore_articles = "a,an,the"
library_show_genres = "Yes"
library_tagview_covers = "Yes"
library_ellipsis_limited_text = "Yes"
library_utf8rep = "No"

[Internal]
first_use_help = "No"

[Sources]
source_name[0] = "FLAC"
source_type[0] = "cifs"
source_address[0] = "RT-N66U"
source_remotedir[0] = "VFAT256/Audio/FLAC"
source_username[0] = "Guest"
source_password[0] = ""
source_charset[0] = "utf8"
source_rsize[0] = "61440"
source_wsize[0] = "65536"
source_options[0] = "vers=1.0,ro,dir_mode=0777,file_mode=0777"

[EQP]
eqp12_curve_name[0] = "Default curve"
eqp12_settings[0] = "0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0"
eqp12_active[0] = "No"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
(01-09-2021, 05:45 PM)Tim Curtis Wrote: Here's what an export produces on one of my systems.

Code:
; #########################################
; Copy this file to /boot/moodecfg.ini
; It will be processed at startup and the
; system will automaticly Restart.
;
; All param = "value" pairs must be present.
; Set wlanssid = blank to start AP mode.
; Example: wlanssid = ""
;
; Moode Release : 7.1.0 2021-MM-DD
; Create date    : 2021-01-08 07:43:00
;
; ##########################################
[Names]
browsertitle = "RP3 Player"
hostname = "rp3"
btname = "RP3 Bluetooth"
airplayname = "RP3 Airplay"
spotifyname = "RP3 Spotify"
squeezelitename = "RP3"
upnpname = "RP3 UPNP"
dlnaname = "RP3 DLNA"

[System]
timezone = "America/Detroit"
keyboard = "us"
cpugov = "ondemand"
hdmiport = "0"
eth0chk = "0"
led_state = "1,1"
localui = "0"
p3wifi = "1"
p3bt = "1"
expandfs ="0"

[I2S Device]
i2sdevice = "Allo Katana DAC"

[Sound]
crossfeed = "Off"
invert_polarity = "0"
alsaequal = "Off"
eqfa12p = "Off"

[MPD]
mixer_type = "hardware"
device = "0"
audio_output_format = "disabled"
selective_resample_mode = "1"
sox_quality = "high"
sox_multithreading = "1"
sox_precision = "20"
sox_phase_response = "50"
sox_passband_end = "95"
sox_stopband_begin = "100"
sox_attenuation = "0"
sox_flags = "0"
dop = "no"
replaygain = "off"
replaygain_preamp = "0"
volume_normalization = "no"
audio_buffer_size = "4096"
max_output_buffer_size = "131072"
max_playlist_length = "16384"
input_cache = "Disabled"
log_level = "default"

[Renderers]
btsvc = "0"
pairing_agent = "0"
rsmafterbt = "0"
airplaysvc = "1"
rsmafterapl = "Yes"
spotifysvc = "1"
rsmafterspot = "Yes"
slsvc = "0"
rsmaftersl = "No"

[UPnP/DLNA]
upnpsvc = "0"
dlnasvc = "0"
upnp_browser = "0"

[Network (wlan0)]
wlanssid = "AirnetN5"
wlanpwd = ""
wlansec = "wpa"
wlancountry = "US"

[Network (apd0)]
apdssid = "RP3"
apdpwd = ""
apdchan = "6"

[Preferences]

[Appearance]
themename = "Nightshade"
accent_color = "Alizarin"
alphablend = "0.75"
adaptive = "No"
cover_backdrop = "Yes"
cover_blur = "5px"
cover_scale = "1.25"
font_size = "Normal"

[Playback]
playlist_art = "Yes"
extra_tags = "track,date,composer,encoded"
playhist = "No"

[Library]
library_instant_play = "Play"
library_albumview_sort = "Artist/Year"
library_tagview_sort = "Artist/Year"
library_recently_added = "31536000000"
library_encoded_at = "1"
library_covsearchpri = "Embedded cover"
library_hiresthm = "600px,60"
library_thumbnail_columns = "6/2 (Default)"

[Library (Advanced)]
library_tagview_artist = "Artist"
library_misc_options = "No,Album@Artist (Default)"
library_ignore_articles = "a,an,the"
library_show_genres = "Yes"
library_tagview_covers = "Yes"
library_ellipsis_limited_text = "Yes"
library_utf8rep = "No"

[Internal]
first_use_help = "No"

[Sources]
source_name[0] = "FLAC"
source_type[0] = "cifs"
source_address[0] = "RT-N66U"
source_remotedir[0] = "VFAT256/Audio/FLAC"
source_username[0] = "Guest"
source_password[0] = ""
source_charset[0] = "utf8"
source_rsize[0] = "61440"
source_wsize[0] = "65536"
source_options[0] = "vers=1.0,ro,dir_mode=0777,file_mode=0777"

[EQP]
eqp12_curve_name[0] = "Default curve"
eqp12_settings[0] = "0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0 20 1 0  0"
eqp12_active[0] = "No"
I see ! Excellent ! I just tried it on my new installed system: [Sources] is showing the NFS etc. Only missing is the LAN entry. There is also an empty [Preferences] section where subsections like [Appearance] and the oters are following. The rest of this file has no order like main-section and sub-section. So IMHO [Preferences] is a confusing duplication (inconsistence) . Either you add now the other Moode-Pages as section title or get rid of Prefernce heading Big Grin

Hey, I love it ! MoOde is really a great piece of software !
Reply
#14
Right, I don't think [Preferences] needs to be there. I'll remove it for upcoming 7.1.0
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
(01-09-2021, 03:38 PM)UpsiUps Wrote: While I don't have a problem to create a new SD when a major update is happening, It is boring to enter all the standard setup into the new system.

I understand that I could prepare /boot/moodecfg.ini, the problem is, that some parameters are not available in the default.ini - e.g. the LAN is missing and also some other stuff. Is it possible to create a dump for the ini also on moode 6+

( Here in the thread is mentioned "moodeutl -e" (not available on moode 6+) or moodectl ( also not available ) )

Why not make a disc image of you SD, once you have it up and running to your satisfaction. Then it's a simple matter of writing the image to another SD, if your current SD card "dies" for whatever reason?
Reply
#16
@Bob_m_54

Good question indeed... One gets really stuck in the unfortunate case of the uSD card becoming unreadable/corrupt so the 'tools' one should have are:
- the working MoOde build 'disk image' (for replicating the same uSD card)
- the updated Export/Import settings feature (for reproducing the already working and tested configuration settings on a new MoOde version)
Reply
#17
When you have upgraded to "System 7" , IMHO the
Code:
moodeutl -e
is good enough to recover. I have never seen a SD dying inside my MoOde Player. It is more often the case, that I need to update the whole player ( as amajor update) . So when you keep a diskimage, it will soon be obsolete or you need to import all the minor updates once you have done a recover.
Also a complete "image" of the settings will prevent to use new hardware or new MoOde functions. And I am doing the MoOde configuratione - once the hw is inside _my_ net is fast. Did it today for two devices. The real pain was: a) download of the image - due to AmazonAWS routing and b) the hardening / personal OS setup (ssh,zsh,locale etc. ) which I will script more in the future.

Summary: I am good with the current state of configuration tools
Reply


Forum Jump: