mirror of
https://github.com/JonasunderscoreJones/ZtereoMUSIC.git
synced 2025-10-25 05:29:18 +02:00
change: trackmanager will now say what is playing at the first play
This commit is contained in:
parent
7d7676c910
commit
07fe95a1bc
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ public class TrackManager extends AudioEventAdapter {
|
||||||
// change this to add to queue and call onTrackEnd!
|
// change this to add to queue and call onTrackEnd!
|
||||||
if (player.getPlayingTrack() == null) {
|
if (player.getPlayingTrack() == null) {
|
||||||
player.playTrack(track);
|
player.playTrack(track);
|
||||||
|
infoChannel.sendMessage("Playing: " + track.getInfo().title).queue();
|
||||||
} else {
|
} else {
|
||||||
trackQueue.add(track);
|
trackQueue.add(track);
|
||||||
infoChannel.sendMessage("Queued " + track.getInfo().title).queue();
|
infoChannel.sendMessage("Queued " + track.getInfo().title).queue();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue