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

Allow setting user data on tracks #983

Merged
merged 9 commits into from
Dec 2, 2023
Merged

Allow setting user data on tracks #983

merged 9 commits into from
Dec 2, 2023

Conversation

topi314
Copy link
Member

@topi314 topi314 commented Nov 26, 2023

@topi314 topi314 changed the base branch from master to dev November 26, 2023 12:36
@topi314 topi314 changed the title Clarify error message about incomplete voice state Allow setting user data on tracks Nov 26, 2023
@topi314 topi314 marked this pull request as ready for review November 26, 2023 16:11
@topi314 topi314 self-assigned this Nov 26, 2023
@topi314 topi314 requested a review from a team November 26, 2023 16:11
@topi314 topi314 added this to the v4.0.0 milestone Nov 26, 2023
Co-authored-by: Duncan Sterken <contact@duncte123.me>
Copy link
Member

@freyacodes freyacodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation is needed

@topi314
Copy link
Member Author

topi314 commented Dec 2, 2023

docs are here #984

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 09263d4
Status: ✅  Deploy successful!
Preview URL: https://b8c2a0c8.lavalink-bne.pages.dev
Branch Preview URL: https://exp-track-user-data.lavalink-bne.pages.dev

View logs

# Conflicts:
#	protocol/src/commonMain/kotlin/dev/arbjerg/lavalink/protocol/v4/player.kt
@topi314 topi314 merged commit 3c442f3 into dev Dec 2, 2023
1 check passed
@topi314 topi314 deleted the exp/track-user-data branch December 2, 2023 12:50
DRSchlaubi pushed a commit to DRSchlaubi/Lavalink that referenced this pull request Jun 23, 2024
* implement track user data

* fix unit tests and add Track#copyWithUserData

* remove unnecessary exceptionally

* use loadItemSync instead of loadItem in player rest handler

* Update protocol/src/commonTest/kotlin/PlayerSerializerTest.kt

Co-authored-by: Duncan Sterken <contact@duncte123.me>

* throw http 400 if both track and encodedTrack/identifier is set

* add convenient deserializeUserData method for java

---------

Co-authored-by: Duncan Sterken <contact@duncte123.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants