You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_integrations/heos.markdown
+22-1
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ In addition to the standard [Media Player actions](/integrations/media_player#ac
87
87
88
88
Group volume actions: `heos.group_volume_set`, `heos.group_volume_down`, and `heos.group_volume_up` for entities joined to a group.
89
89
90
-
Queue actions: `heos.get_queue` and `heos.remove_from_queue` to manage a player's queue items.
90
+
Queue actions: `heos.get_queue`, `heos.move_queue_item`, and `heos.remove_from_queue` to manage a player's queue items.
91
91
92
92
### Action `heos.group_volume_set`
93
93
@@ -129,6 +129,27 @@ media_player.office:
129
129
album_id: "134788273"
130
130
```
131
131
132
+
### Action `heos.move_queue_item`
133
+
134
+
Move one or more items in the target player's queue, effectively reordering the play queue. The play queue can be enumerated by using the `heos.get_queue` service.
135
+
136
+
Example action data payload that moves the second item to the top of the play queue:
| `queue_ids` | no | The IDs (indexes) of the items in the queue to move. |
151
+
| `destination_position` | no | The destination position in the queue (starting at 1). |
152
+
132
153
### Action `heos.remove_from_queue`
133
154
134
155
Removes one or more items from the target player(s) queue. The play queue can be enumerated by using the `heos.get_queue` service. Example action data payload:
0 commit comments