-
Notifications
You must be signed in to change notification settings - Fork 77
03 Actions
You can specify a set of 'actions' to be triggered when the page is loaded. This
is achieved by passing the action
query parameter one or more times. This uses
the following syntax:
http://<yourserver>:9000/material/?action=name/comma-separated-params/player
name
being the name of the action, comma-separated-params
is (as its name
implies) a list of comma-separated parameters to pass to the invoked action,
player
allows you to (optionally) specify that the action will only occur when
the indicated player is present.
-
http://<yourserver>:9000/material/?layout=desktop&action=expandNowPlaying/true
will open the desktop-layout with the now-playing page expanded (which is similar tohttp://<yourserver>:9000/material/now-playing
) -
http://<yourserver>:9000/material/?layout=mobile&action=dlg.open/playersettings,-,alarms
will open the player settings dialog, and scroll the 'Alarms' section into view.-
is used to tell the player settings dialog to act on the currently active player. Therefore, to be truly useful theplayer=
query parameter should also be used. e.g.http://<yourserver>:9000/material/?layout=mobile&player=Bedroom&action=dlg.open/playersettings,-,alarms
Some dialog names:
-
advancedsearch
- Advanced search -
dstm
- "Don't Stop the Music" dialog -
manage
- "Manage players" dialog -
movequeue
- Move/copy/switch the current play queue -
notifications
- Current notificatications -
playersettings
- Player settings dialog -
rndmix
- Random mix dialog -
savequeue
- Save current play queue -
sleep
- Sleep settings -
sync
- Player synchronisation dialog -
uisettings
- Interface settings dialog