Moode Forum
Connecting two moOde boxes - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Connecting two moOde boxes (/showthread.php?tid=5688)



Connecting two moOde boxes - Sehnsucht - 07-09-2023

I have two mooode boxes and I'd like to connect them.
1) pi 4, usb hard drive with a lot of music, ethernet
2) pi zero w, sd card with a little music, wifi

Both work perfectly independently. 
I'd like to use device 2 to listen to the music from device 1, using PEQ.  I've connected 2 to 1 using samba and...well, it's taken maybe 30 minutes to index all the music and it's not finished yet.  I imagine it'll do this every time I reboot device 2.
Is there some way of achieving this with some combination of UPnP DLNA?

I can listen to the music from device 1 using UAPP on my tablet just fine - I just navigate around the share and play tracks, add albums etc.  It just works.  So an alternative would be if moOde supported a "poke around the samba-shared files live" mode which didn't required the files all be read into an MPD database first.


RE: Connecting two moOde boxes - TheOldPresbyope - 07-09-2023

You might want to have a look at the Satellite Setup Description in the MPD User Manual.

ETA I haven’t tried it so can’t comment on possible gotchas.

Regards,
Kent


RE: Connecting two moOde boxes - Tim Curtis - 07-09-2023

(07-09-2023, 02:44 PM)Sehnsucht Wrote: I have two mooode boxes and I'd like to connect them.
1) pi 4, usb hard drive with a lot of music, ethernet
2) pi zero w, sd card with a little music, wifi

Both work perfectly independently. 
I'd like to use device 2 to listen to the music from device 1, using PEQ.  I've connected 2 to 1 using samba and...well, it's taken maybe 30 minutes to index all the music and it's not finished yet.  I imagine it'll do this every time I reboot device 2.
Is there some way of achieving this with some combination of UPnP DLNA?

I can listen to the music from device 1 using UAPP on my tablet just fine - I just navigate around the share and play tracks, add albums etc.  It just works.  So an alternative would be if moOde supported a "poke around the samba-shared files live" mode which didn't required the files all be read into an MPD database first.

It would be very odd if after you rebooted the Zero MPD would initiate a database update. That never happens on any of my systems.

The long update times are prolly due to slow Zero, slow uSD Card, slow Network etc


RE: Connecting two moOde boxes - Sehnsucht - 07-10-2023

(07-09-2023, 03:53 PM)Tim Curtis Wrote:
(07-09-2023, 02:44 PM)Sehnsucht Wrote: I have two mooode boxes and I'd like to connect them.
1) pi 4, usb hard drive with a lot of music, ethernet
2) pi zero w, sd card with a little music, wifi

Both work perfectly independently. 
I'd like to use device 2 to listen to the music from device 1, using PEQ.  I've connected 2 to 1 using samba and...well, it's taken maybe 30 minutes to index all the music and it's not finished yet.  I imagine it'll do this every time I reboot device 2.
Is there some way of achieving this with some combination of UPnP DLNA?

I can listen to the music from device 1 using UAPP on my tablet just fine - I just navigate around the share and play tracks, add albums etc.  It just works.  So an alternative would be if moOde supported a "poke around the samba-shared files live" mode which didn't required the files all be read into an MPD database first.

It would be very odd if after you rebooted the Zero MPD would initiate a database update. That never happens on any of my systems.

The long update times are prolly due to slow Zero, slow uSD Card, slow Network etc

I left it running for hours and eventually it finished.  And it's true, it didn't seem to need to do it all over again after a reboot.  I managed to play a few tracks from a single folder without issue, which was great but then I tried to play another album and it just kept hanging for minutes at a time whenever I tried to navigate and play, and never actually played anything else.  Each time it was hanging I could, eventually, connect via ssh or samba so it never actually died.  I suspect a pi zero over wifi is just not up to the job of dealing with large (tens of thousands of tracks) mpd databases (despite having already dealt with it to the point that I could play anything).


RE: Connecting two moOde boxes - Tim Curtis - 07-10-2023

You might want to try connecting the Zero via Ethernet to rule out some sort of WiFi issue.


RE: Connecting two moOde boxes - Sehnsucht - 07-16-2023

(07-09-2023, 03:00 PM)TheOldPresbyope Wrote: You might want to have a look at the Satellite Setup Description in the MPD User Manual.

ETA I haven’t tried it so can’t comment on possible gotchas.

Regards,
Kent

Thanks, I took a look.  I think there are two problems here:
1) smb isn't supported due to problems with libsmbclient:
https://bugzilla.samba.org/show_bug.cgi?id=11413
2) nfs was not a compile-time option on the mpd used by moOde.


I'm not sure how easy it would be to replace the mpd on my pis with one containing the correct options.