Thank you for your donation!


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


Problem: File Sharing between miltiple Moode RPi Players
#1
I want to run TWO Moode Players in separate rooms on the same LAN and would like to share the Music Library between the two Raspberry Pi Moode players. The configuration of the two players is as below:

  1. Raspberry Pi 3B  with Moode on a 16GB MicroSD Card; HifiBerry Dac + Hat connected on WiFi 192.168.1.115 Hostname Moode; Music Library on 64GB USB Sticks x2
  2. Raspberry Pi 3B  with Moode on a 16GB MicroSD Card; HifiBerry Dac + Hat connected on WiFi 192.168.1.116 Hostname Moode1; Small library on the system SDCard. 
Please could someone give me explicit instructions on how to set up the Library Config/ Music Sources / Create panel to access the Music Library stores on the other Moode Player.

I should add that I am not really Linux savvy but fairly competent with the Raspberry Pi and the Moode User interface.

All help and suggestions appreciated, - Robin
Reply
#2
This should prolly be in the Support Forum but in any case try the following.

1. In the Music Source config screen click SCAN
2. The USB drives from the other Pi should be listed
3. Select a drive
4. Specify userid Guest and no password
5. Give it whatever Name (alias) you wish
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(06-16-2021, 09:33 PM)Tim Curtis Wrote: 1. In the Music Source config screen click SCAN
2. The USB drives from the other Pi should be listed
3. Select a drive
4. Specify userid Guest and no password
5. Give it whatever Name (alias) you wish

Hi Tim, I'm falling at the first hurdle! Clicking SCAN doesn't display any available drives.

Do I need to configure the drives as "Shared"?  or is there anything that I need to configure in my Router?

R
Reply
#4
You don't need to do anything in moOde. It automatically shares out NAS, USB drives, Playlists and SDCard.

The symptom "SCAN doesn't display any available drives" means that your network / Router is prolly blocking the protocol (multicast DNS or mDNS) that is used for discovering things like Samba shares. In this case you can click EDIT path and enter HOST/SHARE_NAME or IP_ADDRESS_OF_PI/SHARE_NAME.

Does SCAN return anything?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(06-16-2021, 11:02 PM)Tim Curtis Wrote: You don't need to do anything in moOde. It automatically shares out NAS, USB drives, Playlists and SDCard.

The symptom "SCAN doesn't display any available drives" means that your network / Router is prolly blocking the protocol (multicast DNS or mDNS) that is used for discovering things like Samba shares. In this case you can click EDIT path and enter HOST/SHARE_NAME or IP_ADDRESS_OF_PI/SHARE_NAME.

Does SCAN return anything?
No... SCAN returns nothing.

I manually Edited the path to "192.168.1.116/USB" and got "NAS Mount Error - Click to view Log" which I have clipped below. Does it reveal anything?:
Moode Log

20210617 000635 worker: -- Start
20210617 000635 worker: Successfully daemonized
20210617 000636 worker: Integrity check (passed)
20210617 000637 worker: File check (OK)
20210617 000637 worker: Session vacuumed
20210617 000639 worker: Session loaded
20210617 000639 worker: Debug logging (OFF)
20210617 000639 worker: -- Audio debug
20210617 000639 worker: ALSA cards: (0Confusedndrpihifiberry | 1:empty | 2:empty | 3:empty
20210617 000639 worker: MPD config: (0:HiFiBerry DAC+ | mixerSadDigital) | card:0)
20210617 000639 worker: ALSA mixer actual (Digital)
20210617 000640 worker: ALSA Digital volume set to (0%)
20210617 000640 worker: -- System
20210617 000642 worker: Host     (moode)
20210617 000642 worker: moOde    (7.2.0 2021-04-24)
20210617 000642 worker: RaspiOS  (10.6)
20210617 000642 worker: Kernel   (5.4.77-v7+ #1371)
20210617 000642 worker: Platform (Pi-3B 1.2 1GB)
20210617 000642 worker: ARM arch (armv7l, 32-bit kernel)
20210617 000642 worker: MPD ver  (0.22.6_p0x3)
20210617 000642 worker: CPU gov  (ondemand)
20210617 000642 worker: USB boot not enabled yet
20210617 000642 worker: File system not expanded yet
20210617 000642 worker: HDMI port on
20210617 000642 worker: -- Network
20210617 000642 worker: eth0 exists
20210617 000642 worker: eth0 wait 0 for IP address
20210617 000645 worker: eth0 wait 1 for IP address
20210617 000648 worker: eth0 wait 2 for IP address
20210617 000706 worker: eth0 wait 3 for IP address
20210617 000709 worker: eth0 wait 4 for IP address
20210617 000712 worker: eth0 address not assigned
20210617 000712 worker: wlan0 exists
20210617 000712 worker: wifi country (GB)
20210617 000712 worker: wlan0 trying SSID (BTHub6-632K)
20210617 000712 worker: IP addr (192.168.1.115)
20210617 000712 worker: Netmask (255.255.255.0)
20210617 000712 worker: Gateway (192.168.1.254)
20210617 000712 worker: Pri DNS (192.168.1.254)
20210617 000712 worker: Domain  (home)
20210617 000713 worker: Pi integrated wlan0 power save disabled
20210617 000713 worker: -- Audio config
20210617 000714 worker: MPD conf updated
20210617 000714 worker: ALSA card number (0)
20210617 000714 worker: MPD audio output (HiFiBerry DAC+)
20210617 000714 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210617 000714 worker: ALSA mixer name (Digital)
20210617 000714 worker: MPD volume control (software)
20210617 000714 worker: Hdwr volume controller exists
20210617 000714 worker: Max ALSA volume (100%)
20210617 000714 worker: ALSA loopback (Off)
20210617 000714 worker: Reset renderer active flags
20210617 000714 worker: CamillaDSP (off)
20210617 000714 worker: -- MPD startup
20210617 000714 worker: MPD started
20210617 000715 worker: MPD accepting connections
20210617 000715 worker: MPD output 1 ALSA Default (on)
20210617 000715 worker: MPD output 2 ALSA Bluetooth (off)
20210617 000715 worker: MPD output 3 HTTP Server (off)
20210617 000715 worker: MPD crossfade (off)
20210617 000715 worker: MPD ignore CUE files (yes)
20210617 000715 worker: -- Feature availability
20210617 000715 worker: Source select (available)
20210617 000715 worker: Source select (source: MPD)
20210617 000715 worker: Source select (output: HiFiBerry DAC+)
20210617 000715 worker: Bluetooth (available)
20210617 000715 worker: Airplay renderer (available)
20210617 000715 worker: Spotify renderer (available)
20210617 000715 worker: Squeezelite (available)
20210617 000715 worker: RoonBridge renderer (not installed)
20210617 000715 worker: UPnP renderer (available)
20210617 000715 worker: DLNA server (available)
20210617 000715 worker: UPnP browser (available)
20210617 000715 worker: GPIO button handler (available)
20210617 000715 worker: Stream recorder (n/a)
20210617 000715 worker: -- Music sources
20210617 000715 worker: USB sources (none attached)
20210617 000715 worker: NAS and UPnP sources (none configured)
20210617 000715 worker: -- Other
20210617 000715 worker: USB volume knob (Off)
20210617 000715 worker: USB auto-mounter (udisks-glue)
20210617 000715 worker: LED0 (On)
20210617 000715 worker: LED1 (On)
20210617 000715 worker: Saved MPD vol level (0)
20210617 000715 worker: Preamp volume level (0)
20210617 000715 worker: MPD volume level (60) restored
20210617 000715 worker: ALSA Digital volume (100%)
20210617 000715 worker: Auto-play (Off)
20210617 000715 worker: Maintenance interval (3 hours)
20210617 000715 worker: Screen saver activation (Never)
20210617 000715 worker: Session permissions (OK)
20210617 000716 worker: Watchdog started
20210617 000716 worker: Ready
20210617 003019 worker: Job sourcecfg
20210617 003023 watchdog: Info: Reducing PHP fpm worker pool
20210617 003028 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210617 003123 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210617 003141 worker: Job regen_library
20210617 003142 thmcache: Start
20210617 003142 thmcache: Priority: Embedded cover
20210617 003142 thmcache: Res,Qual: Auto
20210617 003142 thmcache: Px ratio: 1
20210617 003142 thmcache: Th width: 100
20210617 003142 thmcache: Thm qual: 75
20210617 003142 thmcache: Scanning: NAS, SDCARD, UPNP
20210617 003143 thmcache: Done: 2 folders scanned, 0 thumbs created, 2 already in cache.
20210617 003146 worker: Job regen_library done
Reply
#6
UPDATE: I have managed to connect MANUALLY - YAY!

I entered 192.168.1.116/Robin FLAC in the manual entry field and saved it and it has magically appeared and has Indexed the NAS Drive.

The mistake I had made was to assume that the USB Drive was called "USB" ... it should be the USB Drive Name. I did say that I was a complete noob with Linux but I got the clue by searching the Network for available shares on my Android Phone.

I haven't a clue as to why my network (Router Switch) is blocking the Search function. - Robin
Reply
#7
(06-17-2021, 12:18 AM)Wheel_nut Wrote: UPDATE: I have managed to connect MANUALLY - YAY!

I entered 192.168.1.116/Robin FLAC in the manual entry field and saved it and it has magically appeared and has Indexed the NAS Drive.

The mistake I had made was to assume that the USB Drive was called "USB"  ... it should be the USB Drive Name. I did say that I was a complete noob with Linux but I got the clue by searching the Network for available shares on my Android Phone.

I haven't a clue as to why my network (Router Switch) is blocking the Search function. - Robin

Just to check...after you use the Scan do you then use the drop-down arrow in the box to show the list of found items ?
----------
bob
Reply
#8
(06-17-2021, 01:03 AM)DRONE7 Wrote: Just to check...after you use the Scan do you then use the drop-down arrow in the box to show the list of found items ?

Yes, the drop-down box shows nothing.

I did some further testing: ... I turned the Router Firewall OFF to check whether it was blocking access but it made no difference.

I suspect that BT  (It is a BT Hub 6 that I am using) have blocked SMB1.0 at around the same time as Microsoft switched it off by default in Windows 10. I will do some digging to see if that is true. I have enabled SMB1.0 support on my Windows PCs and that allows me to share drives with my Android devices,

Strangely, My Android Phone could (can) see all of the MoOde drives!

R
Reply
#9
I don't know whether this thread on the BT Home Hub 6 is relevant but it relates to problems connecting to LAN Drives after SMB1.0 support was dropped in 2019.

https://community.bt.com/t5/Home-setup-W...-p/1833279
Reply
#10
I am copying the following dialogue that I raised in the BT Home Hub Forum:

Quote:
Does the BT Home Hub 6 support Samba File Sharing between Hosts connected by WiFi?

I am trying to access Storage on another Host on the LAN but a search does not show any available devices. The Router seems to be blocking the protocol (multicast DNS or mDNS) that is used for discovering things like Samba shares.

Do I need to configure something in the Home Hub 6 Firewall or Access Controls?

Thank you for reading. All help or suggestions welcome ...
-----------------------------------------------------------------------------------------------------------
Response:

If it is within your LAN, the hub will have no knowledge of let alone block anything that is passing. Bear in mind SMB1 is disabled by default on W10 machines.

My Response:

Thank you for your response. Yes, I know that SMB1.0 is disabled by default in Windows 10 but I have enabled both Client and Server on my Windows 10 PCs on the LAN.

This observation is of Raspberry Pi devices on the Wireless LAN which cannot see one another on a search. They are on consecutive addresses on the network so I am at a loss to understand why they cannot see one another.

:End od Dialogue
Reply


Forum Jump: