03-27-2024, 11:43 AM
Good questions. Someone would need to test such a configuration.
IIRC below is the approach for remote playlist directory. Not tested on my end so YMMV
NAS
- Create a playlist directory named Playlists
- Configure it as a shared directory so other hosts can see it
- Copy playlist files to the directory
PI
- Using SSH create a mount point named /mnt/Playlists in /etc/fstab to the shared playlists directory on the NAS
- Using SSH create a symlink in /var/lib/mpd/ to the playlists share
IIRC below is the approach for remote playlist directory. Not tested on my end so YMMV
NAS
- Create a playlist directory named Playlists
- Configure it as a shared directory so other hosts can see it
- Copy playlist files to the directory
PI
- Using SSH create a mount point named /mnt/Playlists in /etc/fstab to the shared playlists directory on the NAS
- Using SSH create a symlink in /var/lib/mpd/ to the playlists share
Code:
# Delete the local playlist directory (it needs to be empty first)
sudo rmdir /var/lib/mpd/playlists
# Create the symlink (
sudo ln -s /mnt/Playlists /var/lib/mpd/playlists