Thank you for your donation!


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


Shared playlist on NAS?
#1
Hi,

How can I create a playlist on my NAS so it's visible/can be used by all moOde instances in my house?

Tx
Reply
#2
(04-19-2025, 06:35 PM)ils1974 Wrote: Hi,

How can I create a playlist on my NAS so it's visible/can be used by all moOde instances in my house?

Tx

Did you see the note up under the SMB file sharing setting (m > Configure > System)

Code:
Server Message Block (SMB) allows files to be shared over a network with Windows, Mac and Linux clients.
Shares: NAS, NVMe, SATA, SDCard, Playlists and USB drives (by label).


Regards,
Kent
Reply
#3
I think he means store the Playlist file(s) on the NAS and reference them from the Pi. The default location is local on the Pi in /var/lib/mpd/playlists

Maybe a symlink that points /var/lib/mpd/playlists to the remote playlist directory on the NAS?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
Lemme see.
- modify every player to point to the NAS (from the terminal), or
- turn on the SMB file sharing feature in one player and point the other players to the share all within the webUI)

Call me crazy---or just lazy---but I'd try the second option first Tongue

Regards,
Kent
Reply
#5
(04-19-2025, 08:26 PM)TheOldPresbyope Wrote: Lemme see.
- modify every player to point to the NAS (from the terminal), or
- turn on the SMB file sharing feature in one player and point the other players to the share all within the webUI)

Call me crazy---or just lazy---but I'd try the second option first Tongue

Regards,
Kent

But MPD only knows about /var/lib/mpd/playlists
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
"But MPD only knows about /var/lib/mpd/playlists" ->This may indeed be the challenge.
Never came across this challenge, till today, as I wanted to take my playlist with me from one room to another.
Reply
#7
(04-19-2025, 07:52 PM)Tim Curtis Wrote: I think he means store the Playlist file(s) on the NAS and reference them from the Pi. The default location is local on the Pi in /var/lib/mpd/playlists

Maybe a symlink that points /var/lib/mpd/playlists to the remote playlist directory on the NAS?

I created a symlink to the playlist on the NAS in /var/lib/mpd/playlists, and a symlink to the coverfile on the NAS in /var/local/www/imagesw/playlist-covers.

This does the trick, but when I update the "Genre" field, moOde doesn't take that change.
Reply
#8
Ok. Fixed the Genre update thing. This was due to the fact that moOde mounts the NAS in ro mode. Setting to "rw" in the Advanced Settings of the mount options, does the magic.

It's some manual work, but I can live with it.

@Tim Curtis, thanks for the symlink hint!
Reply
#9
Although one thing: when I backup the playlists and restore them, it re-creates it as a normal file, and not a symlink. This brakes the story. :-(
Reply
#10
(04-20-2025, 12:09 AM)ils1974 Wrote: Although one thing: when I backup the playlists and restore them, it  re-creates it as a normal file, and not a symlink. This brakes the story. :-(

It was worth a try but if you are storing all the playlists on the NAS anyway then you could exclude them from moode backup and do a manual file copy from the NAS location to a backup disk.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: