How to control Multi Room Audio Player via command line

You can control Multi Room Audio Player using REST API as well as via command line interface with console commands. At first run main software, then find mzap5cmd.exe remote console control program in the same folder C:\Program Files (x86)\Multi Room Audio Player 5

mzap5cmd console tool

All console parameters have easy to understand names. If you have any questions or suggestions, please leave a comment below.  Please run mzap5cmd.exe –h for help.

Usage: mzap5cmd [OPTIONS]

Options:
-p, –player=NAME      player NAME.
-z, –zone=NAME         zone NAME
-a, –action=NAME      action NAME.
-o, –option=NAME      options, filename or URL NAME.
-h, –help                     show help

command line

This is a list of available player actions:
stop, play, pause, prev, next, mute, unmute, playfile, playlist, playurl,
vd1, vd10, vu1, vu10, volume (0..100), addZone, removeZone, clearPlaylist
spotifyLogin, spotifyPassword, spotifyKeyPath, spotifyLogon, spotifyPlaylist, spotifyTrack.

This is a list of available zone actions:
mute, unmute, vd1, vd10, vu1, vu10, volume (0..100),
setZoneEQ “lo, mid, hi” (-15..15), pEQlow (-15..15), pEQmid (-15..15), pEQhi (-15..15)

This is a list of available global actions:
resetAllPlayers, resetAllZones, resetAllZonesEQ

Examples:

Control player
mzap5cmd –player=”player 1″ –action=play
mzap5cmd –player=”living room” –action=pause
mzap5cmd –player=Player5 –action=playurl –option=”http://www.sky.fm/mp3/the80s.pls”
mzap5cmd –player=”chillout” –action=playlist –option=”D:\Music\playlist.m3u”
mzap5cmd –player=room1 –action=playfile –option=”D:\Music\advert.mp3″
mzap5cmd –player=Player1 –action=addZone –option=”Zone 2″
mzap5cmd –player=Player1 –action=removeZone –option=”Zone 2″

Cotrol Zone
mzap5cmd –zone=”Zone 1″ –action=vu10 (volume up for 10 points)

Control Spotify player
mzap5cmd –player=Spotify –action=spotifyLogin –option=yourLogin
mzap5cmd –player=Spotify –action=spotifyPassword –option=yourPassword
mzap5cmd –player=Spotify –action=spotifyKeyPath –option=”D:\spotify_appkey.key”
mzap5cmd –player=Spotify –action=spotifyPlaylist –option=PlaylistName
mzap5cmd –player=Spotify –action=spotifyTrack –option=5
mzap5cmd –player=Spotify –action=spotifyLogon

This post is also available in: German Ukrainian Russian

Leave a Reply

Your email address will not be published. Required fields are marked *