Master the web-based administration interface
The Mcaster1DNAS admin interface provides comprehensive control over your streaming server through a web-based interface. From managing listeners and sources to updating metadata and monitoring statistics, the admin interface gives you complete control over every aspect of your server.
These functions apply to specific mountpoints. Access them by specifying the mountpoint in the URL.
The examples use 192.168.1.10:8000 as the server address.
Update the metadata (song information) for a mountpoint. Supports all audio formats with ICY-META v2.1+ protocol enhancements in Mcaster1DNAS v2.5.1-rc1.
http://192.168.1.10:8000/admin/metadata?mount=/stream&mode=updinfo&song=Artist+-+Title
Parameters:
mount - The mountpoint to update (e.g., /stream, /live.ogg)mode - Update mode (updinfo for song updates)song - Song information (URL-encoded, use + for spaces)Configure or update the fallback mountpoint for automatic listener transfer when a source disconnects.
http://192.168.1.10:8000/admin/fallbacks?mount=/stream.ogg&fallback=/backup.ogg
Use Case: Prevent dead air by automatically moving listeners to a backup stream when the main source disconnects.
Display all listeners currently connected to a specific mountpoint. Returns detailed XML data including IP addresses, connection times, and user agents.
http://192.168.1.10:8000/admin/listclients?mount=/stream
Disconnect a specific listener from a mountpoint. Useful for managing problem connections or enforcing listener limits.
http://192.168.1.10:8000/admin/killclient?mount=/stream&id=12345
Note: Get the client ID from the listclients output.
Transfer all listeners from one mountpoint to another without disconnection.
http://192.168.1.10:8000/admin/moveclients?mount=/old&destination=/new
Use Case: Switch between different quality streams or migrate listeners during server maintenance.
Disconnect a source client from a mountpoint.
http://192.168.1.10:8000/admin/killsource?mount=/stream
Warning: This will terminate the source connection immediately. All listeners will be moved to the fallback mountpoint if configured.
These functions affect the entire server and require admin credentials (not mount-specific credentials).
Retrieve comprehensive server statistics in XML format.
http://192.168.1.10:8000/admin/stats.xml
Includes connection counts, source information, listener counts, and mountpoint details. See Server Statistics for details.
Display all currently active mountpoints with their statistics.
http://192.168.1.10:8000/admin/listmounts
Reload the YAML configuration file without restarting the server (v2.5.1-rc1 feature).
http://192.168.1.10:8000/admin/reloadconfig
Note: Some settings require a full server restart. Configuration errors will be logged.
Mcaster1DNAS includes a web-based admin interface built with XSLT transformations. Access it at:
http://yourserver:8000/admin/stats.xsl
The admin interface can be accessed programmatically using HTTP requests. This enables:
#!/bin/bash
SONG="$(nowplaying-script)"
curl -u admin:password \
"http://localhost:8000/admin/metadata?mount=/stream&mode=updinfo&song=${SONG}"Next Steps: Learn about Server Statistics or explore Listener Authentication.