Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api-server): add insertPosition for addSongToQueue #2808

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

franz-dc
Copy link
Contributor

Closes #2803, but hooking into POST /api/v1/queue instead of creating a new endpoint.

Request body:

{
  "videoId": "...",
  "insertPosition": "INSERT_AFTER_CURRENT_VIDEO"
}

insertPosition can be omitted and will default to the original behavior (INSERT_AT_END).

@JellyBrick JellyBrick added the enhancement New feature or request label Dec 31, 2024
@JellyBrick JellyBrick merged commit a1ac3d1 into th-ch:master Jan 1, 2025
6 checks passed
@cireCloud
Copy link

Hello. Would it be possible to have index as well? So it can be removed later on.
Or at least response to give index it was placed in? Thanks!

@franz-dc franz-dc deleted the feat/song-insert-position branch January 24, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: API Server - play-next for putting song after current playing
3 participants