Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Adds player queue control commands.
Note: In manual testing, I could not get the
save_queue
command to work on my local device, so the fixture used in testing was created with the anticipated result.New
Heos
classplayer_get_queue
to retrieve the specified player's queue items.player_play_queue
to play a specific queue index on the specified player.player_remove_from_queue
to remove one or more items from the specified player's queueplayer_save_queue
to save the specified player's queue as a playlist.player_move_queue_item
to move items in the specified player's queue.HeosPlayer
classget_queue
to retrieve the player's queue items.play_queue
to play a specific queue index on the player.remove_from_queue
to remove one or more items from the player's queuesave_queue
to save the current queue as a playlist.move_queue_item
to move items in the queue.Related issue (if applicable): closes #62
Checklist:
.coveragerc
permitted.README.MD
updated (if necessary)