Thank you for your donation!


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


Sharing music files between two RPIs
#1
Hi
 
I’ve been using Moode for a few weeks now. Really happy with it, thanks for the hard work. I have a simple set up, RPi 4, Moode 7.3 to play tons of music stored in a SSD that’s attached to the RPI via USB. Then USB to my DAC and so on.
 
I am thinking about the possibility of having a second RPI with moode attached to another audio system I have in another room, but would love to access and play the music files that are attached to my current RPi so I don’t need to have multiple copies of the same files.
 
Both RPIs would be on the same network of course. I have some IT and Networking knowledge, have mapped and shared network resources without issues, but always in Windows, I am pretty ignorant when it comes to Linux.
 
Can this be done? If so would you help me find instructions or anything that can help figure it out? I have searched the forum but have had no luck so far (this is the closest I found https://moodeaudio.org/forum/showthread.php?tid=4131)
 
Many thanks in advance
Reply
#2
Sure it can be done.

The pi which hosts the music files automatically creates a shared network drive which can be used to store files and also access them from other machines. On Pi 2 just add this smd share to the music library and you are done. I am also doing this with 2x pi4.

You can also store the music files on a third computer with potentially more storage space. In such a case just create a share on that machine and have both (or even more= pis with moode use the share by adding it to the library on each machine.
Reply
#3
I have two pi 3 music players connected via Wi-Fi to a pi 4 using open media vault software and a 1 TB USB drive, and it works very well.

https://thepi.io/how-to-use-your-raspber...a-nas-box/
Reply
#4
(10-27-2021, 09:07 AM)Gekel Wrote: Sure it can be done.

The pi which hosts the music files automatically creates a shared network drive which can be used to store files and also access them from other machines. On Pi 2 just add this smd share to the music library and you are done. I am also doing this with 2x pi4.

You can also store the music files on a third computer with potentially more storage space. In such a case just create a share on that machine and have both (or even more= pis with moode use the share by adding it to the library on each machine.

Thanks Gekel, yes I had read about the Pi creating a shared network drive, but had no luck finding it from my Windows 10 laptop connected to the same network, so I thought I might be missing something (I did enable TC/IP over NetBios...as I read elsewhere had to be done). I tried seeing from the laptop for testing pursposes, that is, before jumping in and buying another Pi for my little project.
Reply
#5
(10-27-2021, 10:08 AM)kit1cat Wrote: I have two pi 3 music players connected via Wi-Fi to a  pi 4 using open media vault software and a 1 TB USB drive, and it works very well.

https://thepi.io/how-to-use-your-raspber...a-nas-box/

Thanks Kit1cat, I might try to do that in the future. For the moment I have no spare hardware to do that.
Reply
#6
The Pi that has the USB SSD device connected will post a Samba share named after the disk label of the USB disk for example my Pi named RP2 has an attached USB drive whose disk label is VFAT128.

On the other Pi open Library Config and create a new Music Source.

- Type = Samba (SMB)
- Click SCAN

The dropdown should contain an item like below. Your Pi host name and USB disk name will be different than mine.

RP2/VFAT128

- Select that as the Path. If nothing shows up in the SCAN list then just enter the Path manually
- Enter "guest" for User id
- Enter nothing (blank) for Password
- Enter anything for example "Music" for Name
- SAVE

Return to Playback view then Menu, Update Library
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
(10-27-2021, 07:06 PM)Tim Curtis Wrote: The Pi that has the USB SSD device connected will post a Samba share named after the disk label of the USB disk for example my Pi named RP2 has an attached USB drive whose disk label is VFAT128.

On the other Pi open Library Config and create a new Music Source.

- Type = Samba (SMB)
- Click SCAN

The dropdown should contain an item like below. Your Pi host name and USB disk name will be different than mine.

RP2/VFAT128

- Select that as the Path. If nothing shows up in the SCAN list then just enter the Path manually
- Enter "guest" for User id
- Enter nothing (blank) for Password
- Enter anything for example "Music" for Name
- SAVE

Return to Playback view then Menu, Update Library
Thanks Tim
Reply


Forum Jump: