Thank you for your donation!


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


Local folder playback
#2
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.

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 ?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Local folder playback - by schmidtjr - 06-19-2024, 07:17 PM
RE: Local folder playback - by Tim Curtis - 06-19-2024, 08:48 PM
RE: Local folder playback - by schmidtjr - 06-21-2024, 07:28 PM
RE: Local folder playback - by Tim Curtis - 06-21-2024, 11:49 PM
RE: Local folder playback - by TheOldPresbyope - 06-21-2024, 08:49 PM
RE: Local folder playback - by Tim Curtis - 06-21-2024, 11:39 PM
RE: Local folder playback - by schmidtjr - 06-22-2024, 12:47 PM
RE: Local folder playback - by Tim Curtis - 06-22-2024, 01:14 PM
RE: Local folder playback - by schmidtjr - 06-22-2024, 08:36 PM
RE: Local folder playback - by bobfa - 06-22-2024, 05:48 PM
RE: Local folder playback - by philrandal - 06-22-2024, 06:09 PM
RE: Local folder playback - by Tim Curtis - 06-22-2024, 10:22 PM

Forum Jump: