Thank you for your donation!


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


Problem: Blank screen Library > Tags, Albums
#11
(08-25-2020, 02:16 PM)TheOldPresbyope Wrote: @RPI4 Rambler

Hi, Marco.

We can't give good answers if you don't supply basic information.

Post the output from moodeutl -s. This helps us judge the basic health of your system. (I originally wrote -l but -s gives more complete info.)

Since you are struggling with the MPD library, show us what MPD thinks is in it. Since you're comfortable working from the command line:

Post the actual output from mpc stats.

Post the output from, say, mpc list album (or one of the other major tag fields in your collection such as title, artist, genre). This is the information used to construct the views in the moOdeUI.

The RPi4B is quite capable of indexing large collections but the upper limit depends of various factors. I have a modest collection of ca 6000 tracks and even an RPi0W is happy with it. Others have collections well into the 10K to 20K range. 

How big is yours? If it's into the 30K+ tracks range I think neither moOde nor any other MPD-based player running on an SBC will perform well. If your collection is supersized, you could test the hypothesis that size matters by mounting only of your six NAS shares and checking the result.

There is no call for fiddling with system files such as mpd.conf. The moOdeUI provides access to all the configuration parameters a normal user needs and, as you've discovered, overwrites mpd.conf.

Most users problems with the Library have been traced to their tags. What matters is what MPD and its plugins recognize, not  indexing-status info from a NAS package like minimserver.

Regards,
Kent

Hi Kent,

Thanks for your reply. My collection is much bigger though:


Code:
mpc stats
Artists:  20191
Albums:   18739
Songs:   266810

Play Time:    0 days, 0:00:00
Uptime:       1 days, 1:49:36
DB Updated:   Mon Aug 24 14:35:01 2020
DB Play Time: 827 days, 12:51:11

Off topic to come, though. Some forumistas seem to interpret problems people have with Moode as an attack on the system. Actually, Moode is my favorite, and I tried quite a few.
Now, I have a RPI3B+ as well, running Volumio, and if you don't edit mpd.conf accordingly MPD will crash on all sorts of parameters that are set far too low to handle a library as big as this, guaranteed. There is really a big need to edit mpd.conf in this case, trust me. Some settings implemented in my Moode's mpd.conf are way over default too, like these for instance:


Code:
max_output_buffer_size "131072"
max_connections "128"

The default for max_connections is 10, according to MPD's creators, recommended even. The whole point of editing of mpd.conf (Moode does it automatically all the time) is to make MPD flexible. Volumio will not change mpd.conf to suit the needs of indexing, for instance, but it does change a couple of things according to some UI settings, half-way house as it were. Volumio does not overwrite mpd.conf but edits it. Big difference. However, in Volumio indexing is handled very differently from Moode's so we should let this go.

I strongly disagree with your position that one should not meddle with the innards of a system. So many systems have so many bugs, that you're forced too. I'm beginning to (blasphemy!) hate MPD (especially when the so-called stable version is a lot less stable than the next-up beta) as much as Tim hates NFS, I guess. But then, I have been growing up with DEC's VAX VMS OS, still an amazing OS; I'm still seeing stuff in Linux that has its origins in VMS.

If you would make a comparison of indexing speed between an RPI4 and say, Minimserver on a similarly powered NAS, you'd be amazed.  OK, wayyyyyy off topic now.

My music library has no tagging problems. As I said earlier, Twonky, Minimserver, LMS have no problem whatsoever with my music library as far as tagging or size is concerned. Any robust server system would not, though 10 years ago you might have been right.
Reply
#12
Ok, you asked for it so here goes moodeutl -s: 

Code:
pi@moode:/var/lib/mpd/music/NAS/DSD $ moodeutl -s
Generating info...

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

moOde release           = 6.7.1 2020-07-22
RaspiOS                 = 10.4
Linux kernel            = 5.4.51-v7l+ #1325
Platform                = Pi-4B 2GB v1.1
Architecture            = armv7l (32-bit)
System uptime           = up 1 day, 3 hours, 31 minutes
Timezone                = Europe/Amsterdam
Current time            = 2020-08-25 20:10:55

Host name               = moode
Ethernet address        = [erased]
Ethernet MAC            = [erased]
WLAN address            = unassigned
WLAN MAC                = no adapter
WLAN country            = US

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

Root size               = 59G
Root used               = 5%
Root available          = 54G
Root expand             = expanded
Memory free             = 1374 MB
Memory used             = 170 MB
SoC temperature         = 51.1°C

CPU governor            = ondemand
Onboard WiFi            = Off
Onboard BT              = On
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            = USB audio device
Interface               = SoC
Mixer name              = D10
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        = On
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
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                   = Chikory Root
Accent color            = Emerald
Alpha blend             = 0.95
Adaptive background     = Yes
Background image        = No
Cover backdrop          = No
Cover blur              = 20px
Cover scale             = 1.25

Library options
----------------------
Instant play action     = Clear/Play
Show tagview genres     = Yes
Show tagview covers     = Yes
Show sample rate        = Text
Ellipsis limited text   = No
Thumbnail columns       = 6/2 (Default)
Albumview sort order    = by Artist
Tagview sort order      = by Artist/Year
Compilation identifier  = Various Artists
Recently added          = 1 Month
Ignore articles         = a,an,the
UTF8 character filter   = No
Hi-res thumbs           = Auto
Cover search pri        = Cover image file
Pixel ratio             = 1.5

Coverview screen saver
----------------------
CoverView auto-display  = Never
CoverView style         = Gradient (Linear)

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

M P D   S E T T I N G S

Version                 = 0.21.24
Volume control          = disabled
ALSA device             = hw:2
SoX resampling          = disabled
SoX quality             = very high
SoX multithreading      = on
DSD over PCM (DoP)      = no
Replaygain              = off
Replaygain preamp       = 0
Volume normalization    = No
Audio buffer            = 8192 (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:2
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:2
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    = On
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

20200824 163907 worker: -- Start
20200824 163907 worker: Successfully daemonized
20200824 163908 worker: Integrity check (passed)
20200824 163908 worker: Session loaded
20200824 163908 worker: Debug logging (off)
20200824 163908 worker: Device raw: (0:b1|1:Headphones|2:D10|3:empty
20200824 163908 worker: Device i2s: (none)
20200824 163908 worker: Device mpd: (2:D10)
20200824 163908 worker: Device ses: (2|D10|D10 |0%)
20200824 163908 worker: ALSA D10  volume set to (0%)
20200824 163908 worker: -- System
20200824 163909 worker: Host     (moode)
20200824 163909 worker: moOde    (6.7.1 2020-07-22)
20200824 163909 worker: RaspiOS  (10.4)
20200824 163909 worker: Kernel   (5.4.51-v7l+ #1325)
20200824 163909 worker: Platform (Pi-4B 2GB v1.1)
20200824 163909 worker: ARM arch (armv7l, 32-bit kernel)
20200824 163909 worker: MPD ver  (0.21.24)
20200824 163909 worker: CPU gov  (ondemand)
20200824 163909 worker: USB boot not available
20200824 163909 worker: File system expanded
20200824 163909 worker: HDMI port off
20200824 163910 worker: File check (OK)
20200824 163910 worker: -- Network
20200824 163910 worker: eth0 exists
20200824 163910 worker: IP addr (ERASED)
20200824 163910 worker: Netmask (255.255.255.0)
20200824 163910 worker: Gateway (ERASED)
20200824 163910 worker: Pri DNS (103.86.99.100)
20200824 163910 worker: Domain  (103.86.96.100)
20200824 163910 worker: wlan0 does not exist
20200824 163910 worker: -- Audio
20200824 163911 worker: MPD conf updated
20200824 163911 worker: ALSA outputs unmuted
20200824 163911 worker: ALSA card number (2)
20200824 163911 worker: Audio output (D10)
20200824 163912 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20200824 163912 worker: ALSA mixer name (D10 )
20200824 163912 worker: MPD volume control (disabled)
20200824 163912 worker: Hdwr volume controller exists
20200824 163912 worker: Max ALSA volume (100%)
20200824 163912 worker: Reset renderer active flags
20200824 163912 worker: -- MPD
20200824 163912 worker: MPD started
20200824 163917 worker: MPD accepting connections
20200824 163917 worker: Configure MPD outputs
20200824 163917 worker: MPD output 1 ALSA default (on)
20200824 163917 worker: MPD output 2 ALSA crossfeed (off)
20200824 163917 worker: MPD output 3 ALSA parametric eq (off)
20200824 163917 worker: MPD output 4 ALSA graphic eq (off)
20200824 163917 worker: MPD output 5 ALSA polarity inversion (off)
20200824 163917 worker: MPD output 6 ALSA bluetooth (off)
20200824 163917 worker: MPD output 7 HTTP stream (on)
20200824 163917 worker: MPD crossfade (off)
20200824 163917 worker: -- Feature availability
20200824 163917 worker: Source select (available)
20200824 163917 worker: Source select (source: MPD)
20200824 163917 worker: Source select (output: D10)
20200824 163917 worker: Bluetooth (available)
20200824 163917 worker: Airplay renderer (available)
20200824 163917 worker: Airplay renderer (started)
20200824 163917 worker: Spotify renderer (available)
20200824 163917 worker: Squeezelite renderer (available)
20200824 163917 worker: UPnP renderer (available)
20200824 163917 worker: UPnP renderer (started)
20200824 163917 worker: DLNA server (available)
20200824 163917 worker: UPnP browser (available)
20200824 163918 worker: UPnP browser (started)
20200824 163918 worker: Audio scrobbler (available)
20200824 163918 worker: GPIO button handler (available)
20200824 163918 worker: -- Music sources
20200824 163918 worker: USB sources (none attached)
20200824 163920 worker: NAS and UPnP sources (mountall initiated)
20200824 163920 worker: -- Miscellaneous
20200824 163920 worker: USB volume knob (Off)
20200824 163920 worker: Shellinabox SSH started
20200824 163920 worker: USB auto-mounter (udisks-glue)
20200824 163920 worker: LED0 (On)
20200824 163920 worker: LED1 (On)
20200824 163920 worker: Saved MPD vol level (0)
20200824 163920 worker: Preamp volume level (0)
20200824 163920 worker: MPD volume level (0) restored
20200824 163920 worker: ALSA D10  volume (100%)
20200824 163920 worker: Auto-play (Off)
20200824 163920 worker: Maintenance interval (3 hrs)
20200824 163920 worker: Screen saver activation (Never)
20200824 163920 worker: Session permissions (OK)
20200824 163920 worker: Watchdog started
20200824 163920 worker: Ready

I'm probably stupid, though I have seen this before, but I can't see any faults here. Then again, I don't pretend to know anything about Moode or Linux (I'm a DEC VMS man, with a bit of PDP under my belt for those who remember) so I'm not completely clueless.
Maybe omissions, but then indicators would have been issued? Like, USB sources (none attached). 

Oh, and one more thing for Kent: no, I haven't touched mpd.conf but I did have a look at it. And I would like to change the metadata to "albumartist,artist,album,track,title,genre,date,disc". This can be done in MPD but it looks like it's done elsewhere in Moode.

Cheers guys, I really do wish to understand Moode better,
marco
Reply
#13
@RPI4 Rambler

Hi, Marco.

MPD already indexes the metadata you are asking for.

Here as proof, on a stock moOde 6.7.1 player with a NAS library served as a SMB share from OpenMediaVault, are some examples of the output I asked for from you:

Code:
pi@moode3a:~ $ mpc list albumartist

Aaron Copland
Abdelazar
Academy of St Martin in the Fields
Al Di Meola
...

pi@moode3a:~ $ mpc list artist

A.Khachaturian
A.Piazolla
A.Vivaldi
Abdelazar
...

pi@moode3a:~ $ mpc list album

'Four' & More
16 of Their Greatest Hits
1999 - Chopin - Klavierkonzert 1 u.a. - Ax
2400 Fulton Street: An Anthology
...

pi@moode3a:~ $ mpc list track

1
10
101
102
...

pi@moode3a:~ $ mpc list title

"Air on the G String" (from Suite III), BWV 1068
"Airs from Vauxhall Gardens"
"Jewish Rapsody", Int. V. Malinovski
"Manfred" Ouvertüre op. 115
...

pi@moode3a:~ $ mpc list genre

Alternative
Ambient
Avant-Garde
Avant-gardelectronica
...

pi@moode3a:~ $ mpc list date

0
1949
1950
1955
...

pi@moode3a:~ $ mpc list disc

1
102
14
2


The moodeutl -s output you posted looks normal.

My position is that simply meddling with a system's innards without understanding the system is as likely to produce a positive result as simply meddling with my innards because I have a problem if you haven't some training about the systems of the human body. 

We forumistas* have some knowledge of the innards of moOde but we're still trying to get enough data from your system to understand where lies the problem dealing with your massive library. I still think starting with one share, preferably the smallest of the 6 (so maybe less than 50k tracks) would help establish that everything is basically working.

Regards,
Kent

*forumista === anyone not named Tim!
Reply
#14
(08-25-2020, 06:48 PM)RPI4 Rambler Wrote: Ok, you asked for it so here goes moodeutl -s: 

Code:
pi@moode:/var/lib/mpd/music/NAS/DSD $ moodeutl -s
Generating info...

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

moOde release           = 6.7.1 2020-07-22
RaspiOS                 = 10.4
Linux kernel            = 5.4.51-v7l+ #1325
Platform                = Pi-4B 2GB v1.1
Architecture            = armv7l (32-bit)
System uptime           = up 1 day, 3 hours, 31 minutes
Timezone                = Europe/Amsterdam
Current time            = 2020-08-25 20:10:55

Host name               = moode
Ethernet address        = [erased]
Ethernet MAC            = [erased]
WLAN address            = unassigned
WLAN MAC                = no adapter
WLAN country            = US

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

Root size               = 59G
Root used               = 5%
Root available          = 54G
Root expand             = expanded
Memory free             = 1374 MB
Memory used             = 170 MB
SoC temperature         = 51.1°C

CPU governor            = ondemand
Onboard WiFi            = Off
Onboard BT              = On
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            = USB audio device
Interface               = SoC
Mixer name              = D10
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        = On
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
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                   = Chikory Root
Accent color            = Emerald
Alpha blend             = 0.95
Adaptive background     = Yes
Background image        = No
Cover backdrop          = No
Cover blur              = 20px
Cover scale             = 1.25

Library options
----------------------
Instant play action     = Clear/Play
Show tagview genres     = Yes
Show tagview covers     = Yes
Show sample rate        = Text
Ellipsis limited text   = No
Thumbnail columns       = 6/2 (Default)
Albumview sort order    = by Artist
Tagview sort order      = by Artist/Year
Compilation identifier  = Various Artists
Recently added          = 1 Month
Ignore articles         = a,an,the
UTF8 character filter   = No
Hi-res thumbs           = Auto
Cover search pri        = Cover image file
Pixel ratio             = 1.5

Coverview screen saver
----------------------
CoverView auto-display  = Never
CoverView style         = Gradient (Linear)

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

M P D   S E T T I N G S

Version                 = 0.21.24
Volume control          = disabled
ALSA device             = hw:2
SoX resampling          = disabled
SoX quality             = very high
SoX multithreading      = on
DSD over PCM (DoP)      = no
Replaygain              = off
Replaygain preamp       = 0
Volume normalization    = No
Audio buffer            = 8192 (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:2
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:2
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    = On
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

20200824 163907 worker: -- Start
20200824 163907 worker: Successfully daemonized
20200824 163908 worker: Integrity check (passed)
20200824 163908 worker: Session loaded
20200824 163908 worker: Debug logging (off)
20200824 163908 worker: Device raw: (0:b1|1:Headphones|2:D10|3:empty
20200824 163908 worker: Device i2s: (none)
20200824 163908 worker: Device mpd: (2:D10)
20200824 163908 worker: Device ses: (2|D10|D10 |0%)
20200824 163908 worker: ALSA D10  volume set to (0%)
20200824 163908 worker: -- System
20200824 163909 worker: Host     (moode)
20200824 163909 worker: moOde    (6.7.1 2020-07-22)
20200824 163909 worker: RaspiOS  (10.4)
20200824 163909 worker: Kernel   (5.4.51-v7l+ #1325)
20200824 163909 worker: Platform (Pi-4B 2GB v1.1)
20200824 163909 worker: ARM arch (armv7l, 32-bit kernel)
20200824 163909 worker: MPD ver  (0.21.24)
20200824 163909 worker: CPU gov  (ondemand)
20200824 163909 worker: USB boot not available
20200824 163909 worker: File system expanded
20200824 163909 worker: HDMI port off
20200824 163910 worker: File check (OK)
20200824 163910 worker: -- Network
20200824 163910 worker: eth0 exists
20200824 163910 worker: IP addr (ERASED)
20200824 163910 worker: Netmask (255.255.255.0)
20200824 163910 worker: Gateway (ERASED)
20200824 163910 worker: Pri DNS (103.86.99.100)
20200824 163910 worker: Domain  (103.86.96.100)
20200824 163910 worker: wlan0 does not exist
20200824 163910 worker: -- Audio
20200824 163911 worker: MPD conf updated
20200824 163911 worker: ALSA outputs unmuted
20200824 163911 worker: ALSA card number (2)
20200824 163911 worker: Audio output (D10)
20200824 163912 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20200824 163912 worker: ALSA mixer name (D10 )
20200824 163912 worker: MPD volume control (disabled)
20200824 163912 worker: Hdwr volume controller exists
20200824 163912 worker: Max ALSA volume (100%)
20200824 163912 worker: Reset renderer active flags
20200824 163912 worker: -- MPD
20200824 163912 worker: MPD started
20200824 163917 worker: MPD accepting connections
20200824 163917 worker: Configure MPD outputs
20200824 163917 worker: MPD output 1 ALSA default (on)
20200824 163917 worker: MPD output 2 ALSA crossfeed (off)
20200824 163917 worker: MPD output 3 ALSA parametric eq (off)
20200824 163917 worker: MPD output 4 ALSA graphic eq (off)
20200824 163917 worker: MPD output 5 ALSA polarity inversion (off)
20200824 163917 worker: MPD output 6 ALSA bluetooth (off)
20200824 163917 worker: MPD output 7 HTTP stream (on)
20200824 163917 worker: MPD crossfade (off)
20200824 163917 worker: -- Feature availability
20200824 163917 worker: Source select (available)
20200824 163917 worker: Source select (source: MPD)
20200824 163917 worker: Source select (output: D10)
20200824 163917 worker: Bluetooth (available)
20200824 163917 worker: Airplay renderer (available)
20200824 163917 worker: Airplay renderer (started)
20200824 163917 worker: Spotify renderer (available)
20200824 163917 worker: Squeezelite renderer (available)
20200824 163917 worker: UPnP renderer (available)
20200824 163917 worker: UPnP renderer (started)
20200824 163917 worker: DLNA server (available)
20200824 163917 worker: UPnP browser (available)
20200824 163918 worker: UPnP browser (started)
20200824 163918 worker: Audio scrobbler (available)
20200824 163918 worker: GPIO button handler (available)
20200824 163918 worker: -- Music sources
20200824 163918 worker: USB sources (none attached)
20200824 163920 worker: NAS and UPnP sources (mountall initiated)
20200824 163920 worker: -- Miscellaneous
20200824 163920 worker: USB volume knob (Off)
20200824 163920 worker: Shellinabox SSH started
20200824 163920 worker: USB auto-mounter (udisks-glue)
20200824 163920 worker: LED0 (On)
20200824 163920 worker: LED1 (On)
20200824 163920 worker: Saved MPD vol level (0)
20200824 163920 worker: Preamp volume level (0)
20200824 163920 worker: MPD volume level (0) restored
20200824 163920 worker: ALSA D10  volume (100%)
20200824 163920 worker: Auto-play (Off)
20200824 163920 worker: Maintenance interval (3 hrs)
20200824 163920 worker: Screen saver activation (Never)
20200824 163920 worker: Session permissions (OK)
20200824 163920 worker: Watchdog started
20200824 163920 worker: Ready

I'm probably stupid, though I have seen this before, but I can't see any faults here. Then again, I don't pretend to know anything about Moode or Linux (I'm a DEC VMS man, with a bit of PDP under my belt for those who remember) so I'm not completely clueless.
Maybe omissions, but then indicators would have been issued? Like, USB sources (none attached). 

Oh, and one more thing for Kent: no, I haven't touched mpd.conf but I did have a look at it. And I would like to change the metadata to "albumartist,artist,album,track,title,genre,date,disc". This can be done in MPD but it looks like it's done elsewhere in Moode.

Cheers guys, I really do wish to understand Moode better,
marco

Seems less an mpd issue, more the web application snapping under the weight of so much html to generate.
You tried using an mpd client instead? Something like mpdroid (Android). Gonna be a more basic interface than the web app to navigate but it has the advantage of being an application with it's own local metadata cache/database. Even if you can get the web app to work your web browser might have problems rendering that much data, especially on a mobile device.
Reply
#15
(08-25-2020, 08:05 PM)TheOldPresbyope Wrote: @RPI4 Rambler

Hi, Marco.

MPD already indexes the metadata you are asking for.

Here as proof, on a stock moOde 6.7.1 player with a NAS library served as a SMB share from OpenMediaVault, are some examples of the output I asked for from you:

Code:
pi@moode3a:~ $ mpc list albumartist

Aaron Copland
Abdelazar
Academy of St Martin in the Fields
Al Di Meola
...

pi@moode3a:~ $ mpc list artist

A.Khachaturian
A.Piazolla
A.Vivaldi
Abdelazar
...

pi@moode3a:~ $ mpc list album

'Four' & More
16 of Their Greatest Hits
1999 - Chopin - Klavierkonzert 1 u.a. - Ax
2400 Fulton Street: An Anthology
...

pi@moode3a:~ $ mpc list track

1
10
101
102
...

pi@moode3a:~ $ mpc list title

"Air on the G String" (from Suite III), BWV 1068
"Airs from Vauxhall Gardens"
"Jewish Rapsody", Int. V. Malinovski
"Manfred" Ouvertüre op. 115
...

pi@moode3a:~ $ mpc list genre

Alternative
Ambient
Avant-Garde
Avant-gardelectronica
...

pi@moode3a:~ $ mpc list date

0
1949
1950
1955
...

pi@moode3a:~ $ mpc list disc

1
102
14
2


The moodeutl -s output you posted looks normal.

My position is that simply meddling with a system's innards without understanding the system is as likely to produce a positive result as simply meddling with my innards because I have a problem if you haven't some training about the systems of the human body. 

We forumistas* have some knowledge of the innards of moOde but we're still trying to get enough data from your system to understand where lies the problem dealing with your massive library. I still think starting with one share, preferably the smallest of the 6 (so maybe less than 50k tracks) would help establish that everything is basically working.

Regards,
Kent

*forumista === anyone not named Tim!

Hi Kent,

First order of business: next time I'll speak to Boris Johnson, I will tell him to stop meddling with Britain's economy because he is so blatantly lacking in knowledge of its innards. 
Actually mpd is not involved (or only slightly) in indexing in Moode. It's being done by php7.3_fpm or some such program (don't recall precisely off the top of my head), several instances of that program oftentimes. It does, of course, use mpd.conf as indexing parameters. But not all indexing parameters. Anyway, Moode's MPD uses 

Code:
metadata_to_use "+comment"

which means that the default MPD metatags are used plus the "comment" tag, the MPD defaults being

Code:
"artist,album,title,track,name,genre,date,composer,performer,disc"

However, Moode overrides and/or adds to the default metatags as evidenced in the moodeutl output:

Code:
Extra metadata          = track,disc,composer,year,encoded


I would like to have the following metatags:

Code:
"albumartist,artist,album,track,title,genre,date,disc"


My glaring ignorance of Moode's innards prevents me from finding the option to do so, even in Moode's GUI.  But wait! I could just edit the Metattag override file to get what I want. And I would like to be able to choose to view the metatags in any combination possible. But wait! It's forbidden by the forumistas! Darn it. 

Well, as to your suggestion to try things with a small library, it's a good idea, I just do not have the time nor the physical condition to do so. 

Cheers,
marco
Reply
#16
@RPI4 Rambler

Ah, the penny finally dropped. You're talking about the metadata displayed in the moOdeUI, not the metadata scanned by MPD. This list is editable in the m>Appearance screen under Other>Extra Metadata, for which clicking on the information bubble reveals: "Enter any combination of track, disc, year, composer, encoded or None for display under the cover art." added] If it's not possible to add the fields you want, then you'll have to talk to Tim about it.

Or am I still off in left field somewhere.

Regards,
Kent
Reply
#17
(08-26-2020, 09:41 PM)TheOldPresbyope Wrote: @RPI4 Rambler

Ah, the penny finally dropped. You're talking about the metadata displayed in the moOdeUI, not the metadata scanned by MPD. This list is editable in the m>Appearance screen under Other>Extra Metadata, for which clicking on the information bubble reveals: "Enter any combination of track, disc, year, composer, encoded or None for display under the cover art." added] If it's not possible to add the fields you want, then you'll have to talk to Tim about it.

Or am I still off in left field somewhere.

Regards,
Kent

Hi Kent, 
I forgot to mention that. I knew that already. There are plenty of metadata choices to be made through Menu --> Appearance, but I'm under the impression that they are not processed through MPD, which we were discussing at that point. Normally or let's just say "in other systems", all the metatags are handled by MPD but not in Moode and for good reason it would seem. According to the MPD developers, some metatags are not static or even stable. In particular "artist" and "albumartist" are ambivalently handled by MPD (?). I wonder what would happen if Moode's MPD gets a bump up to MPD 0.22. It exists, but it's not easy to come by and certainly unsupported.
Back to Moode: the values of the Appearance menu are of course stored in one of more files "or innards!".

Ok, the next bit may seem off-topic entirely, but as many view the size of my library as the root of the problem, let's take a deeper look. 
The size of my system has been deemed "monstrous", "huge" etc. I'll try to explain the relevance of the size . Although being server systems first and foremost,  the server systems I use on the QNAP NAS do not exhibit any problems with the size of my Library. Yes, they are server systems (which Moode is not) but all of them offer plugins (or embedded functionality) so they can also play music/video/photos directly. In fact QNAP NAS systems all support a number of DACs for these server systems. Qnap  even have NAS systems (passively cooled) for use in the living room. So take for instance Twonky Server, I have it running on the same QNAP NAS that contains my entire music and video library which is bigger still than 'just my Moode library'. It lets you create any Library view one could ever envision. Automatic updating works flawlessly and its indexing is quite fast. Its price is $15, for which you can use mulitple installations on different machines. 
Another server system (free, for now) I have running is Minimserver, the fastest of them all. It relies on Java though, which is certainly not known for its performance. It has a tiny front-end, but again it doesn't have a single problem with my library and can be extended with streaming functionality. 
I own 7 NAS systems for all kinds of duties, and all use CPU's that are on a par with the RPI; the older ones have even slower CPU's. Mostly, their RAM is lower than what RPI4 offers from 128MB to max. 1 GB. My QNAP is an exception with 8GB of RAM. Now all these NAS systems are entry-level ones, so they all have ARM-based architectures similar to RPI's. NAS's in the higher price range usually have x86 architectures with matching CPU's (starting with the really low powered Intel Celeron's and up).
Reply
#18
moOde is a server using MPD as the music server engine. MPD supports the tags listed in the following document https://www.musicpd.org/doc/html/protocol.html#tags. The "Extra metadata" option in Appearance just displays some of the tags under the Cover art.

The Library in moOde uses a subset of the MPD supported tags as follows;
Code:
file
track
title
disc
artist
albumartist
composer
comment
date (or MusicBrainZ OriginalDate or OriginalReleaseDate)
time
album
genre
Last-Modified

moOde works well for most collections but due to the way the Library is generated it will not work well for really big collections. You would be better off using another music server and client system for example one of the UPnP based control points like Kazoo and a UPnP AV media server.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#19
(08-26-2020, 09:50 AM)vinnn Wrote: Seems less an mpd issue, more the web application snapping under the weight of so much html to generate.You tried using an mpd client instead? Something like mpdroid (Android). Gonna be a more basic interface than the web app to navigate but it has the advantage of being an application with it's own local metadata cache/database. Even if you can get the web app to work your web browser might have problems rendering that much data, especially on a mobile device.

I tend to agree with you, vinn. mpc stats clearly shows that the 'naked' indexing has indeed been done and succeeded. So it might come down that the metatag processing is overwhelmed, either in the indexing stage (too many tags to index) or in the presentation stage. Good suggestion to use a different mpd client. I'll try it out.

One other cause might be the compatibility with the web browser. As I have used Chrome, that would be unlikeliy. I do have a system-wide VPN installed, and that has already caused browser problems, particularly re. DNS. This has still not been solved by the VPN's support dept. Could it be that the VPN blocks the Tags and Album output somehow?

I already mentioned trying out MPD 0.22 but what I meant to say is the latest beta of 0.22 as one can switch to 0.22 within Moode's GUI 6.7.1 now.  

Thanks & best regards,
marco
Reply
#20
(08-28-2020, 09:21 AM)RPI4 Rambler Wrote:
(08-26-2020, 09:50 AM)vinnn Wrote: Seems less an mpd issue, more the web application snapping under the weight of so much html to generate.You tried using an mpd client instead? Something like mpdroid (Android). Gonna be a more basic interface than the web app to navigate but it has the advantage of being an application with it's own local metadata cache/database. Even if you can get the web app to work your web browser might have problems rendering that much data, especially on a mobile device.

Did I post this already? If so, I apologise. I tend to agree with you, vinn. mpc stats clearly shows that the 'naked' indexing has indeed been done and succeeded. So it might come down that the metatag processing is overwhelmed, either in the indexing stage (too many tags to index) or in the presentation stage. Good suggestion to use a different mpd client. I'll try it out.

One other cause might be the compatibility with the web browser. As I have used Chrome, that would be unlikeliy. I do have a system-wide VPN installed, and that has already caused browser problems, particularly re. DNS. This has still not been solved by the VPN's support dept. Could it be that the VPN blocks the Tags and Album output somehow?

I already mentioned trying out MPD 0.22 but what I meant to say is the latest beta of 0.22 as one can switch to 0.22 within Moode's GUI 6.7.1 now.  

Thanks & best regards,
marco

Ok, I tried a diferent MPD client as vinnn suggested, on my old Samsung Android tablet, it's called MPD Control (mpdroid did not work). It offers only two Library views: 


Code:
By artists / album


and


Code:
By directories/files


These come from Moode, though, not the app. The app has three operating modes (basically Library Views) in the form of tabs and should be able to display and control music playback:

Code:
Playing  |  Library  |  Playlists


And now for the good news, apart from the loading speed, the Library views work but with some restraints (that is covered below)! The app lets you configure at least two servers, and offers not just Library views, it also lets you choose the Outputs as defined in Moode.

By selecting Playlists, one can select Radios and Playlists (Default and Favorites), just as in Moode itself. Selecting Radios yields no output, while Favorites yields none too (which is correct). 
All the while Moode itself is doing something: user www-data started php-fpm7.3 (the indexer), so that may explain the empty Radio page in the app. [Edit: it turns out that this MPD client is looking for 'Radios.m3u' as the default, which, in Moode' is called 'Default Playlist.m3u' in /var/lib/mpd/playlists. 

Playing a webradio station is indeed displayed and controllable by the app, though without artwork; in Moode the artwork is there, but probably not compatible with this app.

Using the Radio view in the app is still empty but one can select streams (4 in this case); I'm totally in the dark where those streams come from (presumably from Moode) but why and how is beyond me?

Meanwhile back in Moode, the extra metatags field in Appearance has disappeared, limiting the number of views in the Android app.

Cheers,
marco
Reply


Forum Jump: