Thank you for your donation!


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


moOde 6.4.0 bug reports
#31
Hi Tim,

Thnx for the update, everything works fine except the maximum volume setting, it keeps putting it to 100% unfortunately. Double-checked it in alsamixer, still says 100.

Let me know if I can be of any help!
Reply
#32
(11-30-2019, 07:51 PM)Mr.R0b0t Wrote:
(11-30-2019, 07:26 PM)Tim Curtis Wrote:
(11-30-2019, 06:53 PM)Mr.R0b0t Wrote: Hi. The time does not change when the song is playing, it changes only after refreshing the page or rewinding the song. The format doesn't matter. At 6.3 there was no problem.
screen http://s1.fotowrzut.pl/GLLMERTVLI/1.jpg

Provide steps to reproduce the issue and include the output from System info.


Code:
S Y S T E M   P A R A M E T E R S

moOde release = 6.4.0 2019-11-24
Raspbian OS = 10.2
Linux kernel = 4.19.83-v7+ #1277
Platform = Pi-3B 1GB v1.2
Architecture = armv7l (32-bit)
System uptime = up 2 days, 4 hours, 47 minutes
Timezone = Europe/Warsaw
Current time = 2019-11-30 20:49:33

Host name = moode
Ethernet address = unassigned
Ethernet MAC = b8:27:eb:bc:bf:09
WLAN address = 192.168.1.139
WLAN MAC = b8:27:eb:e9:ea:5c
WLAN country = PL

SoC identifier = bcm2837
Core count = 4
Kernel timer freq = 100 Hz
SDCard freq = 50 MHz
USB boot = not enabled
Warranty = OK

Root size = 14G
Root used = 19%
Root available = 11G
Root expand = expanded
Memory free = 83 MB
Memory used = 112 MB
SoC temperature = 50.5°C

CPU governor = ondemand
Onboard WiFi = On
Onboard BT = On
HDMI output = Off
Eth addr wait = On
Max USB current = Off
USB (UAC2) fix = Off
Pi-3B+ eth fix = Off
SSH term server = Off

PHP-FPM version = 7.3.11
NGINX version = 1.14.2
SQLite3 version = 3.27.2
Hostapd version = 2.8-devel
WiringPi version = 2.50
RPi.GPIO version = 0.7.0

A U D I O   P A R A M E T E R S

Audio device = HiFiBerry DAC+ Pro
Interface = I2S
Mixer name = Digital
Hardware volume = Controller detected
Max ALSA volume = 100
Audio source = Local
Output device = Local
Resume MPD = No
Volume knob = 94
Volume mute = Unmuted
Saved MPD vol = 0
Preamp volume = 0
ALSA version = 1.1.8-1+rpt1
SoX version = 0.1.2-3

Bluetooth controller = On
Pairing agent = Off
Airplay receiver = Off
Spotify receiver = Off
Squeezelite = Off
UPnP client = On
DLNA server = Off
GPIO button handler = Off
UPnP browser = On

Auto-shuffle = Off
Autoplay = Off
Rotary encoder = Off
Encoder params = 100 2 3 23 24
Polarity inversion = Off
Crossfeed = Off
Crossfade = Off
Parametric EQ = Off
Graphic EQ = Off
MPD httpd = Off

A P P E A R A N C E   S E T T I N G S

Theme = Default
Accent color = Alizarin
Alpha blend = 1.0
Adaptive background = No
Background image = No
Cover backdrop = No
Cover blur = 20px
Cover scale = 1.25
CoverView auto-display = Never
CoverView style = Animated
Auto-shuffle filter = None
Extra metadata = Yes
Playback history = No

L I B R A R Y   S E T T I N G S

Instant play action = Add/Play
Show genres column = No
Album grouping = by Artist
Compilation identifier = Various Artists
Recently added = 1 Month
Ignore articles = a,an,the
UTF8 character filter = No
Hi-res thumbs = 400px
Cover search pri = Cover image file
Pixel ratio = 1

M P D   S E T T I N G S

Version = 0.21.16
Volume control = software
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
DSD over PCM (DoP) = no
Replaygain = off
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 4096 (kb)
Output buffer size = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver = 5.50
Bluealsa ver = 2.0.0
Speaker sharing = No
Resume MPD = No
PCM buffer time = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version = 3.3.5
Friendly name = Moode Airplay
ALSA device = hw:0
Interpolation = soxr
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout = 120 (ms)
Latency offset = 0.0 (secs)
Audio buffer = 0.2 (secs)
Resume MPD = No

