Skip to content

Commit

Permalink
📨 Update to transmit song details during playback
Browse files Browse the repository at this point in the history
  • Loading branch information
Nich87 committed Dec 3, 2023
1 parent 106a615 commit 9d90252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class YTPlayer {
if (this.queue.store.length > 1) this.queue.removeSong(0);
if (this.queue.store.length === 1) {
this.play();
await this.fetchSongData();
return this.queue.removeSong(0);
}
await this.fetchSongData();
Expand Down

0 comments on commit 9d90252

Please sign in to comment.