Play music
play_musicLoad, add, or insert music into the playback queue using a library ID or direct URL. Replace the current queue and play, append tracks, or play next.
Instructions
Load or queue music by library id (from search_library) or by direct URL. mode 'load' replaces the queue and plays, 'add' appends, 'insert' plays next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| mode | No | load | |
| player | No | Player MAC address or exact name. Defaults to LMS_DEFAULT_PLAYER or the only player. | |
| albumId | No | ||
| genreId | No | ||
| trackId | No | ||
| artistId | No | ||
| playlistId | No |