S P O T I F Y   S E T T I N G S

Friendly name = Moode Spotify
ALSA device = plughw:0
Bit rate = 160
Initial volume = 0
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Resume MPD = No

S Q U E E Z E L I T E   S E T T I N G S

Version = 1.8.7-1052 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E -S /var/local
Resume MPD = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display = Off
Mouse cursor = Off
Screen blank = 600 Secs
Wake display on play = Off
Brightness = 255
Pixel aspect ratio = Default
Rotate screen = 0 Deg

M O O D E   S T A R T U P   L O G

20191128 160211 worker: -- Start
20191128 160211 worker: Successfully daemonized
20191128 160211 worker: Integrity check (passed)
20191128 160211 worker: Session loaded
20191128 160211 worker: Debug logging (off)
20191128 160211 worker: Device raw: Card0 (sndrpihifiberry) | Card1 () | I2Sdev (HiFiBerry DAC+ Pro)
20191128 160211 worker: Device cfg: Name (HiFiBerry DAC+ Pro) | Card (0) | MPDdev (0) | Mixer (Digital) | Alsavol: (0)
20191128 160212 worker: ALSA volume set to (0%)
20191128 160214 worker: -- System
20191128 160217 worker: Host name     (moode)
20191128 160217 worker: moOde release (6.4.0 2019-11-24)
20191128 160217 worker: Raspbian OS   (10.2)
20191128 160217 worker: Linux kernel  (4.19.83-v7+ #1277)
20191128 160217 worker: Platform      (Pi-3B 1GB v1.2)
20191128 160217 worker: Architecture  (armv7l)
20191128 160217 worker: MPD version   (0.21.16)
20191128 160217 worker: CPU governor  (ondemand)
20191128 160217 worker: USB boot not enabled yet
20191128 160218 worker: File system expanded
20191128 160218 worker: HDMI port off
20191128 160219 worker: File check (OK)
20191128 160219 worker: -- Network
20191128 160219 worker: eth0 exists
20191128 160219 worker: eth0 wait 0 for IP address
20191128 160222 worker: eth0 wait 1 for IP address
20191128 160239 worker: eth0 wait 2 for IP address
20191128 160242 worker: eth0 wait 3 for IP address
20191128 160245 worker: eth0 wait 4 for IP address
20191128 160248 worker: eth0 address not assigned
20191128 160248 worker: wlan0 exists
20191128 160248 worker: wifi country (PL)
20191128 160248 worker: wlan0 trying SSID (syntax error)
20191128 160249 worker: IP addr (192.168.1.139)
20191128 160249 worker: Netmask (255.255.255.0)
20191128 160249 worker: Gateway (192.168.1.1)
20191128 160249 worker: Pri DNS (192.168.1.252)
20191128 160249 worker: Domain  (wschowa.vectranet.pl)
20191128 160249 worker: -- Audio
20191128 160250 worker: ALSA outputs unmuted
20191128 160250 worker: ALSA card number (0)
20191128 160250 worker: Audio output (I2S audio device)
20191128 160250 worker: Audio device (HiFiBerry DAC+ Pro)
20191128 160251 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20191128 160251 worker: ALSA mixer name (Digital)
20191128 160251 worker: MPD volume control (software)
20191128 160251 worker: Hdwr volume controller exists
20191128 160251 worker: Max ALSA volume (100%)
20191128 160251 worker: -- Services
20191128 160251 worker: Reset renderer active state
20191128 160251 worker: MPD conf updated
20191128 160251 worker: MPD started
20191128 160252 worker: MPD accepting connections
20191128 160252 worker: Configure MPD outputs
20191128 160252 worker: MPD output 1 ALSA default (on)
20191128 160252 worker: MPD output 2 ALSA crossfeed (off)
20191128 160252 worker: MPD output 3 ALSA parametric eq (off)
20191128 160252 worker: MPD output 4 ALSA graphic eq (off)
20191128 160252 worker: MPD output 5 ALSA polarity inversion (off)
20191128 160252 worker: MPD output 6 ALSA bluetooth (off)
20191128 160252 worker: MPD output 7 HTTP stream (off)
20191128 160252 worker: MPD crossfade (off)
20191128 160252 worker: Audio source (Local)
20191128 160252 worker: Output device (Local)
20191128 160252 worker: UPnP renderer started
20191128 160252 worker: UPnP browser started
20191128 160252 worker: Bluetooth controller started
20191128 160300 worker: Bluetooth controller initialized
20191128 160300 worker: USB auto-mounter (udisks-glue)
20191128 160300 worker: -- Music sources
20191128 160300 worker: USB source (2120-2F27)
20191128 160300 worker: USB source (C4CA-63F7)
20191128 160300 worker: NAS and UPnP sources (none configured)
20191128 160300 worker: -- Miscellaneous
20191128 160301 worker: Saved MPD vol level (0)
20191128 160301 worker: Preamp volume level (0)
20191128 160301 worker: MPD volume level (90) restored
20191128 160301 worker: ALSA volume level (100%)
20191128 160301 worker: Auto-play (Off)
20191128 160301 worker: Maintenance interval (6 hrs)
20191128 160301 worker: Screen saver activation (Never)
20191128 160301 worker: Session permissions (OK)
20191128 160301 worker: Watchdog started
20191128 160301 worker: Ready
20191128 160301 watchdog: INFO Audio output is (closed)
20191128 160332 watchdog: INFO Audio output is (in use)
20191128 160338 watchdog: INFO Audio output is (closed)
20191128 161914 watchdog: INFO Audio output is (in use)
20191128 161920 watchdog: INFO Audio output is (closed)
20191128 195121 watchdog: INFO Audio output is (in use)
20191128 195127 watchdog: INFO Audio output is (closed)
20191128 222255 worker: Maintenance completed
20191129 044242 watchdog: INFO Audio output is (in use)
20191129 044242 worker: Maintenance completed
20191129 044248 watchdog: INFO Audio output is (closed)
20191129 110222 worker: Maintenance completed
20191129 172210 worker: Maintenance completed
20191129 234208 worker: Maintenance completed
20191130 060154 worker: Maintenance completed
20191130 122153 worker: Maintenance completed
20191130 184146 worker: Maintenance completed
20191130 191811 worker: Job updmpddb
20191130 191917 worker: Job updthmcache
20191130 191919 thmcache: Start
20191130 191919 thmcache: directory: USB
20191130 191924 thmcache: Done: 864 album dirs processed
20191130 192023 watchdog: INFO Audio output is (in use)
20191130 192029 watchdog: INFO Audio output is (closed)
20191130 192100 watchdog: INFO Audio output is (in use)
20191130 193959 watchdog: INFO Audio output is (in use)
20191130 194100 watchdog: INFO Audio output is (in use)
20191130 194107 watchdog: INFO Audio output is (in use)
20191130 194214 watchdog: INFO Audio output is (in use)
20191130 194220 watchdog: INFO Audio output is (in use)
20191130 194709 watchdog: INFO Audio output is (in use)
20191130 194823 watchdog: INFO Audio output is (closed)
20191130 194829 watchdog: INFO Audio output is (in use)
20191130 194835 watchdog: INFO Audio output is (in use)
20191130 195057 watchdog: INFO Audio output is (in use)
20191130 195343 watchdog: INFO Audio output is (in use)
20191130 195408 watchdog: INFO Audio output is (in use)
20191130 195420 watchdog: INFO Audio output is (in use)
20191130 195426 watchdog: INFO Audio output is (closed)
The song plays and the playing time (countdown) does not change.

I'm not seeing anything suspicious in the log.

The countdown timer runs in the Browser's javascript engine so maybe there is something, for example a Browser plugin, thats interfering with it.

You could try opening your Browser's console and then check for errors.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#33
(11-30-2019, 08:38 PM)sjoerdju Wrote: Hi Tim,

Thnx for the update, everything works fine except the maximum volume setting, it keeps putting it to 100% unfortunately. Double-checked it in alsamixer, still says 100.

Let me know if I can be of any help!

You can confirm the setting by the command below

Code:
pi@rp3:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system where id='34'"
34|alsavolume_max|80

Here's the help text for the feature

Code:
Establishes ALSA volume level that is used to set 0dB when MPD volume control is set to Software or Disabled, or when any of the Audio Renderers are active.

Whats your config?

- MPD volume = Software or Disabled?
- Renderer active?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#34
(11-30-2019, 04:43 PM)Tim Curtis Wrote:
(11-30-2019, 05:20 AM)godt2p4 Wrote: Hi, Tim.

Here is a bug, that there is no output for DSD playing when the Graphic EQ is opened, Parametric EQ is workable.

I can repro but I think it's either a bug in MPD or the alsaequal plugin and so not something I can fix.

What's odd is that the issue doesn't occur when SoX resampling is on.

Yep, quite unreasonable bug, not working in some settings, but others are workable...
Reply
#35
(11-30-2019, 03:22 PM)Tim Curtis Wrote:
(11-30-2019, 01:52 PM)suzywong Wrote:
(11-28-2019, 04:13 PM)Tim Curtis Wrote: Here is the first bug :-0

On System Config, 64-bit kernel choice does not show up in the drop down if the Pi is the Allo USBridge SIG. Its due to an error in the friendly name for the SIG.

Here is a temporary fix.

Code:
sudo sed -i 's/Pi-CM3+ Lite/CM3+ Lite/' /var/www/inc/playerlib.php

sudo reboot

I have this on my Allo USBridgeSig. I tried the sed as above (followed by cold reboot), but there was no change  - still no 64 bit option (are we talking about the option on the System Config page?).

Yes, its the option on System Config.

Try below and verify that the strings match. If so then refresh Browser while on System Config.


Code:
grep -o 'Allo USBridge SIG \[CM3+ Lite 1GB v1.0\]' /var/www/inc/playerlib.php
grep -o 'Allo USBridge SIG \[CM3+ Lite 1GB v1.0\]' /var/www/sys-config.php

-Tim
Hi Tim,

They look OK. see attached.

Cheers

c


Attached Files Thumbnail(s)
       
Reply
#36
(11-30-2019, 07:27 PM)Tim Curtis Wrote:
(11-30-2019, 07:21 PM)Herman Wrote:
(11-30-2019, 03:16 PM)Tim Curtis Wrote:
(11-30-2019, 09:42 AM)Herman Wrote:
(11-30-2019, 12:22 AM)Tim Curtis Wrote: Very odd. Maybe auto-shuffle has crashed for some reason.

Try the command below after you experience the issue. It will return a number if auto-shuffle is running. If auto-shuffle has crashed it will return nothing.

Code:
pgrep ashuffle

No return:

That confirms its either not running because Auto-shuffle not ON in Audio Config or it's crashed for some reason.

Are you running the 64-bit kernel?

Hi Tim,

I am not running the 64-bit kernel.
I checked settings, auto shuffle is on and according to system info it is running also.
  

Tried again this "pgrep ashuffle" command, still no return.

:-)

I'm not able to repro the issue.

Well, I did a reinstall, checking every step.
Initially autoshuffle was running ok.
Changing various settings and reboots, no problem.
When I added my NAS (NFS) to the library, autoshuffle stopt running and could not be started anymore.
Reply
#37
hello Tim

a recent moOde user here and really enthusiastic about it

I recently updated (in place) from 6.3.0 and a warning appeared in the system log

20191201 115127 worker: Audio formats (PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 83)

To be sure I made a fresh install of 6.4.0 but the warning is always there

I also noticed that the Max Also Volume in Audio config is not editable and blank, but in the fresh install it is (?) and I can see the value of 100

the attached system log is from 6.4.0 in place updated from 6.3.0

Stefano

   

Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 6.4.0 2019-11-24
Raspbian OS        = 10.1
Linux kernel        = 4.19.83-v8+ #1277
Platform        = Pi-4B 1/2/4GB
Architecture        = aarch64 (64-bit)
System uptime        = up 20 minutes
Timezone        = Europe/Rome
Current time        = 2019-12-01 12:11:37

Host name        = moode
Ethernet address    = 10.0.1.109
Ethernet MAC        = dc:a6:32:21:d7:c9
WLAN address        = unassigned
WLAN MAC        = no adapter
WLAN country        = US

