Thank you for your donation!


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


Solved: Moode Player Not Seeing Files/Folders
#1
I am having an issue where the Moode Player is not seeing/reading all of the files within the library. I've completed a couple of Update Library functions and there is no change. If I look into the library via the Moode Player I can see that some of the folders and files are missing. To ensure they are really there I used WinSCP to SSH in and view the same location. Moode Player = not there. WinSCP = there. I am not sure what or why this happening and any suggestion will be appreciated and I hope I can get this resolved. Doesn't help to have music files and not be able to listen to them. I'm attaching ( if I can get it to work) a couple of pics that are of the Moode Player view and the WinSCP view. Thanks again to any responses.
          
Reply
#2
Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
@Hwrd69 

You said


Quote: If I look into the library via the Moode Player I can see that some of the folders and files are missing.

I suspect you've fallen into the trap of thinking that because moOde's Library Folder View looks similar to a file manager view, it is a file manager view. Nope. It is a stylized folder-oriented view of the musical content of a library. It shows only what moOde/MPD consider playable music tracks and the folders containing them (and does fancy footwork to apply thumbnails of coverart).

It's likely that moOde/MPD find issues with the contents (which includes the metadata) of files in your "missing" folders.

Do what Tim requested, because what we see in the output sets the stage and should always be included, but I suspect you'll end up having to examine the contents of the "missing" directories as well as the MPD output generated during the Library update process. At the very least, show us the contents of one of them, such as "Dark Ambient of 2017".

Regards,
Kent
Reply
#4
Below is the start-up log from a cold boot. The only data I modified is I took out the IP address and related info. Everything is virgin (so it says :-) )

Code:
/media$ moodeutl -l
20240930 092535 worker: --
20240930 092535 worker: -- Start moOde 9 series
20240930 092535 worker: --
20240930 092535 worker: Successfully daemonized
20240930 092535 worker: Wait for Linux startup
20240930 092542 worker: Linux startup complete
20240930 092542 worker: Boot config is ok
20240930 092542 worker: Session loaded
20240930 092544 worker: Package locks applied
20240930 092544 worker: File check complete
20240930 092544 worker: Debug logging off
20240930 092544 worker: --
20240930 092544 worker: -- System
20240930 092544 worker: --
20240930 092546 worker: Host name:     Moodeplayer
20240930 092546 worker: RPi model:     Pi-4B 1.1 4GB
20240930 092546 worker: moOde release: 9.1.0 2024-09-16
20240930 092546 worker: RaspiOS:       12.7 Bookworm 64-bit
20240930 092546 worker: Linux Kernel:  6.6.47 64-bit
20240930 092546 worker: MPD version:   0.23.14
20240930 092546 worker: User id:       hwrd69
20240930 092546 worker: Home folder:   /home/hwrd69
20240930 092546 worker: Time zone:     America/Detroit
20240930 092546 worker: Kbd layout:    us
20240930 092546 worker: HDMI ports(s): on
20240930 092546 worker: HDMI-CEC:      off
20240930 092546 worker: Sys LED0:      on
20240930 092546 worker: Sys LED1:      on
20240930 092546 worker: Reduce power:  n/a
20240930 092546 worker: CPU governor:  ondemand
20240930 092546 worker: Integ audio:   vc4-kms-v3d
20240930 092546 worker: --
20240930 092546 worker: -- Network
20240930 092546 worker: --
20240930 092546 worker: Eth0
20240930 092546 worker: Ethernet: adapter exists
20240930 092546 worker: Ethernet: timeout off
20240930 092546 worker: Ethernet: method  dhcp
20240930 092546 worker: Ethernet: address 192.168.40.72
20240930 092546 worker: Ethernet: netmask 255.255.255.0
20240930 092546 worker: Ethernet: gateway 192.168.40.1
20240930 092546 worker: Ethernet: pri DNS 192.168.40.1
20240930 092546 worker: Ethernet: domain  lan
20240930 092546 worker: Wlan0
20240930 092546 worker: Wireless: adapter exists
20240930 092546 worker: Wireless: country US
20240930 092546 worker: Wireless: SSID    Rosenbloom Home
20240930 092546 worker: Wireless: other   None
20240930 092546 worker: Wireless: timeout up to 90 secs
20240930 092546 worker: Wireless: connect to Rosenbloom Home
20240930 092546 worker: Wireless: method  dhcp
20240930 092546 worker: Wireless: address
20240930 092546 worker: Wireless: netmask
20240930 092546 worker: Wireless: gateway 1
20240930 092546 worker: Wireless: pri DNS
20240930 092546 worker: Wireless: domain  lan
20240930 092546 worker: --
20240930 092546 worker: -- File sharing
20240930 092546 worker: --
20240930 092546 worker: SMB file sharing:  off
20240930 092546 worker: NFS file sharing:  off
20240930 092546 worker: DLNA file sharing: off
20240930 092546 worker: --
20240930 092546 worker: -- Special configs
20240930 092546 worker: --
20240930 092546 worker: Plexamp:          not installed
20240930 092546 worker: RoonBridge:       not installed
20240930 092546 worker: Allo Piano 2.1:   not detected
20240930 092546 worker: Allo Boss 2:      not detected, OLED script ok
20240930 092546 worker: IQaudIO AMP*:     not detected
20240930 092546 worker: --
20240930 092546 worker: -- ALSA debug
20240930 092546 worker: --
20240930 092546 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:sndrpihifiberry 3:empty          
20240930 092546 worker:         4:empty           5:empty           6:empty           7:empty          
20240930 092547 worker: Mixers: 0:none            1:none            2:(Digital)       3:none            
20240930 092547 worker:         4:none            5:none            6:none            7:none            
20240930 092547 worker: --
20240930 092547 worker: -- Audio configuration
20240930 092547 worker: --
20240930 092547 worker: Audio device:  2:HIFI DAC+
20240930 092547 worker: ALSA card:     has not been reassigned
20240930 092547 worker: MPD config:    update not needed
20240930 092547 worker: ALSA output:   I2S
20240930 092547 worker: ALSA mode:     Default (plughw)
20240930 092547 worker: ALSA mixer     Digital
20240930 092547 worker: ALSA volume:   100% (0.00dB)
20240930 092547 worker: ALSA maxvol:   100%
20240930 092547 worker: ALSA loopback: off
20240930 092547 worker: MPD mixer      Software
20240930 092547 worker: Audio formats: S16_LE, S24_LE, S32_LE
20240930 092547 worker: CamillaDSP:    off
20240930 092547 worker: CDSP volume:   0dB
20240930 092547 worker: CDSP volrange: 60dB
20240930 092547 worker: --
20240930 092547 worker: -- MPD startup
20240930 092547 worker: --
20240930 092548 worker: MPD service:        started
20240930 092548 worker: MPD port 6600:      accepting connections
20240930 092548 worker: MPD ALSA Default:   on
20240930 092548 worker: MPD ALSA Bluetooth: off
20240930 092548 worker: MPD HTTP Server:    off
20240930 092548 worker: MPD volume:         0
20240930 092548 worker: Saved MPD vol:      -1
20240930 092548 worker: Saved SRC vol:      0
20240930 092548 worker: MPD crossfade:      off
20240930 092548 worker: MPD ignore CUE:     no
20240930 092548 worker: MPD CDSP volsync:   off
20240930 092548 worker: --
20240930 092548 worker: -- Music sources
20240930 092548 worker: --
20240930 092548 worker: USB drive:      HiFi_Music (ext4)
20240930 092548 worker: NVMe drives:    none
20240930 092548 worker: NAS sources:    none
20240930 092548 worker: --
20240930 092548 worker: -- Feature availability
20240930 092548 worker: --
20240930 092548 worker: Input select:    available, Source: MPD, Output: HIFI DAC+
20240930 092548 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240930 092548 worker: AirPlay:         available
20240930 092548 worker: Spotify Connect: available
20240930 092548 worker: Squeezelite:     available
20240930 092548 worker: UPnP client:     available
20240930 092548 worker: Plexamp:         not installed, ALSA maxvol: 100%
20240930 092548 worker: RoonBridge:      not installed
20240930 092548 worker: Multiroom:       available
20240930 092548 worker: GPIO buttons:    available
20240930 092548 worker: HTTPS mode:      available
20240930 092548 worker: Stream recorder: n/a
20240930 092548 worker: --
20240930 092548 worker: -- Peripherals
20240930 092548 worker: --
20240930 092550 worker: Local display:   off
20240930 092550 worker: HDMI 4K 60Hz:    off
20240930 092550 worker: On-screen kbd:   off
20240930 092550 worker: Rotary encoder:  off
20240930 092550 worker: USB volume knob: off
20240930 092550 worker: LCD updater:     off
20240930 092550 worker: --
20240930 092550 worker: -- Miscellaneous
20240930 092550 worker: --
20240930 092550 worker: Software update:   Automatic check off
20240930 092550 worker: Auto-CoverView:    off
20240930 092550 worker: CoverView timeout: Never
20240930 092550 worker: Auto-shuffle:      off
20240930 092550 worker: Auto-play:         off
20240930 092550 worker: Web SSH server:    off
20240930 092550 worker: XSS detection:     off
20240930 092550 worker: Maintenance task:  360 mins
20240930 092550 worker: Current view:      reset to Playback
20240930 092550 worker: Active flags:      all false
20240930 092550 worker: Reset flags:       skipped
20240930 092550 worker: Session check:     ok
20240930 092550 worker: --
20240930 092550 worker: -- Startup complete
20240930 092550 worker: --
20240930 092550 worker: Mount monitor:    off
20240930 092550 worker: Radio monitor:    off
20240930 092550 worker: Watchdog monitor: started
20240930 092550 worker: Responsiveness:   Default
20240930 092550 worker: Ready
Reply
#5
[attachment=4070 Wrote:TheOldPresbyope pid='57981' dateline='1727708919']@Hwrd69 

You said


Quote: If I look into the library via the Moode Player I can see that some of the folders and files are missing.

I suspect you've fallen into the trap of thinking that because moOde's Library Folder View looks similar to a file manager view, it is a file manager view. Nope. It is a stylized folder-oriented view of the musical content of a library. It shows only what moOde/MPD consider playable music tracks and the folders containing them (and does fancy footwork to apply thumbnails of coverart).

It's likely that moOde/MPD find issues with the contents (which includes the metadata) of files in your "missing" folders.

Do what Tim requested, because what we see in the output sets the stage and should always be included, but I suspect you'll end up having to examine the contents of the "missing" directories as well as the MPD output generated during the Library update process. At the very least, show us the contents of one of them, such as "Dark Ambient of 2017".

Regards,
Kent

The screenshot of Dark Ambient of 2017 folder is: 
   

Also, I did find that genre tag was incorrect on some of the files. But even after correcting that, the folder/files are still missing the Moode Player view.
Reply
#6
What Kent meant is:
zip the entire folder and put it on the web somewhere, then post a link for its download to him ( @TheOldPresbyope ), @Tim Curtis and myself ( @Nutul ); one of us will have a look at its files, and possibly find the reason why they do not show up in your moOde's library.

BTW, the two files preceding the .flac do not show their filename in its entirety... apparently they are associated with the notepad, and are presumably text files, but CUEs are text files too, and since they are used by MPD to build the library, errors in them could prevent it from doing its job.
Reply
#7
(09-30-2024, 05:56 PM)Hwrd69 Wrote: Below is the start-up log from a cold boot. The only data I modified is I took out the IP address and related info. Everything is virgin (so it says :-) )

Code:
/media$ moodeutl -l
20240930 092535 worker: --
20240930 092535 worker: -- Start moOde 9 series
20240930 092535 worker: --
20240930 092535 worker: Successfully daemonized
20240930 092535 worker: Wait for Linux startup
20240930 092542 worker: Linux startup complete
20240930 092542 worker: Boot config is ok
20240930 092542 worker: Session loaded
20240930 092544 worker: Package locks applied
20240930 092544 worker: File check complete
20240930 092544 worker: Debug logging off
20240930 092544 worker: --
20240930 092544 worker: -- System
20240930 092544 worker: --
20240930 092546 worker: Host name:     Moodeplayer
20240930 092546 worker: RPi model:     Pi-4B 1.1 4GB
20240930 092546 worker: moOde release: 9.1.0 2024-09-16
20240930 092546 worker: RaspiOS:       12.7 Bookworm 64-bit
20240930 092546 worker: Linux Kernel:  6.6.47 64-bit
20240930 092546 worker: MPD version:   0.23.14
20240930 092546 worker: User id:       hwrd69
20240930 092546 worker: Home folder:   /home/hwrd69
20240930 092546 worker: Time zone:     America/Detroit
20240930 092546 worker: Kbd layout:    us
20240930 092546 worker: HDMI ports(s): on
20240930 092546 worker: HDMI-CEC:      off
20240930 092546 worker: Sys LED0:      on
20240930 092546 worker: Sys LED1:      on
20240930 092546 worker: Reduce power:  n/a
20240930 092546 worker: CPU governor:  ondemand
20240930 092546 worker: Integ audio:   vc4-kms-v3d
20240930 092546 worker: --
20240930 092546 worker: -- Network
20240930 092546 worker: --
20240930 092546 worker: Eth0
20240930 092546 worker: Ethernet: adapter exists
20240930 092546 worker: Ethernet: timeout off
20240930 092546 worker: Ethernet: method  dhcp
20240930 092546 worker: Ethernet: address 192.168.40.72
20240930 092546 worker: Ethernet: netmask 255.255.255.0
20240930 092546 worker: Ethernet: gateway 192.168.40.1
20240930 092546 worker: Ethernet: pri DNS 192.168.40.1
20240930 092546 worker: Ethernet: domain  lan
20240930 092546 worker: Wlan0
20240930 092546 worker: Wireless: adapter exists
20240930 092546 worker: Wireless: country US
20240930 092546 worker: Wireless: SSID    Rosenbloom Home
20240930 092546 worker: Wireless: other   None
20240930 092546 worker: Wireless: timeout up to 90 secs
20240930 092546 worker: Wireless: connect to Rosenbloom Home
20240930 092546 worker: Wireless: method  dhcp
20240930 092546 worker: Wireless: address
20240930 092546 worker: Wireless: netmask
20240930 092546 worker: Wireless: gateway 1
20240930 092546 worker: Wireless: pri DNS
20240930 092546 worker: Wireless: domain  lan
20240930 092546 worker: --
20240930 092546 worker: -- File sharing
20240930 092546 worker: --
20240930 092546 worker: SMB file sharing:  off
20240930 092546 worker: NFS file sharing:  off
20240930 092546 worker: DLNA file sharing: off
20240930 092546 worker: --
20240930 092546 worker: -- Special configs
20240930 092546 worker: --
20240930 092546 worker: Plexamp:          not installed
20240930 092546 worker: RoonBridge:       not installed
20240930 092546 worker: Allo Piano 2.1:   not detected
20240930 092546 worker: Allo Boss 2:      not detected, OLED script ok
20240930 092546 worker: IQaudIO AMP*:     not detected
20240930 092546 worker: --
20240930 092546 worker: -- ALSA debug
20240930 092546 worker: --
20240930 092546 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:sndrpihifiberry 3:empty          
20240930 092546 worker:         4:empty           5:empty           6:empty           7:empty          
20240930 092547 worker: Mixers: 0:none            1:none            2:(Digital)       3:none            
20240930 092547 worker:         4:none            5:none            6:none            7:none            
20240930 092547 worker: --
20240930 092547 worker: -- Audio configuration
20240930 092547 worker: --
20240930 092547 worker: Audio device:  2:HIFI DAC+
20240930 092547 worker: ALSA card:     has not been reassigned
20240930 092547 worker: MPD config:    update not needed
20240930 092547 worker: ALSA output:   I2S
20240930 092547 worker: ALSA mode:     Default (plughw)
20240930 092547 worker: ALSA mixer     Digital
20240930 092547 worker: ALSA volume:   100% (0.00dB)
20240930 092547 worker: ALSA maxvol:   100%
20240930 092547 worker: ALSA loopback: off
20240930 092547 worker: MPD mixer      Software
20240930 092547 worker: Audio formats: S16_LE, S24_LE, S32_LE
20240930 092547 worker: CamillaDSP:    off
20240930 092547 worker: CDSP volume:   0dB
20240930 092547 worker: CDSP volrange: 60dB
20240930 092547 worker: --
20240930 092547 worker: -- MPD startup
20240930 092547 worker: --
20240930 092548 worker: MPD service:        started
20240930 092548 worker: MPD port 6600:      accepting connections
20240930 092548 worker: MPD ALSA Default:   on
20240930 092548 worker: MPD ALSA Bluetooth: off
20240930 092548 worker: MPD HTTP Server:    off
20240930 092548 worker: MPD volume:         0
20240930 092548 worker: Saved MPD vol:      -1
20240930 092548 worker: Saved SRC vol:      0
20240930 092548 worker: MPD crossfade:      off
20240930 092548 worker: MPD ignore CUE:     no
20240930 092548 worker: MPD CDSP volsync:   off
20240930 092548 worker: --
20240930 092548 worker: -- Music sources
20240930 092548 worker: --
20240930 092548 worker: USB drive:      HiFi_Music (ext4)
20240930 092548 worker: NVMe drives:    none
20240930 092548 worker: NAS sources:    none
20240930 092548 worker: --
20240930 092548 worker: -- Feature availability
20240930 092548 worker: --
20240930 092548 worker: Input select:    available, Source: MPD, Output: HIFI DAC+
20240930 092548 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240930 092548 worker: AirPlay:         available
20240930 092548 worker: Spotify Connect: available
20240930 092548 worker: Squeezelite:     available
20240930 092548 worker: UPnP client:     available
20240930 092548 worker: Plexamp:         not installed, ALSA maxvol: 100%
20240930 092548 worker: RoonBridge:      not installed
20240930 092548 worker: Multiroom:       available
20240930 092548 worker: GPIO buttons:    available
20240930 092548 worker: HTTPS mode:      available
20240930 092548 worker: Stream recorder: n/a
20240930 092548 worker: --
20240930 092548 worker: -- Peripherals
20240930 092548 worker: --
20240930 092550 worker: Local display:   off
20240930 092550 worker: HDMI 4K 60Hz:    off
20240930 092550 worker: On-screen kbd:   off
20240930 092550 worker: Rotary encoder:  off
20240930 092550 worker: USB volume knob: off
20240930 092550 worker: LCD updater:     off
20240930 092550 worker: --
20240930 092550 worker: -- Miscellaneous
20240930 092550 worker: --
20240930 092550 worker: Software update:   Automatic check off
20240930 092550 worker: Auto-CoverView:    off
20240930 092550 worker: CoverView timeout: Never
20240930 092550 worker: Auto-shuffle:      off
20240930 092550 worker: Auto-play:         off
20240930 092550 worker: Web SSH server:    off
20240930 092550 worker: XSS detection:     off
20240930 092550 worker: Maintenance task:  360 mins
20240930 092550 worker: Current view:      reset to Playback
20240930 092550 worker: Active flags:      all false
20240930 092550 worker: Reset flags:       skipped
20240930 092550 worker: Session check:     ok
20240930 092550 worker: --
20240930 092550 worker: -- Startup complete
20240930 092550 worker: --
20240930 092550 worker: Mount monitor:    off
20240930 092550 worker: Radio monitor:    off
20240930 092550 worker: Watchdog monitor: started
20240930 092550 worker: Responsiveness:   Default
20240930 092550 worker: Ready

I don't see anything suspicious in the log other that you have both network interfaces active. It's best to have only one active interface because having two does not provide any performance or throughput benefit and it can make troubleshooting more difficult.

Typically when albums or tracks don't show up it's due to insufficient permissions. MPD needs read permission on music files and read+execute permission on the album directory and all parent directories.

To determine if its a permission issue Regenerate the music database (Library Config screen) and then examine the MPD log for errors (moodeutl --mpdlog), also check the moode startup log.

Also, I assume these missing albums don't show up in tag or album view, correct?

And as @Nutul mentioned feel free to zip up one of the albums that don't show up and PM a download link.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
Sorry it's taken a few days to get back. Below is a link to the zipped folder as an example. If you have any questions/comments, please let me know.

[URL Removed]
Reply
#9
@Hwrd69 

You probably don't want to be posting your link on a public site. @Nutul meant send us a private message via this forum.

The flac file you provided contains no metadata 

Code:
rho@moode:~/Downloads/Dark Ambient of 2017$ mediainfo 'Dark Ambient Of 2017.flac'
General
Complete name                            : Dark Ambient Of 2017.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 223 MiB
Duration                                 : 65 h 36 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 7 913 b/s

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 65 h 36 min
Bit rate mode                            : Variable
Bit rate                                 : 7 161 b/s
Channel(s)                               : 3 channels
Channel layout                           : L R C
Sampling rate                            : 53.4 kHz
Bit depth                                : 5 bits
Compression mode                         : Lossless
Stream size                              : 202 MiB (90%)


and fails the flac decoder test


Code:
rho@moode:~/Downloads/Dark Ambient of 2017$ flac -t 'Dark Ambient Of 2017.flac'
flac 1.4.2
Copyright (C) 2000-2009  Josh Coalson, 2011-2022  Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

Dark Ambient Of 2017.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
*** Got error code 3:FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM
...


Not playable.

Regards,
Kent
Reply
#10
First, I want to thank everyone for the suggestions and input. It turns out that it was the metadata that was screwing it up. I'm not sure why it was incorrect. I always try and remember to ensure that all that is there after I download the files. I guess I missed a few. 

Once I went through the files and updated the metadata and then rebooted the system the folders and files show up in the library. YEA!!!  Big Grin
Reply


Forum Jump: