Moode Forum

Full Version: No menues / tabs moode 6.5.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello dear community 

I have recently installed moode 6.5.2 after before using 6.5.x. I set it up with a moodecfg.txt (first time) as I am flashing it quite often to test things. Now I have no menues on the main screen [Can't choose album, storage, radio etc.] never had this before, could it be caused by the moodecfg.txt? 

It does not appear on any client, smartphone Computer or local. 

Also in the settings everything is grey, all buttons, in previous versions it was emerald too, which still is set.

Appreciate help but I think I will now try to install it without a config file and see further. Would be very nice if it would work with the cfg file! 

Hope you find the problem, if you need further info just ask but I will try it now without a cfg. Will post the result as an answer. 

Have a nice day! 
Greetings from Switzerland 
Ale

(sadly no pictures as the limit is 500kb)
Hello again 

I can now confirm, that the cfg file is the problem. 
After newly flashing and booting without it, everything was great. After adding the cfg file and booting again everything vanished again. 

Would be great if this would be fixed as it is a great future for fastly setting up the system.

Greetings
Hi Ale,

Post the moodecfg.txt file you are using and I'll have a look.

I can never rule out bugs.
(06-05-2020, 08:22 PM)Tim Curtis Wrote: [ -> ]Hi Ale,

Post the moodecfg.txt file you are using and I'll have a look.

I can never rule out bugs.

Hey Tim, thanks for the fast reaction!

As you see I just used the template from GitHub and changed the Values to my needs.

Yeah you'll never get rid of bugs and with every part that gets updated new ones come... I know it from work ^^

txt is not allowed as attachement... I zipped it.

Greetings
You can post it in a code box. Its the 3rd or 5th button from right on the toolbar depending on whether composing a new thread or editing an existing one.

Yours looks ok to me.

Code:
##########################################
# Copy this file to /boot/moodecfg.txt
# worker will process it at startup then
# delete it and automatically reboot.
#
# All param=value pairs must be present.
# Set wlanssid=<nothing> to start AP mode.
# Example: wlanssid=
##########################################

[names]
hostname=REVOXCortex
browsertitle=REVOX Cortex
airplayname=REVOX Cortex
spotifyname=REVOX Cortex
bluetoothname=REVOX Cortex
squeezelitename=REVOXCortex
upnpname=REVOX Cortex
dlnaname=REVOX Cortex
mpdzeroconf=Moode MPD

[services]
airplaysvc=1
upnpsvc=1
dlnasvc=1

[network]
wlanssid=ThisIsMySSID
wlansec=wpa
wlanpwd=NothingToSeeHere
wlancountry=CH
apdssid=REVOX Cortex
apdchan=6
apdpwd=moodeaudio

[other]
timezone=Europe/Rome
themename=Standard
accentcolor=Emerald

The auto-config process creates a log file /home/pi/autocfg.log that may indicates what's going on.

Heres what a successful auto-config should look like.

Code:
pi@rp2:~ $ cat ./autocfg.log
20200219 084520 autocfg: Auto-configure initiated
20200219 084520 autocfg: Configuration file parsed
20200219 084520 autocfg: - Names
20200219 084523 autocfg: Host name: rp2
20200219 084523 autocfg: Browser title: RP2 Player
20200219 084523 autocfg: Bluetooth: RP2 Bluetooth
20200219 084523 autocfg: Airplay: RP2 Airplay
20200219 084523 autocfg: Spotify: RP2 Spotify
20200219 084523 autocfg: Squeezelite: RP2
20200219 084523 autocfg: UPnP: RP2 UPNP
20200219 084523 autocfg: DLNA: RP2 DLNA
20200219 084523 autocfg: MPD zeroconf: RP2 MPD
20200219 084523 autocfg: - Network (wlan0)
20200219 084523 autocfg: SSID: AirnetN2
20200219 084523 autocfg: Security: wpa
20200219 084523 autocfg: Password: xxxxxxxxxxxxxxxxxxxx
20200219 084523 autocfg: PSK: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
20200219 084523 autocfg: Country: US
20200219 084523 autocfg: - Network (apd0)
20200219 084524 autocfg: SSID: RP2
20200219 084524 autocfg: Password: xxxxxxxxxxxxxxxxxxxx
20200219 084524 autocfg: PSK: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
20200219 084524 autocfg: Channel: 6
20200219 084524 autocfg: - Services
20200219 084524 autocfg: Airplay: Off
20200219 084524 autocfg: UPnP: Off
20200219 084524 autocfg: DLNA: Off
20200219 084524 autocfg: - Other
20200219 084525 autocfg: Time zone: America/Detroit
20200219 084525 autocfg: Theme name: Default
20200219 084525 autocfg: Accent color: Amethyst
20200219 084525 autocfg: Configuration file deleted
20200219 084525 autocfg: Auto-configure complete
20200219 084525 autocfg: System rebooted
Looks like the last line has no delimiter. Isn't that a problem when parsing the file into lines with the php strtok function? [Says the guy who has repeatedly proclaimed his lack of php skills  Tongue]

Regards,
Kent
Which line?
I unzipped his file

Here's the tail end of "od -c" output

Code:
0001440   a   r   d  \r  \n   a   c   c   e   n   t   c   o   l   o   r
0001460   =   E   m   e   r   a   l   d
I see there is a missing return (\r\n) at the end of Emerald.

I'll investigate.
Thinking a bit it would probably be easier if @Ale2.0 posted the autocfg.log file. If there were an issue parsing the moodecfg.txt file it would show up in the log.
Pages: 1 2 3