Thank you for your donation!


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


Official moOde 6.6.0 support thread
#41
(07-12-2020, 09:14 PM)Tim Curtis Wrote:
(07-12-2020, 08:27 PM)hestehandler Wrote: I installed 6.6.0 on a fresh Pi 4B and got it set up with my NAS library. However, after the library has been successfully scanned, only about one page of albums are shown, and that is after the web interface has reported ‘Reloading Library’. Further, in Rigelian (the MPD client) only the ‘Koz Stereo Test’ is shown. Restarting the Pi does not help. Moode reports that all ~6500 albums are scanned.

Sysinfo:

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

moOde release = 6.6.0 2020-07-09
RaspiOS = 10.4
Linux kernel = 5.4.49-v8+ #1323
Platform = Pi-4B 4GB v1.1
Architecture = aarch64 (64-bit)
System uptime = up 4 minutes
Timezone = Europe/Amsterdam
Current time = 2020-07-12 22:26:11

Host name = moode
Ethernet address = 192.168.1.5
Ethernet MAC = dc:a6:32:42:53:ec
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 = 14G
Root used = 20%
Root available = 11G
Root expand = expanded
Memory free = 3540 MB
Memory used = 95 MB
SoC temperature = 50.1°C

CPU governor = ondemand
Onboard WiFi = Off
Onboard BT = Off
HDMI output = Off
LED state = 1,1
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.14
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 = On-board audio device
Interface = SoC
Mixer name = Headphone
Hardware volume = Controller detected
Max ALSA volume = 100
Max MPD volume = 100
Volume step limit = 10
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 = Off
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
USB volume knob = Off
Polarity inversion = Off
Crossfeed = Off
Crossfade = Off
Parametric EQ = Off
Graphic EQ = Off
MPD httpd = On

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

Themes and backgrounds
----------------------
Theme = Default
Accent color = Emerald
Alpha blend = 1.0
Adaptive background = No
Background image = No
Cover backdrop = No
Cover blur = 20px
Cover scale = 1.25

Library options
----------------------
Instant play action = Add/Play
Show tagview genres = Yes
Show tagview covers = Yes
Show sample rate = No
Ellipsis limited text = No
Thumbnail columns = 6/2 (Default)
Albumview sort order = by Artist
Tagview sort order = 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 = 2

Coverview screen saver
----------------------
CoverView auto-display = 60
CoverView style = Theme

Other options
----------------------
Font size = Normal
Auto-shuffle filter = None
Extra metadata = track,disc,date,composer,encoded
Playback history = No
First use help = n,n

M P D   S E T T I N G S

Version = 0.21.24
Volume control = disabled
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 = 65535 (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 = v2.1.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.6
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
Autoplay = No
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 = On
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

20200712 222213 worker: -- Start
20200712 222214 worker: Successfully daemonized
20200712 222214 worker: Integrity check (passed)
20200712 222214 worker: Session loaded
20200712 222214 worker: Debug logging (off)
20200712 222214 worker: Device raw: (0:Headphones|1:empty|i2s:none)
20200712 222214 worker: Device mpd: (0:On-board audio device)
20200712 222214 worker: Device ses: (0|On-board audio device||Headphone|0%)
20200712 222214 worker: ALSA Headphone volume (0%)
20200712 222214 worker: -- System
20200712 222215 worker: Host     (moode)
20200712 222215 worker: moOde    (6.6.0 2020-07-09)
20200712 222215 worker: RaspiOS  (10.4)
20200712 222215 worker: Kernel   (5.4.49-v8+ #1323)
20200712 222215 worker: Platform (Pi-4B 4GB v1.1)
20200712 222215 worker: ARM arch (aarch64, 64-bit kernel)
20200712 222215 worker: MPD ver  (0.21.24)
20200712 222215 worker: CPU gov  (ondemand)
20200712 222215 worker: USB boot not available
20200712 222215 worker: File system expanded
20200712 222215 worker: HDMI port off
20200712 222215 worker: File check (OK)
20200712 222215 worker: -- Network
20200712 222216 worker: eth0 exists
20200712 222216 worker: IP addr (192.168.1.5)
20200712 222216 worker: Netmask (255.255.255.0)
20200712 222216 worker: Gateway (192.168.1.1)
20200712 222216 worker: Pri DNS (194.134.5.55)
20200712 222216 worker: Domain  (192.168.1.1)
20200712 222216 worker: wlan0 does not exist
20200712 222216 worker: -- Audio
20200712 222216 worker: MPD conf updated
20200712 222216 worker: ALSA outputs unmuted
20200712 222216 worker: ALSA card number (0)
20200712 222216 worker: Audio output (On-board audio device)
20200712 222216 worker: Audio formats (U8, S16_LE)
20200712 222216 worker: ALSA mixer name (Headphone)
20200712 222216 worker: MPD volume control (disabled)
20200712 222216 worker: Hdwr volume controller exists
20200712 222216 worker: Max ALSA volume (100%)
20200712 222216 worker: Reset renderer active flags
20200712 222216 worker: -- MPD
20200712 222217 worker: MPD started
20200712 222217 worker: MPD accepting connections
20200712 222217 worker: Configure MPD outputs
20200712 222217 worker: MPD output 1 ALSA default (on)
20200712 222217 worker: MPD output 2 ALSA crossfeed (off)
20200712 222217 worker: MPD output 3 ALSA parametric eq (off)
20200712 222217 worker: MPD output 4 ALSA graphic eq (off)
20200712 222217 worker: MPD output 5 ALSA polarity inversion (off)
20200712 222217 worker: MPD output 6 ALSA bluetooth (off)
20200712 222217 worker: MPD output 7 HTTP stream (on)
20200712 222217 worker: MPD crossfade (off)
20200712 222217 worker: -- Feature availability
20200712 222217 worker: Source select (available)
20200712 222217 worker: Source select (source: MPD)
20200712 222217 worker: Source select (output: On-board audio device)
20200712 222217 worker: Bluetooth (available)
20200712 222217 worker: Airplay renderer (available)
20200712 222217 worker: Spotify renderer (available)
20200712 222217 worker: Squeezelite renderer (available)
20200712 222217 worker: UPnP renderer (available)
20200712 222217 worker: DLNA server (available)
20200712 222217 worker: UPnP browser (available)
20200712 222217 worker: Audio scrobbler (available)
20200712 222217 worker: Audio scrobbler (started)
20200712 222217 worker: GPIO button handler (available)
20200712 222217 worker: -- Music sources
20200712 222217 worker: USB sources (none attached)
20200712 222218 worker: NAS and UPnP sources (mountall initiated)
20200712 222218 worker: -- Miscellaneous
20200712 222218 worker: USB volume knob (Off)
20200712 222218 worker: Shellinabox SSH started
20200712 222218 worker: USB auto-mounter (udisks-glue)
20200712 222218 worker: LED0 (On)
20200712 222218 worker: LED1 (On)
20200712 222218 worker: Saved MPD vol level (0)
20200712 222218 worker: Preamp volume level (0)
20200712 222218 worker: MPD volume level (0) restored
20200712 222218 worker: ALSA Headphone volume (100%)
20200712 222218 worker: Auto-play (Off)
20200712 222218 worker: Maintenance interval (3 hrs)
20200712 222218 worker: Screen saver activation (60)
20200712 222218 worker: Session permissions (OK)
20200712 222218 worker: Watchdog started
20200712 222218 worker: Ready
20200712 222544 worker: Job compactdb

Try clearing the Library tag cache. It's an option in the Library Config screen.

You can also run mpc stats command to see how many Artists/Albums/Songs MPD indexed.

As far as 3rd party MPD clients go our project only support moOde's built-in WebUI.

Clearing the tag cache just cleared the ~one page of albums, and now there is only the test track. The web UI reports ‘Done: 6443 albums processed’, whereas mpc stats reports:
Artists:      1
Albums:       1
Songs:        1

Play Time:    0 days, 0:00:00
Uptime:       0 days, 0:03:58
DB Updated:   Thu Jul  2 19:24:24 2020
DB Play Time: 0 days, 0:00:38
Reply
#42
mpc stats represents the results of the MPD database scan. The "Done..." message on Library Config screen represents the number of album directories scanned by the thumbnail generator.

The mpc stats result suggests that MPD is not able to successfully scan your files, possibly due to permission issues.

Check the MPD log for errors, and also check the Moode log to make sure MPD hasn't crashed and is being restarted by watchdog.

Code:
cat /var/log/mpd/log

moodeutl -l

Also try changing back to 32-bit kernel and MPD 0.21.24.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#43
(07-12-2020, 09:47 PM)Tim Curtis Wrote: mpc stats represents the results of the MPD database scan. The "Done..." message on Library Config screen represents the number of album directories scanned by the thumbnail generator.

The mpc stats result suggests that MPD is not able to successfully scan your files, possibly due to permission issues.

Check the MPD log for errors, and also check the Moode log to make sure MPD hasn't crashed and is being restarted by watchdog.

Code:
cat /var/log/mpd/log

moodeutl -l

Also try changing back to 32-bit kernel and MPD 0.21.24.

Both look fine and error free. I’m doing a re-scan of the library now to follow along in the logs. After that I’ll try the 32-bit kernel.
Reply
#44
If MPC stats only shows 1 album in the MPD database I don't see how the MPD log could "look fine and error free"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#45
(07-12-2020, 10:20 PM)Tim Curtis Wrote: If MPC stats only shows 1 album in the MPD database I don't see how the MPD log could "look fine and error free"

Well, here’s a snippet of what is going on:
Code:
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Ballet/16 Girlfriend.m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/01 Introduction.m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/02 1941 (Slowed Down Track & Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/03 Daddy_s Song (New Vocals, Guitar_Piano_Out of Sync).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/04 Mr. Richland_s Fav. Song (New Background Vocals & Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/05 Good Old Desk (Slowed Down Track & Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/06 Everybody_s Talkin_ (Dumped Second Voice & Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/07 Bath (Re-Eq_d Original Tracks).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/08 Fill.m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/09 River Deep - Mountain High (New Vocals & Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/10 Sleep Late, My Lady Friend (Remixed).m4a
Jul 13 00:21 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 13 00:21 : update: added NAS/Mother/Harry Nilsson/Aerial Pandemonium Ballet/11 Don_t Leave Me (Remixed).m4a

And here is the moodeutl
Code:
20200712 223117 worker: -- Start
20200712 223117 worker: Successfully daemonized
20200712 223117 worker: Integrity check (passed)
20200712 223117 worker: Session loaded
20200712 223117 worker: Debug logging (off)
20200712 223117 worker: Device raw: (0:Headphones|1:empty|i2s:none)
20200712 223117 worker: Device mpd: (0:On-board audio device)
20200712 223117 worker: Device ses: (0|On-board audio device||Headphone|0%)
20200712 223118 worker: ALSA Headphone volume (0%)
20200712 223118 worker: -- System
20200712 223119 worker: Host     (moode)
20200712 223119 worker: moOde    (6.6.0 2020-07-09)
20200712 223119 worker: RaspiOS  (10.4)
20200712 223119 worker: Kernel   (5.4.49-v8+ #1323)
20200712 223119 worker: Platform (Pi-4B 4GB v1.1)
20200712 223119 worker: ARM arch (aarch64, 64-bit kernel)
20200712 223119 worker: MPD ver  (0.21.24)
20200712 223119 worker: CPU gov  (ondemand)
20200712 223119 worker: USB boot not available
20200712 223119 worker: File system expanded
20200712 223119 worker: HDMI port off
20200712 223119 worker: File check (OK)
20200712 223119 worker: -- Network
20200712 223119 worker: eth0 exists
20200712 223119 worker: eth0 wait 0 for IP address
20200712 223122 worker: IP addr (192.168.1.5)
20200712 223122 worker: Netmask (255.255.255.0)
20200712 223123 worker: Gateway (192.168.1.1)
20200712 223123 worker: Pri DNS (194.134.5.55)
20200712 223123 worker: Domain  (192.168.1.1)
20200712 223123 worker: wlan0 does not exist
20200712 223123 worker: -- Audio
20200712 223123 worker: MPD conf updated
20200712 223123 worker: ALSA outputs unmuted
20200712 223123 worker: ALSA card number (0)
20200712 223123 worker: Audio output (On-board audio device)
20200712 223123 worker: Audio formats (U8, S16_LE)
20200712 223123 worker: ALSA mixer name (Headphone)
20200712 223123 worker: MPD volume control (disabled)
20200712 223123 worker: Hdwr volume controller exists
20200712 223123 worker: Max ALSA volume (100%)
20200712 223123 worker: Reset renderer active flags
20200712 223123 worker: -- MPD
20200712 223123 worker: MPD started
20200712 223124 worker: MPD accepting connections
20200712 223124 worker: Configure MPD outputs
20200712 223124 worker: MPD output 1 ALSA default (on)
20200712 223124 worker: MPD output 2 ALSA crossfeed (off)
20200712 223124 worker: MPD output 3 ALSA parametric eq (off)
20200712 223124 worker: MPD output 4 ALSA graphic eq (off)
20200712 223124 worker: MPD output 5 ALSA polarity inversion (off)
20200712 223124 worker: MPD output 6 ALSA bluetooth (off)
20200712 223124 worker: MPD output 7 HTTP stream (on)
20200712 223124 worker: MPD crossfade (off)
20200712 223124 worker: -- Feature availability
20200712 223124 worker: Source select (available)
20200712 223124 worker: Source select (source: MPD)
20200712 223124 worker: Source select (output: On-board audio device)
20200712 223124 worker: Bluetooth (available)
20200712 223124 worker: Airplay renderer (available)
20200712 223124 worker: Spotify renderer (available)
20200712 223124 worker: Squeezelite renderer (available)
20200712 223124 worker: UPnP renderer (available)
20200712 223124 worker: DLNA server (available)
20200712 223124 worker: UPnP browser (available)
20200712 223124 worker: Audio scrobbler (available)
20200712 223124 worker: Audio scrobbler (started)
20200712 223124 worker: GPIO button handler (available)
20200712 223124 worker: -- Music sources
20200712 223124 worker: USB sources (none attached)
20200712 223125 worker: NAS and UPnP sources (mountall initiated)
20200712 223125 worker: -- Miscellaneous
20200712 223125 worker: USB volume knob (Off)
20200712 223125 worker: Shellinabox SSH started
20200712 223125 worker: USB auto-mounter (udisks-glue)
20200712 223125 worker: LED0 (On)
20200712 223125 worker: LED1 (On)
20200712 223125 worker: Saved MPD vol level (0)
20200712 223125 worker: Preamp volume level (0)
20200712 223125 worker: MPD volume level (0) restored
20200712 223125 worker: ALSA Headphone volume (100%)
20200712 223125 worker: Auto-play (Off)
20200712 223125 worker: Maintenance interval (3 hrs)
20200712 223125 worker: Screen saver activation (60)
20200712 223125 worker: Session permissions (OK)
20200712 223125 worker: Watchdog started
20200712 223125 worker: Ready
20200712 234804 worker: Job regen_library
20200712 234804 thmcache: Start
20200712 234804 thmcache: Scanning: NAS, SDCARD, UPNP
20200712 234957 thmcache: Done: 6443 album dirs processed
Reply
#46
Very odd cos your MPD log showing "added" doesn't agree with mpc stats which queries the MPD database same as if you ran command below.

telnet localhost 6600
stats
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#47
(07-12-2020, 10:31 PM)Tim Curtis Wrote: Very odd cos your MPD log showing "added" doesn't agree with mpc stats which queries the MPD database same as if you ran command below.

telnet localhost 6600
stats

I’ve set the kernel to 32-bit, and I’ve started a library regeneration.

Code:
pi@moode:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.21.11
stats
uptime: 183
playtime: 0
artists: 1
albums: 1
songs: 1
db_playtime: 38
db_update: 1593710664
OK
Reply
#48
(07-12-2020, 10:31 PM)Tim Curtis Wrote: Very odd cos your MPD log showing "added" doesn't agree with mpc stats which queries the MPD database same as if you ran command below.

telnet localhost 6600
stats

It took ages for the 32-bit to finish indexing, but it successfully finished, and all the tracks are indexed and shown in the UI. So some odd problem in the 64-bit world…
Reply
#49
At widths less than 479px (portrait orientation) the 'index-albums/alphabits' A-Z index which is normally to the right of the screen appears to switch position to directly overlap the index-artists/alphabits' A-Z index in the centre of the screen.

Slightly different look depending on whether 'Show-genres' = yes or no:

When = 'yes' the two lists are slightly different so they appear as a 'jumble' of letters (as per attached).

When = 'no' the two lists are identical in appearance so the 'index-artists' list appears to be completely hidden beneath the 'index-artists' list.


Attached Files Thumbnail(s)
   
Pi-4B[1GB] with Allo DigiOne SPDIF

'This is the time. And this is the record of the time.'
Reply
#50
I have done both an in place update and fresh install without any sound or functionality issues apart from Auto shuffle not adding tracks once the last song in a playlist has finished. Auto shuffle is on and the random icon was selected. Interesting play random album feature works great.

I have not tested this feature for more than a year as I was never able to figure out the problem. The music source is a NAS Samba type and the library has 2,174 albums could that be a factor?
Reply


Forum Jump: