![]() |
[PROBLEM] RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP (/showthread.php?tid=7652) |
RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Tim Curtis - 04-20-2025 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 RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Nutul - 04-20-2025 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... RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Tim Curtis - 04-20-2025 (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. Do you mean in the output of ls ?? They are not actually part of the filename but ls adds the quotes of the output can be safely piped. RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - ils1974 - 04-20-2025 (04-20-2025, 11:38 AM)Tim Curtis Wrote: I would try: (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. 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. RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Nutul - 04-20-2025 (04-20-2025, 08:40 PM)Tim Curtis Wrote:(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. No, I mean the apostrophes in the errors in the log. RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Nutul - 04-20-2025 (04-20-2025, 08:48 PM)ils1974 Wrote: 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. As long as the correct characters are in the metadata tags, the filename can be plain ASCII, with all "special" letters just being replaced by their "plain" ones. This I meant. Then, of course, the contents of the playlist file will reflect such changes. Anyway I do not think that MPD complains about - for example - French accented letters, provided the text in the playlist and the actual filename are the same in terms of encoding... But a single quote, like in Runnin' (final g elided...) can make the text an incomplete string for a not-so-acute parser... RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Tim Curtis - 04-20-2025 (04-20-2025, 09:16 PM)Nutul Wrote:(04-20-2025, 08:40 PM)Tim Curtis Wrote:(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. Should be no prob for MPD I have many tracks with trailing single quote (apostrophe) Example Code: NAS/TRX-FLAC/The Mamas & The Papas/16 Greatest Hits/04 California Dreamin'.flac RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - D3D5S - 04-25-2025 (04-20-2025, 10:38 PM)Tim Curtis Wrote:(04-20-2025, 09:16 PM)Nutul Wrote:(04-20-2025, 08:40 PM)Tim Curtis Wrote:(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. Hello! Back to the topic. I bought a PIMORONI NVMe Base Duo for Raspberry Pi 5, 2x M-Key Slot, PCIe Gen 2 Switch, have inserted two 2 TB 2280 NVMe, want to use them for storing music and movies. The problem is present furthermore. I have used the FORMAT button in the library section to format one after another. Almost 30 GB in total are shown on both NVMe, when I take them out and put them in an USB device and connect it to Ubuntu, 2 TB in total are shown, strangely are 6.1 GB used after I wrote a folder over network onto both of the NVMe. I do not have access rights to the NVMe, can't write data on it when its placed in the USB device and connected to the PC. When I try to write more data onto the NVME via network it is limited to 30 GB in total. It's a strange behaviour, and it leaves me frustrated as it seems I have to flash one of the NVMe with MOODE to make it writable in total. What is the reason for this behaviour of MOODE? Thanks, Steve RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - Tim Curtis - 04-25-2025 This post explains whats happening https://moodeaudio.org/forum/showthread.php?tid=7660&pid=63329#pid63329 RE: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP - D3D5S - 04-25-2025 Hello Tim! Sorry, I didn't update the page. I have resigned myself to flashing the NVMe directly, now both NVMe with 2 TB are recognized. However, writing to the NVMe now runs over the network and at just under 40 MB/s it is much slower than if I could connect the NVMe to the PC in a USB enclosure. I would have liked to continue using the SD card. But what is the problem that if the image is on the SD card, the NVMe cannot be read correctly? Best regards, Steve |