SoC identifier        = bcm2711
Core count        = 4
Kernel timer freq    = 250 Hz
SDCard freq        = 50 MHz
USB boot        = not available
Warranty        = OK

Root size        = 15G
Root used        = 19%
Root available        = 12G
Root expand        = expanded
Memory free        = 3500 MB
Memory used        = 139 MB
SoC temperature        = 52.6°C

CPU governor        = ondemand
Onboard WiFi        = Off
Onboard BT        = Off
HDMI output        = Off
Eth addr wait        = On
Max USB current        = Off
USB (UAC2) fix        = Off
Pi-3B+ eth fix        = Off
SSH term server        = On

PHP-FPM version        = 7.3.9
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = USB audio device
Interface        = USB
Mixer name        = CA Audio 2.0 Output
Hardware volume        = Controller detected
Max ALSA volume        =
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 0
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = Off
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
UPnP client        = On
DLNA server        = Off
GPIO button handler    = Off
UPnP browser        = Off

Auto-shuffle        = Off
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
MPD httpd        = Off

A P P E A R A N C E   S E T T I N G S

Theme            = Pure Black
Accent color        = Emerald
Alpha blend        = 0.50
Adaptive background    = No
Background image    = Yes
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
CoverView auto-display    = Never
CoverView style        = Animated
Auto-shuffle filter    = None
Extra metadata        = Yes
Playback history    = No

L I B R A R Y   S E T T I N G S

Instant play action    = Clear/Play
Show genres column    = Yes
Album grouping        = by Artist
Compilation identifier    = Various Artists
Recently added        = 1 Month
Ignore articles        = a,an,the
UTF8 character filter    = No
Hi-res thumbs        = Auto
Cover search pri    = Embedded cover
Pixel ratio        = 1

M P D   S E T T I N G S

Version            = 0.21.16
Volume control        = disabled
ALSA device        = hw:1
SoX resampling        = disabled
SoX quality        = very high
SoX multithreading    = off
DSD over PCM (DoP)    = yes
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4096 (kb)
Output buffer size    = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = 2.0.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.5
Friendly name        = Moode Airplay
ALSA device        = hw:1
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = Yes

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = plughw:1
Bit rate        = 160
Initial volume        = 0
Volume curve        = Logarithmic
Volume normalization    = No
Normalization pregain    = 0
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.8.7-1052 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = Off
Mouse cursor        = Off
Screen blank        = off Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20191201 115124 worker: -- Start
20191201 115124 worker: Successfully daemonized
20191201 115124 worker: Integrity check (passed)
20191201 115124 worker: Session loaded
20191201 115124 worker: Debug logging (off)
20191201 115124 worker: Device raw: Card0 (ALSA) | Card1 (C20) | I2Sdev (none)
20191201 115124 worker: Device cfg: Name (USB audio device) | Card (1) | MPDdev (1) | Mixer (CA Audio 2.0 Output) | Alsavol: ()
20191201 115124 worker: ALSA volume set to ()
20191201 115124 worker: -- System
20191201 115125 worker: Host name     (moode)
20191201 115125 worker: moOde release (6.4.0 2019-11-24)
20191201 115125 worker: Raspbian OS   (10.1)
20191201 115125 worker: Linux kernel  (4.19.83-v8+ #1277)
20191201 115125 worker: Platform      (Pi-4B 1/2/4GB)
20191201 115125 worker: Architecture  (aarch64)
20191201 115125 worker: MPD version   (0.21.16)
20191201 115125 worker: CPU governor  (ondemand)
20191201 115125 worker: USB boot not available
20191201 115125 worker: File system expanded
20191201 115125 worker: HDMI port off
20191201 115126 worker: File check (OK)
20191201 115126 worker: -- Network
20191201 115126 worker: eth0 exists
20191201 115126 worker: IP addr (10.0.1.109)
20191201 115126 worker: Netmask (255.255.255.0)
20191201 115126 worker: Gateway (10.0.1.1)
20191201 115126 worker: Pri DNS ()
20191201 115126 worker: Domain  (10.0.1.1)
20191201 115126 worker: wlan0 does not exist
20191201 115126 worker: -- Audio
20191201 115126 worker: ALSA outputs unmuted
20191201 115126 worker: ALSA card number (1)
20191201 115126 worker: Audio output (USB audio device)
20191201 115127 worker: Audio formats (PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 83)
20191201 115127 worker: ALSA mixer name (CA Audio 2.0 Output)
20191201 115127 worker: MPD volume control (disabled)
20191201 115127 worker: Hdwr volume controller exists
20191201 115127 worker: Max ALSA volume (%)
20191201 115127 worker: -- Services
20191201 115127 worker: Reset renderer active state
20191201 115127 worker: MPD conf updated
20191201 115127 worker: MPD started
20191201 115128 worker: MPD accepting connections
20191201 115128 worker: Configure MPD outputs
20191201 115128 worker: MPD output 1 ALSA default (on)
20191201 115128 worker: MPD output 2 ALSA crossfeed (off)
20191201 115128 worker: MPD output 3 ALSA parametric eq (off)
20191201 115128 worker: MPD output 4 ALSA graphic eq (off)
20191201 115128 worker: MPD output 5 ALSA polarity inversion (off)
20191201 115128 worker: MPD output 6 ALSA bluetooth (off)
20191201 115128 worker: MPD output 7 HTTP stream (off)
20191201 115128 worker: MPD crossfade (off)
20191201 115128 worker: Audio source (Local)
20191201 115128 worker: Output device (Local)
20191201 115128 worker: UPnP renderer started
20191201 115128 worker: Shellinabox SSH started
20191201 115128 worker: USB auto-mounter (udisks-glue)
20191201 115128 worker: -- Music sources
20191201 115128 worker: USB sources (none attached)
20191201 115128 worker: NAS and UPnP sources (none configured)
20191201 115128 worker: -- Miscellaneous
20191201 115128 worker: Saved MPD vol level (0)
20191201 115128 worker: Preamp volume level (0)
20191201 115128 worker: MPD volume level (0) restored
20191201 115128 worker: ALSA volume level ()
20191201 115128 worker: Auto-play (Off)
20191201 115128 worker: Maintenance interval (6 hrs)
20191201 115128 worker: Screen saver activation (Never)
20191201 115128 worker: Session permissions (OK)
20191201 115128 worker: Watchdog started
20191201 115128 worker: Ready
20191201 115128 watchdog: INFO Audio output is (closed)
Reply
#38
(12-01-2019, 12:29 PM)Herman Wrote:
(11-30-2019, 07:27 PM)Tim Curtis Wrote:
(11-30-2019, 07:21 PM)Herman Wrote:
(11-30-2019, 03:16 PM)Tim Curtis Wrote:
(11-30-2019, 09:42 AM)Herman Wrote: No return:

That confirms its either not running because Auto-shuffle not ON in Audio Config or it's crashed for some reason.

Are you running the 64-bit kernel?

Hi Tim,

I am not running the 64-bit kernel.
I checked settings, auto shuffle is on and according to system info it is running also.
  

Tried again this "pgrep ashuffle" command, still no return.

:-)

I'm not able to repro the issue.

Well, I did a reinstall, checking every step.
Initially autoshuffle was running ok.
Changing various settings and reboots, no problem.
When I added my NAS (NFS) to the library, autoshuffle stopt running and could not be started anymore.

You could try running ahuffle manually and see if it logs any errors that might be useful. First turn it off on Audio Config then from the command line .

Example:
Code:
pi@rp2:~ $ sudo ashuffle
Picking random songs out of a pool of 3959.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#39
(11-30-2019, 08:54 PM)Tim Curtis Wrote:
(11-30-2019, 08:38 PM)sjoerdju Wrote: Hi Tim,

Thnx for the update, everything works fine except the maximum volume setting, it keeps putting it to 100% unfortunately. Double-checked it in alsamixer, still says 100.

Let me know if I can be of any help!

You can confirm the setting by the command below

Code:
pi@rp3:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system where id='34'"
34|alsavolume_max|80

Here's the help text for the feature

Code:
Establishes ALSA volume level that is used to set 0dB when MPD volume control is set to Software or Disabled, or when any of the Audio Renderers are active.

Whats your config?

- MPD volume = Software or Disabled?
- Renderer active?

pi@thequeensb:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system where id='34'"
34|alsavolume_max|87

It goes to 100 when using the Spotify Renderer / Librespot.

- MPD = Hardware (Hifiberry AMP).

Thnx!
Reply
#40
(12-01-2019, 12:30 PM)stefano_mbp Wrote: hello Tim

a recent moOde user here and really enthusiastic about it

I recently updated (in place) from 6.3.0 and a warning appeared in the system log

20191201 115127 worker: Audio formats (PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 83)

To be sure I made a fresh install of 6.4.0 but the warning is always there

I also noticed that the Max Also Volume in Audio config is not editable and blank, but in the fresh install it is (?) and I can see the value of 100

the attached system log is from 6.4.0 in place updated from 6.3.0

Stefano



Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 6.4.0 2019-11-24
Raspbian OS        = 10.1
Linux kernel        = 4.19.83-v8+ #1277
Platform        = Pi-4B 1/2/4GB
Architecture        = aarch64 (64-bit)
System uptime        = up 20 minutes
Timezone        = Europe/Rome
Current time        = 2019-12-01 12:11:37

Host name        = moode
Ethernet address    = 10.0.1.109
Ethernet MAC        = dc:a6:32:21:d7:c9
WLAN address        = unassigned
WLAN MAC        = no adapter
WLAN country        = US

SoC identifier        = bcm2711
Core count        = 4
Kernel timer freq    = 250 Hz
SDCard freq        = 50 MHz
USB boot        = not available
Warranty        = OK

Root size        = 15G
Root used        = 19%
Root available        = 12G
Root expand        = expanded
Memory free        = 3500 MB
Memory used        = 139 MB
SoC temperature        = 52.6°C

CPU governor        = ondemand
Onboard WiFi        = Off
Onboard BT        = Off
HDMI output        = Off
Eth addr wait        = On
Max USB current        = Off
USB (UAC2) fix        = Off
Pi-3B+ eth fix        = Off
SSH term server        = On

PHP-FPM version        = 7.3.9
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = USB audio device
Interface        = USB
Mixer name        = CA Audio 2.0 Output
Hardware volume        = Controller detected
Max ALSA volume        =
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 0
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = Off
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
UPnP client        = On
DLNA server        = Off
GPIO button handler    = Off
UPnP browser        = Off

Auto-shuffle        = Off
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
MPD httpd        = Off

A P P E A R A N C E   S E T T I N G S

Theme            = Pure Black
Accent color        = Emerald
Alpha blend        = 0.50
Adaptive background    = No
Background image    = Yes
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
CoverView auto-display    = Never
CoverView style        = Animated
Auto-shuffle filter    = None
Extra metadata        = Yes
Playback history    = No

L I B R A R Y   S E T T I N G S

Instant play action    = Clear/Play
Show genres column    = Yes
Album grouping        = by Artist
Compilation identifier    = Various Artists
Recently added        = 1 Month
Ignore articles        = a,an,the
UTF8 character filter    = No
Hi-res thumbs        = Auto
Cover search pri    = Embedded cover
Pixel ratio        = 1

M P D   S E T T I N G S

Version            = 0.21.16
Volume control        = disabled
ALSA device        = hw:1
SoX resampling        = disabled
SoX quality        = very high
SoX multithreading    = off
DSD over PCM (DoP)    = yes
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4096 (kb)
Output buffer size    = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = 2.0.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.5
Friendly name        = Moode Airplay
ALSA device        = hw:1
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = Yes

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = plughw:1
Bit rate        = 160
Initial volume        = 0
Volume curve        = Logarithmic
Volume normalization    = No
Normalization pregain    = 0
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.8.7-1052 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = Off
Mouse cursor        = Off
Screen blank        = off Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20191201 115124 worker: -- Start
20191201 115124 worker: Successfully daemonized
20191201 115124 worker: Integrity check (passed)
20191201 115124 worker: Session loaded
20191201 115124 worker: Debug logging (off)
20191201 115124 worker: Device raw: Card0 (ALSA) | Card1 (C20) | I2Sdev (none)
20191201 115124 worker: Device cfg: Name (USB audio device) | Card (1) | MPDdev (1) | Mixer (CA Audio 2.0 Output) | Alsavol: ()
20191201 115124 worker: ALSA volume set to ()
20191201 115124 worker: -- System
20191201 115125 worker: Host name     (moode)
20191201 115125 worker: moOde release (6.4.0 2019-11-24)
20191201 115125 worker: Raspbian OS   (10.1)
20191201 115125 worker: Linux kernel  (4.19.83-v8+ #1277)
20191201 115125 worker: Platform      (Pi-4B 1/2/4GB)
20191201 115125 worker: Architecture  (aarch64)
20191201 115125 worker: MPD version   (0.21.16)
20191201 115125 worker: CPU governor  (ondemand)
20191201 115125 worker: USB boot not available
20191201 115125 worker: File system expanded
20191201 115125 worker: HDMI port off
20191201 115126 worker: File check (OK)
20191201 115126 worker: -- Network
20191201 115126 worker: eth0 exists
20191201 115126 worker: IP addr (10.0.1.109)
20191201 115126 worker: Netmask (255.255.255.0)
20191201 115126 worker: Gateway (10.0.1.1)
20191201 115126 worker: Pri DNS ()
20191201 115126 worker: Domain  (10.0.1.1)
20191201 115126 worker: wlan0 does not exist
20191201 115126 worker: -- Audio
20191201 115126 worker: ALSA outputs unmuted
20191201 115126 worker: ALSA card number (1)
20191201 115126 worker: Audio output (USB audio device)
20191201 115127 worker: Audio formats (PHP Warning:  Invalid argument supplied for foreach() in /usr/local/bin/moodeutl on line 83)
20191201 115127 worker: ALSA mixer name (CA Audio 2.0 Output)
20191201 115127 worker: MPD volume control (disabled)
20191201 115127 worker: Hdwr volume controller exists
20191201 115127 worker: Max ALSA volume (%)
20191201 115127 worker: -- Services
20191201 115127 worker: Reset renderer active state
20191201 115127 worker: MPD conf updated
20191201 115127 worker: MPD started
20191201 115128 worker: MPD accepting connections
20191201 115128 worker: Configure MPD outputs
20191201 115128 worker: MPD output 1 ALSA default (on)
20191201 115128 worker: MPD output 2 ALSA crossfeed (off)
20191201 115128 worker: MPD output 3 ALSA parametric eq (off)
20191201 115128 worker: MPD output 4 ALSA graphic eq (off)
20191201 115128 worker: MPD output 5 ALSA polarity inversion (off)
20191201 115128 worker: MPD output 6 ALSA bluetooth (off)
20191201 115128 worker: MPD output 7 HTTP stream (off)
20191201 115128 worker: MPD crossfade (off)
20191201 115128 worker: Audio source (Local)
20191201 115128 worker: Output device (Local)
20191201 115128 worker: UPnP renderer started
20191201 115128 worker: Shellinabox SSH started
20191201 115128 worker: USB auto-mounter (udisks-glue)
20191201 115128 worker: -- Music sources
20191201 115128 worker: USB sources (none attached)
20191201 115128 worker: NAS and UPnP sources (none configured)
20191201 115128 worker: -- Miscellaneous
20191201 115128 worker: Saved MPD vol level (0)
20191201 115128 worker: Preamp volume level (0)
20191201 115128 worker: MPD volume level (0) restored
20191201 115128 worker: ALSA volume level ()
20191201 115128 worker: Auto-play (Off)
20191201 115128 worker: Maintenance interval (6 hrs)
20191201 115128 worker: Screen saver activation (Never)
20191201 115128 worker: Session permissions (OK)
20191201 115128 worker: Watchdog started
20191201 115128 worker: Ready
20191201 115128 watchdog: INFO Audio output is (closed)

Hi Stefano,

The Sysinfo output suggests that part of the Update did not complete successfully. The Update bumps to Raspbian OS 10.2 and PHP 7.3.11

Code:
Raspbian OS        = 10.1
PHP-FPM version    = 7.3.9

And also there does not appear to be a primary DNS and the Domain name rather than a "name" is an IP address. This data comes from Linux /etc/resolv.conf which should have both "domain" and "name server" parameters. See the example output from one of my systems.

Code:
20191201 115126 worker: Pri DNS ()
20191201 115126 worker: Domain  (10.0.1.1)

Example:
Code:
pi@rp2:~ $ cat /etc/resolv.conf
# Generated by resolvconf
domain home
nameserver 192.168.1.1

Finally, there is some sort of issue with missing ALSA volume. "Alsavol: ()".

Code:
20191201 115124 worker: Device cfg: Name (USB audio device) | Card (1) | MPDdev (1) | Mixer (CA Audio 2.0 Output) | Alsavol: ()
20191201 115124 worker: ALSA volume set to ()

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: