Skip to content

Commit

Permalink
Fix assigning _nextOverridenPlayableItemIdentifier value when startin…
Browse files Browse the repository at this point in the history
…g track in LavalinkPlayer
  • Loading branch information
SKProCH committed Aug 21, 2024
1 parent 751a4d9 commit 4ac2441
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Lavalink4NET/Players/LavalinkPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ public virtual async ValueTask PlayAsync(ITrackQueueItem trackQueueItem, TrackPl
.GetPlayableTrackAsync(cancellationToken)
.ConfigureAwait(false);

updateProperties.TrackData = _nextOverridenPlayableItemIdentifier = playableTrack.ToString();
_nextOverridenPlayableItemIdentifier = playableTrack.Identifier;
updateProperties.TrackData = playableTrack.ToString();
}
else
{
Expand Down

0 comments on commit 4ac2441

Please sign in to comment.