09-23-2023, 05:56 PM
(09-23-2023, 05:28 PM)halfnote Wrote: Copied my media to the SDCard but refresh didn't populate the library. Appears at first due to filenames copied from a Mac that had spaces in the flac filenames. Upon copying the files, the new files have quotes around the entire filename including the flac extension. Wish I remembered what I'd done to address it last time or if I needed to. I might need some messy filename translation from spaces to underscores. I may have searched the wrong terms but if anyone knows a quick fix or thread, let me know.
No, spaces in the filenames aren't a problem.
More likely, it's a permissions problem. Quoting from the MPD documentation
Quote:Does the MPD user have read permission on all music files, and read+execute permission on all music directories (and all of their parent directories).
Here's what Linux says about the SDCARD on one of my players:
Code:
pi@m836-64:~ $ ls -la /mnt
total 16
drwxr-xr-x 4 root root 4096 Aug 19 16:49 .
drwxr-xr-x 18 root root 4096 Aug 19 17:09 ..
drwxr-xr-x 3 root root 4096 Aug 21 00:13 NAS
drwxr-xr-x 4 root root 4096 Sep 10 13:39 SDCARD
pi@m836-64:~ $ ls -laR /mnt/SDCARD
/mnt/SDCARD:
total 16
drwxr-xr-x 4 root root 4096 Sep 10 13:39 .
drwxr-xr-x 4 root root 4096 Aug 19 16:49 ..
drwxr-xr-x 2 pi pi 4096 Sep 10 09:12 '1969 - In A Silent Way (1969, 2012 MFSL RM)'
drwxr-xr-x 2 root root 4096 Sep 6 21:46 'Stereo Test'
'/mnt/SDCARD/1969 - In A Silent Way (1969, 2012 MFSL RM)':
total 788980
drwxr-xr-x 2 pi pi 4096 Sep 10 09:12 .
drwxr-xr-x 4 root root 4096 Sep 10 13:39 ..
-rw-r--r-- 1 pi pi 394870911 Sep 10 09:56 '01. Shhh-Peaceful.wv'
-rw-r--r-- 1 pi pi 412402712 Sep 10 09:56 "02. In A Silent Way-It's About That Time.wv"
-rw-r--r-- 1 pi pi 615806 Sep 5 07:56 cover.jpg
'/mnt/SDCARD/Stereo Test':
total 2080
drwxr-xr-x 2 root root 4096 Sep 6 21:46 .
drwxr-xr-x 4 root root 4096 Sep 10 13:39 ..
-rw-r--r-- 1 root root 2120405 Sep 5 13:50 LRMonoPhase4.flac
MPD has no problem indexing and playing both the LRMonoPhase4.flac file distributed with moOde and the wv test file and directory I created in examining a user's problem.
Since you say you copied from a Mac you likely have a bunch of MacOS crapola too. I don't have a Mac and so won't comment but this been addressed a number of times in this forum.
Regards,
Kent