Thank you for your donation!


Problem: Displaying mp3-embedded cover images
#1
Hello folks,

i came from volumio (over moode/mix2play/picore etc), because it has a nice ui (and a proper display of the album covers/thumbnails), via plugins nice features as lastfm,radio buttons etc., but has a very buggy backend, at least with PiFi+/Hifiberry DAC+ and HifiBerry DIGI+, hence i gave up after around a dozen attempts. No determined behaviour, which is very frustrating.

So i decided to give moodeaudio a second try. The first impression back then was "a bit old school"
Now i installed (7.1.0), chose Hifiberry DAC+ and immediately had sound working, even after reboots or other configuration changes (all issues on volumio); very nice!
Moodeaudio indeed has less features, but most of volumio's items i don't really need.

The only major "issue" to me is the cover image thing, which has already been discussed here several times.
http://moodeaudio.org/forum/showthread.php?tid=897
http://moodeaudio.org/forum/showthread.php?tid=1444
http://moodeaudio.org/forum/showthread.php?tid=1627
http://moodeaudio.org/forum/showthread.php?tid=2726
http://moodeaudio.org/forum/showthread.php?tid=3065
http://moodeaudio.org/forum/showthread.php?tid=3413
http://moodeaudio.org/forum/showthread.php?tid=3703

The basic explanation in #897 maybe a bit outdated as (IIRC) there's been no option to choose the cover image from in previous versions 6.x

As stated in #1444, the common images are fetched from local directories/files with a hierarchical structure (which i don't have, rather directories per rough genre), but the main image from the mp3-embedded image tag, and i don't understand the sense in that behavior.
I don't understand either "A standard directory structure is assumed." when you are able to configure "Cover search pri"="Embedded cover", one would expect that this works for all cover images, also indicated in #3703#2 (thread set to SOLVED, that's why i opened a new one).

Screenshots:

"bug1" shows the behavior of not displaying the cover image in the general list, but in the tracklist. In this image all listed albums have embedded cover images.
"bug2" shows that there are not even none but wrong images displayed

You may agree that the display of garbage doesn't make fun, especially when you had a lot of work to get all the music straight and completely (and manually) tagged (maybe except genre).
I cannot simply change the directory structure for various reasons; first if i like soft music, i take the directory "soft", which contains genres R&B/SlowRock/Soul/etc.
Second are various soft-links in many applications and lists.

Tried "Cover search pri = Embedded cover", several re-generating of tags and cache i tried also setting image size from "Auto" to "400px" and removing non-audio files from the directories.
I checked all my (well maintained) ID3v2.4-tags for valid embedded images and all are being displayed "right" by other players (volumio,kodi,amarok etc.)
To me it doesn't make sense to correctly display (so automatic extraction works) the embedded image for "Hires", but a different ("wrong"/none) for the previews/listings.

If the dirstructure prio should persist, maybe it is possible to implement (in thumbnail generator) reading out the embedded image for general purpose, if there's _no_ image file in the corresponding directory.

Niko

# ]$ sudo /var/www/command/sysinfo.sh
Code:
S Y S T E M   P A R A M E T E R S

moOde release           = 7.2.0 2021-04-24
RaspiOS                 = 10.9
Linux kernel            = 5.10.17-v7+ #1403
Platform                = Pi-3B 1.2 1GB
Architecture            = armv7l (32-bit)
System uptime           = up 1 day, 19 hours, 6 minutes
Timezone                = Europe/Berlin
Current time            = 2021-05-01 17:58:59

Host name               = vix
Ethernet address        = 192.168.100.211
Ethernet MAC            = b8:27:eb:ac:c6:2d
WLAN address            = unassigned
WLAN MAC                = no adapter
WLAN country            = US

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

Root size               = 5.7G
Root used               = 69%
Root available          = 1.7G
Root expand             = expanded
Memory free             = 139 MB
Memory used             = 107 MB
SoC temperature         = 41.9°C
Throttled bitmask       = 0x0
Throttled text          = No throttling has occurred

CPU governor            = ondemand
Onboard WiFi            = Off
Onboard BT              = Off
HDMI output             = Off
LED state               = 1,1
Eth addr wait           = On
USB auto-mounter        = udisks-glue
Max USB current         = Off
SSH term server         = Off

PHP-FPM version         = 7.3.27
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+
Interface               = I2S
Mixer name              = Digital
Hardware mixer          = Yes
Supported formats       = S16_LE, S24_LE, S32_LE
ALSA max volume         = 100
ALSA loopback           = Off
MPD max volume          = 90
Volume step limit       = 10
Display dB volume       = Off
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
RoonBridge              = Not installed
UPnP client             = Off
DLNA server             = Off
GPIO button handler     = Off
UPnP browser            = Off

Auto-shuffle            = Off
Ashuffle mode           = Track
Ashuffle filter         = None
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
CamillaDSP              = off
MPD httpd               = Off
Ignore CUE files        = Yes

P R E F E R E N C E S

Appearance
----------------------
Theme                   = Mango
Accent color            = Alizarin
Alpha blend             = 1.0
Adaptive background     = Yes
Background image        = No
Cover backdrop          = No
Cover blur              = 20px
Cover scale             = 1.25
Renderer backdrop       = No
Font size               = Normal

Playback
----------------------
Show Queue thumbs       = Yes
Show extra metadata     = album,genre,track,disc,date,composer,conductor,performer,encoded
Search site             = MusicBrainz
Playback history log    = No

Library
----------------------
One touch action        = Play
Albumview sort order    = by Album
Tagview sort order      = by Artist
Recently added          = 1 Month
Show sample rate        = Text
Cover search pri        = Embedded cover
Pixel ratio             = 1
Thumbnail resolution    = 400px,75
Thumbnail columns       = 6/2 (Default)

Library (Advanced)
----------------------
Tag view artist         = Artist
Album key               = Album@Artist (Default)
Include comment tag     = No
Library filter          = full_lib
Library filter str      =
Ignore articles         = a,an,the,der,die,das
Show tagview genres     = Yes
Show tagview covers     = Yes
Ellipsis limited text   = No
UTF8 character filter   = No

CoverView
----------------------
Automatic display       = 120
Backdrop style          = Gradient (Linear)

R A D I O   M A N A G E R   S E T T I N G S

Sort tag                = Name
Group method            = No grouping
Show moOde stations     = No action
Show other stations     = No action

M P D   S E T T I N G S

Version                 = 0.22.6_p0x3
Volume mixer            = hardware
ALSA device             = hw:0
SoX resampling          = disabled
Selective resampling    = disabled
SoX quality             = high
SoX multithreading      = off
DSD over PCM (DoP)      = no
Replaygain              = off
Replaygain preamp       = 0
Volume normalization    = No
Audio buffer            = 4 (MB)
Output buffer size      = 128 (MB)
Max playlist items      = 16384
Input cache             = Disabled

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

Bluetooth ver           = 5.50
Bluealsa ver            = v3.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.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            = log
Volume normalization    = No
Normalization pregain   = 3
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.9.7-1270 "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

20210429 225235 worker: -- Start
20210429 225236 worker: Successfully daemonized
20210429 225236 worker: Integrity check (passed)
20210429 225237 worker: File check (OK)
20210429 225238 worker: Session vacuumed
20210429 225238 worker: Session loaded
20210429 225238 worker: Debug logging (OFF)
20210429 225238 worker: -- Audio debug
20210429 225238 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20210429 225238 worker: MPD config: (0:HiFiBerry DAC+ | mixer:(Digital) | card:0)
20210429 225238 worker: ALSA mixer actual (Digital)
20210429 225238 worker: ALSA Digital volume set to (0%)
20210429 225238 worker: -- System
20210429 225240 worker: Host     (vix)
20210429 225240 moode.php: MPD connect failed: cmd=(playlist)
20210429 225240 worker: moOde    (7.2.0 2021-04-24)
20210429 225240 worker: RaspiOS  (10.9)
20210429 225240 worker: Kernel   (5.10.17-v7+ #1403)
20210429 225240 worker: Platform (Pi-3B 1.2 1GB)
20210429 225240 worker: ARM arch (armv7l, 32-bit kernel)
20210429 225240 worker: MPD ver  (0.22.6_p0x3)
20210429 225240 worker: CPU gov  (ondemand)
20210429 225240 worker: USB boot not enabled yet
20210429 225240 worker: File system expanded
20210429 225240 worker: HDMI port off
20210429 225240 worker: -- Network
20210429 225240 worker: eth0 exists
20210429 225240 worker: IP addr (192.168.100.211)
20210429 225240 worker: Netmask (255.255.255.0)
20210429 225240 worker: Gateway (192.168.100.1)
20210429 225240 worker: Pri DNS (192.168.100.1)
20210429 225240 worker: Domain  (fosternet)
20210429 225240 worker: wlan0 does not exist
20210429 225240 worker: -- Audio config
20210429 225243 worker: MPD conf updated
20210429 225243 worker: ALSA card number (0)
20210429 225243 worker: MPD audio output (HiFiBerry DAC+)
20210429 225244 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210429 225244 worker: ALSA mixer name (Digital)
20210429 225244 worker: MPD volume control (hardware)
20210429 225244 worker: Hdwr volume controller exists
20210429 225244 worker: Max ALSA volume (100%)
20210429 225244 worker: ALSA loopback (Off)
20210429 225244 worker: Reset renderer active flags
20210429 225244 worker: CamillaDSP (off)
20210429 225244 worker: -- MPD startup
20210429 225244 worker: MPD started
20210429 225245 worker: MPD accepting connections
20210429 225246 worker: MPD output 1 ALSA Default (on)
20210429 225246 worker: MPD output 2 ALSA Bluetooth (off)
20210429 225246 worker: MPD output 3 HTTP Server (off)
20210429 225246 worker: MPD crossfade (off)
20210429 225246 worker: MPD ignore CUE files (yes)
20210429 225246 worker: -- Feature availability
20210429 225246 worker: Source select (available)
20210429 225246 worker: Source select (source: MPD)
20210429 225246 worker: Source select (output: HiFiBerry DAC+)
20210429 225246 worker: Bluetooth (available)
20210429 225246 worker: Airplay renderer (available)
20210429 225246 worker: Spotify renderer (available)
20210429 225246 worker: Squeezelite (available)
20210429 225246 worker: RoonBridge renderer (not installed)
20210429 225246 worker: UPnP renderer (available)
20210429 225246 worker: DLNA server (available)
20210429 225246 worker: UPnP browser (available)
20210429 225246 worker: GPIO button handler (available)
20210429 225246 worker: Stream recorder (n/a)
20210429 225246 worker: -- Music sources
20210429 225246 worker: USB sources (none attached)
20210429 225304 worker: NAS and UPnP sources (mountall initiated)
20210429 225304 worker: -- Other
20210429 225304 worker: USB volume knob (Off)
20210429 225305 worker: LCD updater engine started
20210429 225305 worker: USB auto-mounter (udisks-glue)
20210429 225305 worker: LED0 (On)
20210429 225305 worker: LED1 (On)
20210429 225305 worker: Saved MPD vol level (0)
20210429 225305 worker: Preamp volume level (0)
20210429 225305 worker: MPD volume level (0) restored
20210429 225305 worker: ALSA Digital volume (0%)
20210429 225305 worker: Auto-play (Off)
20210429 225305 worker: Maintenance interval (3 hours)
20210429 225305 worker: Screen saver activation (120)
20210429 225305 worker: Session permissions (OK)
20210429 225306 worker: Watchdog started
20210429 225306 worker: Ready
20210429 231103 worker: Job update_library
20210429 231103 mpdindex: Start
20210429 231106 thmcache: Start
20210429 231106 thmcache: Priority: Embedded cover
20210429 231106 thmcache: Res,Qual: Auto
20210429 231106 thmcache: Px ratio: 1
20210429 231106 thmcache: Th width: 100
20210429 231106 thmcache: Thm qual: 75
20210429 231106 thmcache: Scanning: NAS, SDCARD, UPNP
20210429 231124 thmcache: Done: 303 folders scanned, 1 thumbs created, 302 already in cache.
20210429 232144 mpdindex: Done: indexed 4361 artists, 3160 albums, 29381 songs
20210429 232144 worker: Job update_library done
20210430 010803 worker: Job update_library
20210430 010803 mpdindex: Start
20210430 010806 thmcache: Start
20210430 010806 thmcache: Priority: Embedded cover
20210430 010806 thmcache: Res,Qual: Auto
20210430 010806 thmcache: Px ratio: 1
20210430 010806 thmcache: Th width: 100
20210430 010806 thmcache: Thm qual: 75
20210430 010806 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 010930 thmcache: Done: 285 folders scanned, 0 thumbs created, 285 already in cache.
20210430 011431 mpdindex: Done: indexed 4361 artists, 3165 albums, 29382 songs
20210430 011431 worker: Job update_library done
20210430 011831 worker: Job regen_thmcache
20210430 011831 thmcache: Start
20210430 011831 thmcache: Priority: Embedded cover
20210430 011831 thmcache: Res,Qual: 400px,75
20210430 011831 thmcache: Px ratio: 1
20210430 011831 thmcache: Th width: 400
20210430 011831 thmcache: Thm qual: 75
20210430 011831 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 012543 thmcache: Done: 285 folders scanned, 247 thumbs created, 38 already in cache.
20210430 015931 worker: Job update_library
20210430 015931 mpdindex: Start
20210430 015933 thmcache: Start
20210430 015933 thmcache: Priority: Embedded cover
20210430 015933 thmcache: Res,Qual: 400px,75
20210430 015933 thmcache: Px ratio: 1
20210430 015933 thmcache: Th width: 400
20210430 015933 thmcache: Thm qual: 75
20210430 015933 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 020034 thmcache: Done: 285 folders scanned, 0 thumbs created, 285 already in cache.
20210430 021038 mpdindex: Done: indexed 4361 artists, 3165 albums, 29382 songs
20210430 021038 worker: Job update_library done
20210430 110136 worker: Job update_library
20210430 110136 mpdindex: Start
20210430 110137 thmcache: Start
20210430 110137 thmcache: Priority: Embedded cover
20210430 110137 thmcache: Res,Qual: 400px,75
20210430 110137 thmcache: Px ratio: 1
20210430 110137 thmcache: Th width: 400
20210430 110137 thmcache: Thm qual: 75
20210430 110137 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 110203 thmcache: Done: 285 folders scanned, 1 thumbs created, 284 already in cache.
20210430 110253 mpdindex: Done: indexed 4361 artists, 3165 albums, 29385 songs
20210430 110253 worker: Job update_library done
20210430 113748 worker: Job regen_thmcache
20210430 113748 thmcache: Start
20210430 113748 thmcache: Priority: Embedded cover
20210430 113748 thmcache: Res,Qual: 400px,75
20210430 113748 thmcache: Px ratio: 1
20210430 113748 thmcache: Th width: 400
20210430 113748 thmcache: Thm qual: 75
20210430 113748 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 113947 thmcache: Done: 285 folders scanned, 247 thumbs created, 38 already in cache.
20210430 203736 worker: Job update_library
20210430 203736 mpdindex: Start
20210430 203737 thmcache: Start
20210430 203737 thmcache: Priority: Embedded cover
20210430 203737 thmcache: Res,Qual: 400px,75
20210430 203737 thmcache: Px ratio: 1
20210430 203737 thmcache: Th width: 400
20210430 203737 thmcache: Thm qual: 75
20210430 203737 thmcache: Scanning: NAS, SDCARD, UPNP
20210430 203809 thmcache: Done: 285 folders scanned, 0 thumbs created, 285 already in cache.
20210430 204225 mpdindex: Done: indexed 4361 artists, 3165 albums, 29385 songs
20210430 204225 worker: Job update_library done


Attached Files Thumbnail(s)
       
Reply


Forum Jump: