Thank you for your donation!


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


Problem: Howdy: having problems with m4a and covers
#1
I recently discoveredMoode Audio in my quest for multi room distributed music. I'm all setup with 3 Pi4's with the following configuration: Pi4 w/8gb working as the player; Pi4 w/4gb & HifiBerry Dac+ ADC Pro; Pi4 w/2gb & Innomaker PCM5122 Dac. All my music is on a SMB share on my NAS (running on TrueNAS Core).

It all plays as expected and I'm still learning but I'm having 2 issues, one major the other minor.

1) Moode will not play any of my M4A files. I get an error message but I don't know where to starting order to fix the issue. See attached image for error message.

2) Many of the album covers don't show up. What are file size limits (if any) for artwork and will Moode render tiffs as with quite a few of my early rips into iTunes I used tiffs before switching to jpegs.

Hope all this make sense and I would appreciate any advice anyone has to offer. Also, let me know if I need to provide any other info for clarity.

Thanks


Attached Files Thumbnail(s)
   
Reply
#2
@apennc

I don't have any M4A files to test with but moOde should be able to play them. Asking MPD (mpd -v from the command line) to report, I see m4a listed among the formats handled by its ffmpeg plugin.

Looking at /var/www/coverart.php I see the following comment

Code:
* - script looks for flac, mp3 or m4a embedded art, Folder, folder, Cover, cover png/jpg/jpeg files, or any other image file.

so we'd have to know more about your troublesome covers.

ETA - "any other image file" refers to type of image file, including .gif, .tif, and .tiff, but not to filename, which must be Folder, folder, Cover, or cover.

Gotta love James Brown!

Regards,
Kent
Reply
#3
Moved from Intros to Support.

1) M4A is supported. Typically the underlying format is either AAC or ALAC.
2) Thumbnail jpg images of cover art are generated during Library update at a resolution set in Preferences, Library. The source cover art image can be any size. Tiff format is supported.

To start troubleshooting:

1. Reboot
2. Menu, Configure, Library: Regenerate Music library
3. When complete post the moOde log using the command below. The log will contain information about the Library update and thumbnail generation.

Code:
moodeutl -l

What audio device are u using?

ETA: Rereading OP and it looks like your player Pi is functioning as a multiroom sender, correct?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
@TheOldPresbyope, the comment in coverart.php header is a bit out of date. In fact if one of the typical cover art file names can't be found the code searches for any file name that has one of the extensions below.

Code:
    // All other image files
    $extensions = array('jpg', 'jpeg', 'png', 'tif', 'tiff');
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
Quote:the comment in coverart.php header is a bit out of date

...and so am I. Tongue

Regards,
Kent
Reply
#6
After @TheOldPresbyope and I did some investigation it turns out that while the cover art fetcher supports TIFF format the thumbnail generator does not due to a limitation in the imagecreatefromstring() function that is used.
https://www.php.net/manual/en/function.i...string.php

What this means is that TIFF covers should be displayed in Playback view, CoverView and in the lower left area in Tag View. In all other places including the Queue, Tag view album list, Album view and the lower left of the Playbar no thumbnail image will be displayed (currently). In upcoming moOde 8.2.0 release a default moOde cover will be displayed.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
I think I have what you requested Tim, please let me know if this isn't what you wanted. 


pi@moode-player:~ $ moodeutl -l                                                                                                                                                       
20220814 134213 worker: --                                                                                                                                                            
20220814 134213 worker: -- Start moOde 8 series                                                                                                                                       
20220814 134213 worker: --                                                                                                                                                            
20220814 134213 worker: Successfully daemonized                                                                                                                                       
20220814 134215 worker: File check (OK)                                                                                                                                               
20220814 134216 worker: Session vacuumed                                                                                                                                              
20220814 134216 worker: Session loaded                                                                                                                                                
20220814 134216 worker: Debug logging (OFF)                                                                                                                                           
20220814 134216 worker: --                                                                                                                                                            
20220814 134216 worker: -- Audio debug                                                                                                                                                
20220814 134216 worker: --                                                                                                                                                            
20220814 134216 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty                                                                                                          
20220814 134216 worker: MPD config: (0Tonguei HDMI 1 | mixerSadHDMI) | card:0)                                                                                                             
20220814 134216 worker: ALSA mixer actual (HDMI)                                                                                                                                      
20220814 134216 worker: ALSA HDMI volume set to (0%)                                                                                                                                  
20220814 134216 worker: --                                                                                                                                                            
20220814 134216 worker: -- System                                                                                                                                                     
20220814 134216 worker: --                                                                                                                                                            
20220814 134217 worker: Host      (moode-player)                                                                                                                                      
20220814 134217 worker: moOde     (8.1.2 2022-07-08)                                                                                                                                  
20220814 134217 worker: RaspiOS   (11.3)                                                                                                                                              
20220814 134217 worker: Kernel    (5.15.32-v8+ #1538)                                                                                                                                 
20220814 134217 worker: Platform  (Pi-4B 1.4 8GB)                                                                                                                                     
20220814 134217 worker: ARM arch  (aarch64, 64-bit)                                                                                                                                   
20220814 134217 worker: MPD ver   (0.23.5)                                                                                                                                            
20220814 134217 worker: CPU gov   (ondemand)                                                                                                                                          
20220814 134217 worker: USB boot  (enabled)                                                                                                                                           
20220814 134217 worker: File sys  (expanded)                                                                                                                                          
20220814 134217 worker: HDMI port (On)                                                                                                                                                
20220814 134217 worker: Sys LED0  (On)                                                                                                                                                
20220814 134217 worker: Sys LED1  (On)                                                                                                                                                
20220814 134217 worker: --                                                                                                                                                            
20220814 134217 worker: -- Network                                                                                                                                                    
20220814 134217 worker: --                                                                                                                                                            
20220814 134217 worker: eth0 adapter exists                                                                                                                                           
20220814 134217 worker: eth0 check for address (No)                                                                                                                                   
20220814 134217 worker: IP addr                                                                                                                                            
20220814 134217 worker: Netmask (255.255.255.0)                                                                                                                                       
20220814 134217 worker: Gateway                                                                                                                                             
20220814 134217 worker: Pri DNS                                                                                                                                          
20220814 134217 worker: Domain  ()                                                                                                                                                    
20220814 134217 worker: wlan0 adapter exists                                                                                                                                          
20220814 134217 worker: wlan0 country (US)                                                                                                                                            
20220814 134217 worker: wlan0 check 0 for IP address                                                                                                                                  
20220814 134219 worker: wlan0 check 1 for IP address                                                                                                                                  
20220814 134221 worker: wlan0 check 2 for IP address                                                                                                                                  
20220814 134224 worker: wlan0 check 3 for IP address                                                                                                                                  
20220814 134228 worker: wlan0 check 5 for IP address                                                                                                                                  
20220814 134230 worker: wlan0 check 6 for IP address                                                                                                                                  
20220814 134232 worker: wlan0 check 7 for IP address                                                                                                                                  
20220814 134251 worker: wlan0 check 8 for IP address                                                                                                                                  
20220814 134253 worker: wlan0 check 9 for IP address                                                                                                                                  
20220814 134255 worker: wlan0 check 10 for IP address                                                                                                                                 
20220814 134257 worker: wlan0 check 11 for IP address                                                                                                                                 
20220814 134259 worker: wlan0 check 12 for IP address                                                                                                                                 
20220814 134301 worker: wlan0 check 13 for IP address                                                                                                                                 
20220814 134303 worker: wlan0 check 14 for IP address                                                                                                                                 
20220814 134305 worker: wlan0 check 15 for IP address                                                                                                                                 
20220814 134307 worker: wlan0 check 16 for IP address                                                                                                                                 
20220814 134309 worker: wlan0 check 17 for IP address                                                                                                                                 
20220814 134311 worker: wlan0 check 18 for IP address                                                                                                                                 
20220814 134313 worker: wlan0 check 19 for IP address                                                                                                                                 
20220814 134316 worker: wlan0 check 20 for IP address                                                                                                                                 
20220814 134318 worker: wlan0 check 21 for IP address                                                                                                                                 
20220814 134320 worker: wlan0 check 22 for IP address                                                                                                                                 
20220814 134322 worker: wlan0 check 23 for IP address                                                                                                                                 
20220814 134324 worker: wlan0 check 24 for IP address                                                                                                                                 
20220814 134326 worker: wlan0 check 25 for IP address                                                                                                                                 
20220814 134328 worker: wlan0 check 26 for IP address                                                                                                                                 
20220814 134330 worker: wlan0 check 27 for IP address                                                                                                                                 
20220814 134332 worker: wlan0 check 28 for IP address                                                                                                                                 
20220814 134334 worker: wlan0 check 29 for IP address                                                                                                                                 
20220814 134336 worker: wlan0 check 30 for IP address                                                                                                                                 
20220814 134338 worker: wlan0 check 31 for IP address                                                                                                                                 
20220814 134340 worker: wlan0 check 32 for IP address                                                                                                                                 
20220814 134342 worker: wlan0 check 33 for IP address                                                                                                                                 
20220814 134344 worker: wlan0 check 34 for IP address                                                                                                                                 
20220814 134346 worker: wlan0 check 35 for IP address                                                                                                                                 
20220814 134348 worker: wlan0 check 36 for IP address                                                                                                                                 
20220814 134350 worker: wlan0 check 37 for IP address                                                                                                                                 
20220814 134352 worker: wlan0 check 38 for IP address                                                                                                                                 
20220814 134354 worker: wlan0 check 39 for IP address                                                                                                                                 
20220814 134357 worker: wlan0 check 40 for IP address                                                                                                                                 
20220814 134359 worker: wlan0 check 41 for IP address                                                                                                                                 
20220814 134401 worker: wlan0 check 42 for IP address                                                                                                                                 
20220814 134403 worker: wlan0 check 43 for IP address                                                                                                                                 
20220814 134405 worker: wlan0 check 44 for IP address                                                                                                                                 
20220814 134407 worker: wlan0 SSID is blank                                                                                                                                           
20220814 134407 worker: wlan0 AP mode not started (eth0 active)                                                                                                                       
20220814 134407 worker: wlan0 address not assigned                                                                                                                                    
20220814 134407 worker: wlan0 power save disabled                                                                                                                                     
20220814 134407 worker: --                                                                                                                                                            
20220814 134407 worker: -- Audio config                                                                                                                                               
20220814 134407 worker: --                                                                                                                                                            
20220814 134407 worker: MPD conf update skipped (Tx On)                                                                                                                               
20220814 134407 worker: ALSA card number (0)                                                                                                                                          
20220814 134407 worker: MPD audio output (Pi HDMI 1)                                                                                                                                  
20220814 134407 worker: Audio formats (U8, S16_LE)                                                                                                                                    
20220814 134407 worker: ALSA mixer name (HDMI)                                                                                                                                        
20220814 134407 worker: MPD mixer type (hardware)                                                                                                                                     
20220814 134407 worker: Hdwr volume controller exists                                                                                                                                 
20220814 134407 worker: Max ALSA volume (100%)                                                                                                                                        
20220814 134407 worker: ALSA output mode (Default: plughw)                                                                                                                            
20220814 134407 worker: ALSA loopback (On)                                                                                                                                            
20220814 134407 worker: Reset renderer active flags                                                                                                                                   
20220814 134407 worker: CamillaDSP (off)                                                                                                                                              
20220814 134407 worker: --                                                                                                                                                            
20220814 134407 worker: -- MPD startup                                                                                                                                                
20220814 134407 worker: --                                                                                                                                                            
20220814 134408 worker: MPD started                                                                                                                                                   
20220814 134408 worker: MPD accepting connections                                                                                                                                     
20220814 134408 worker: MPD output 1 ALSA Default (On)                                                                                                                                
20220814 134408 worker: MPD output 2 ALSA Bluetooth (Off)                                                                                                                             
20220814 134408 worker: MPD output 3 HTTP Server (Off)                                                                                                                                
20220814 134408 worker: MPD crossfade (off)                                                                                                                                           
20220814 134409 worker: MPD ignore CUE files (yes)                                                                                                                                    
20220814 134409 worker: --                                                                                                                                                            
20220814 134409 worker: -- Music sources                                                                                                                                              
20220814 134409 worker: --                                                                                                                                                            
20220814 134409 worker: USB sources (none attached)                                                                                                                                   
20220814 134410 worker: NAS sources (mountall initiated)                                                                                                                              
20220814 134410 worker: --                                                                                                                                                            
20220814 134410 worker: -- Feature availability                                                                                                                                       
20220814 134410 worker: --                                                                                                                                                            
20220814 134410 worker: Source select (available)                                                                                                                                     
20220814 134410 worker: Source select (source: MPD)                                                                                                                                   
20220814 134410 worker: Source select (output: Pi HDMI 1)                                                                                                                             
20220814 134410 worker: Bluetooth (available)                                                                                                                                         
20220814 134410 worker: Airplay renderer (available)                                                                                                                                  
20220814 134410 worker: Spotify renderer (available)                                                                                                                                  
20220814 134410 worker: Squeezelite (available)                                                                                                                                       
20220814 134410 worker: RoonBridge renderer (not installed)                                                                                                                           
20220814 134410 worker: Multiroom sender (available: started)                                                                                                                         
20220814 134410 worker: Multiroom receiver (available)                                                                                                                                
20220814 134410 worker: UPnP renderer (available)                                                                                                                                     
20220814 134410 worker: DLNA server (available)                                                                                                                                       
20220814 134410 worker: GPIO button handler (available)                                                                                                                               
20220814 134410 worker: Stream recorder (n/a)                                                                                                                                         
20220814 134410 worker: --                                                                                                                                                            
20220814 134410 worker: -- Other                                                                                                                                                      
20220814 134410 worker: --                                                                                                                                                            
20220814 134410 worker: USB volume knob (Off)                                                                                                                                         
20220814 134410 worker: Shellinabox SSH started                                                                                                                                       
20220814 134410 worker: USB auto-mounter (udisks-glue)                                                                                                                                
20220814 134410 worker: Saved MPD vol level (0)                                                                                                                                       
20220814 134410 worker: Preamp volume level (0)                                                                                                                                       
20220814 134410 worker: MPD volume level (75) restored                                                                                                                                
20220814 134410 worker: ALSA HDMI volume (93%)                                                                                                                                        
20220814 134410 worker: Auto-play (Off)                                                                                                                                               
20220814 134410 worker: CoverView toggle (-on)                                                                                                                                        
20220814 134410 worker: Maintenance interval (120 minutes)                                                                                                                            
20220814 134410 worker: Screen saver activation (Never)                                                                                                                               
20220814 134410 worker: Session permissions (OK)                                                                                                                                      
20220814 134410 worker: Watchdog started                                                                                                                                              
20220814 134410 worker: Ready                                                                                                                                                         
20220814 134634 worker: Job regen_library                                                                                                                                             
20220814 134635 thumb-gen: Start                                                                                                                                                      
20220814 134635 thumb-gen: Priority: Embedded cover                                                                                                                                   
20220814 134635 thumb-gen: Res,Qual: Auto                                                                                                                                             
20220814 134635 thumb-gen: Px ratio: 0                                                                                                                                                
20220814 134635 thumb-gen: Th width: 100                                                                                                                                              
20220814 134635 thumb-gen: Thm qual: 75                                                                                                                                               
20220814 134635 thumb-gen: Scanning: NAS, SDCARD                                                                                                                                      
20220814 134758 thumb-gen: Done: 3756 folders scanned, 0 thumbs created, 3756 already in cache.                                                                                       
20220814 141919 worker: Job regen_library done  


Yes I am running the player as a multiroom sender with two endpoints using Pi4's (4gb & 2gb models) each with different DAC hats: Hifiberry DAC+ ADC Pro & Innomaker PCM5122 (for which I have to select Allo Boss as the device when doing the setup for that unit).

I noticed that after Regenerating Music Library some album images are just showing a small icon in the lower left corner of the image area instead of showing the generic Moode image I normally see, I've attached an image.

Thanks again for your help


Attached Files Thumbnail(s)
   
Reply
#8
The cover thumbnail issue with TIFF format is explained in my previous post #6
https://moodeaudio.org/forum/showthread....6#pid42196

I ran a quick test with some M4A files that are using ALAC format and no issues with multiroom playback.

   

It's not obvious to me what might be causing your issue with playback of M4A files.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: