Thank you for your donation!


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


Solved: Music stored in local (to RPI) drive
#1
Hi
Running Moodeaudio (8.3.7) on a RPI4B.
I was wondering if there is a formal mechanism for adding a local directory/folder as a source in the music library? My intention was to have no usb drives or cards connected to the RPI and I intend to use it in a fairly basic environment with no lan. Moode is perfect because it creates its own wifi network. I bought a 256GB SD card which would be sufficient to store my current library of about 125GB. My approach has been to create a "LOCAL" sub folder in /var/lib/mpd/music/ and then add the music files to it. However the only fly in the ointment seems to be that the cover art is not picked up. During testing accessing the same files in my home lan does show cover art.
I'm wondering if this is a sensible approach or if there is a better approach to achieve what I want?
Thanks
Pete
Reply
#2
Use /var/lib/mpd/music/SDCARD/ as the root and you will be all set.

The thumbnail generator scans /mnt and /media

pi@moode:~ $ ls -l /var/lib/mpd/music
total 16
lrwxrwxrwx 1 root root 8 Dec 7 14:26 NAS -> /mnt/NAS
drwxrwxrwx 2 root root 16384 Dec 7 14:26 RADIO
lrwxrwxrwx 1 root root 11 Dec 7 14:26 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 Dec 7 14:26 USB -> /media
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(01-06-2024, 02:57 AM)Tim Curtis Wrote: Use /var/lib/mpd/music/SDCARD/ as the root and you will be all set.

The thumbnail generator scans /mnt and /media

pi@moode:~ $ ls -l /var/lib/mpd/music
total 16
lrwxrwxrwx 1 root root     8 Dec  7 14:26 NAS -> /mnt/NAS
drwxrwxrwx 2 root root 16384 Dec  7 14:26 RADIO
lrwxrwxrwx 1 root root    11 Dec  7 14:26 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root     6 Dec  7 14:26 USB -> /media

Thanks Tim - that worked a treat.
I had tested with a single folder but for some reason that didn't work. 
Cheers
Pete
Reply


Forum Jump: