06-19-2024, 08:48 PM
The symlinks in the MPD music directory point to the moode base directories that will be included in MPD database scan, thumbnail generation and Library cache generation.
With uSD Card boot media you would place the music collection under /mnt/SDCARD directory.
With SSD boot media you could do same since there is no predefined /mnt/SSD dir although I do have something about adding it in my notes. The only annoyance would be when using Folder view SDCARD would be the top level folder name and not something more meaningful like SSD.
Also note that these directory names are defined in /var/www/inc/constants.php and are referenced in several parts of the code.
Also, you definitely don't want bootfs or rootfs to be part of any mpd, thumbgen or libcache scan. I'm not sure how those became listed in your thmgen scan. Were they manually mounted to /media ?
Code:
pi@sig:~ $ ls -l /var/lib/mpd/music/
total 12
lrwxrwxrwx 1 root root 8 May 10 09:31 NAS -> /mnt/NAS
drwxrwxrwx 2 root root 12288 Jun 10 15:55 RADIO
lrwxrwxrwx 1 root root 11 May 10 09:31 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 May 10 09:31 USB -> /media
With uSD Card boot media you would place the music collection under /mnt/SDCARD directory.
With SSD boot media you could do same since there is no predefined /mnt/SSD dir although I do have something about adding it in my notes. The only annoyance would be when using Folder view SDCARD would be the top level folder name and not something more meaningful like SSD.
Also note that these directory names are defined in /var/www/inc/constants.php and are referenced in several parts of the code.
Code:
const ROOT_DIRECTORIES = array('NAS', 'SDCARD', 'USB');
Also, you definitely don't want bootfs or rootfs to be part of any mpd, thumbgen or libcache scan. I'm not sure how those became listed in your thmgen scan. Were they manually mounted to /media ?