Thank you for your donation!


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


Problem: Dashboard player discovery
#1
Hello,

I have 3 moode installations. Only one of which discovers all 3 players.

I've included screenshots of all their Dashboards.

In brief, 3 installations (cellar, lounge and kitchen)

Cellar: discovers just Kitchen (not even itself).
Lounge: discovers Kitchen and itself
Kitchen: discovers all 3

I've rebooted all 3. I can also access all 3 from my laptop. I've not noticed this when Dashboard was called Players.

Best regards,
Nick


Attached Files Thumbnail(s)
           
Reply
#2
Very odd.

The discovery attempts are logged. Look at the moode log and see if there are any failed attempts.

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(04-30-2025, 07:28 PM)Tim Curtis Wrote: Very odd.

The discovery attempts are logged. Look at the moode log and see if there are any failed attempts.

Code:
moodeutl -l

Actually the logging was commented out.

To troubleshoot discovery not returning all hosts run the nmap command below. You may have to run it several times to get all the hosts. If thats the case then you may have to run "Discover" multiple times to find all the hosts. The list of hosts is stored as formatted HTML in /var/local/www/dashboard.txt

Code:
# Get the subnet
SUBNET=$(hostname -I | cut -d' ' -f1 | awk -F"." '{print $1"."$2"."$3}')

# Scan for hosts running MPD (port 6600)
# You may need to run it multiple times. Wait for it to complete each time.
sudo nmap -Pn -p6600 --open -oG /tmp/mpd_nmap.scan $SUBNET.0/24 >/dev/null

# View the results
cat /tmp/mpd_nmap.scan
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: