Thank you for your donation!


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


Problem: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP
#14
(04-20-2025, 11:38 AM)Tim Curtis Wrote: I would try:

1. Examine the MPD log for errors
cat /var/log/mpd/log

2. Ensure that the files and directories on the NVMe drive have the correct permissions. MPD needs read access to the files and read+execute access to all containing directories.

The permission mask breakdown is as follows:

Directory: d rwx r-x r-x
type:directory, user:read+write+execute, group=read+execute world=read+execute

File: - rw- r-- r--
type:- (file)user:read+write, group=read, world=read

Here is an example. Files and directories are owned by user:group = root:root

Code:
pi@trx:~ $ ls -l /mnt/NVME/Music/FLAC/Solvent
total 4
drwxr-xr-x 2 root root 4096 Jul 25  2024 'Elevators & Oscillators'

pi@trx:~ $ ls -l "/mnt/NVME/Music/FLAC/Solvent/Elevators & Oscillators"
total 329856
-rw-r--r-- 1 root root 23989244 Jul 25  2024 '01 Wish.flac'
-rw-r--r-- 1 root root 31997793 Jul 25  2024 '02 My Radio (The Mitgang Audio Remix.flac'
-rw-r--r-- 1 root root 27936287 Jul 25  2024 '03 For You (Lowfish Remix).flac'
-rw-r--r-- 1 root root 10812795 Jul 25  2024 '04 Radio Goo Goo.flac'
-rw-r--r-- 1 root root 23290560 Jul 25  2024 '05 My Radio (Legowelt Remake).flac'
-rw-r--r-- 1 root root 45591414 Jul 25  2024 '06 Think Like Us (Alter Ego Remix).flac'
-rw-r--r-- 1 root root 10435467 Jul 25  2024 '07 Interlude.flac'
-rw-r--r-- 1 root root 23486874 Jul 25  2024 '08 Devices and Strategies.flac'
-rw-r--r-- 1 root root 29171186 Jul 25  2024 '09 For You (ISAN Remix).flac'
-rw-r--r-- 1 root root 16742404 Jul 25  2024 '10 Apples and Oranges.flac'
-rw-r--r-- 1 root root 34109595 Jul 25  2024 '11 My Radio (Schneider TM Mustang Re.flac'
-rw-r--r-- 1 root root 26681498 Jul 25  2024 '12 For You (JDSY Remix).flac'
-rw-r--r-- 1 root root 33501576 Jul 25  2024 '13 Elevators and Oscillators.flac'

(04-20-2025, 08:11 PM)Nutul Wrote: To me it looks like all those filenames with apostrophes are making MPD's life harder than needed.
I'd rename them, either removing the apostrophe at all\, or substituting it with an underscore. The Artist, album and track name are in the metadata, and that's what MPD uses; so the filename could actually just be a.flac...

Renaming is not alwys that easy, as you may have titles which are French, and contain those special characters. Last night I was struggling with playlists. Some of my playlists refused to be edited in moOde. They were also ignored by MPD. Some had to to with apostrophes, others with characters like è or é in the filename. Trick was here to open it (on Win) in NPP++ and save the playlist file as a UNIX UTF8 file.
Reply


Messages In This Thread
RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - by D3D5S - 04-19-2025, 07:48 AM
RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - by ils1974 - 04-20-2025, 08:48 PM

Forum Jump: