diff --git a/pom.xml b/pom.xml
index 0cf54de7f..a3c0800c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.jagrosh
JMusicBot
- 0.6.9
+ 0.7.0
jar
diff --git a/src/main/java/com/jagrosh/jmusicbot/audio/QueuedTrack.java b/src/main/java/com/jagrosh/jmusicbot/audio/QueuedTrack.java
index e3eeae5cc..9166c4b6d 100644
--- a/src/main/java/com/jagrosh/jmusicbot/audio/QueuedTrack.java
+++ b/src/main/java/com/jagrosh/jmusicbot/audio/QueuedTrack.java
@@ -18,6 +18,7 @@
import com.jagrosh.jmusicbot.queue.Queueable;
import com.jagrosh.jmusicbot.utils.FormatUtil;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
+import com.sedmelluq.discord.lavaplayer.track.AudioTrackInfo;
import dev.cosgy.agent.GensokyoInfoAgent;
import dev.cosgy.agent.objects.ResultSet;
import net.dv8tion.jda.api.entities.User;
@@ -64,6 +65,10 @@ public String toString() {
data.getMisc().getCirclelink();
return "`[" + FormatUtil.formatTime(data.getSongtimes().getDuration()) + "]` [**" + title + "**](" + titleUrl + ") - <@" + track.getUserData(RequestMetadata.class).getOwner() + ">";
}
- return "`[" + FormatUtil.formatTime(track.getDuration()) + "]` [**" + track.getInfo().title + "**](" + track.getInfo().uri + ") - <@" + track.getUserData(RequestMetadata.class).getOwner() + ">";
+
+ String entry = "`[" + FormatUtil.formatTime(track.getDuration()) + "]` ";
+ AudioTrackInfo trackInfo = track.getInfo();
+ entry = entry + (trackInfo.uri.startsWith("http") ? "[**" + trackInfo.title + "**]("+trackInfo.uri+")" : "**" + trackInfo.title + "**");
+ return entry + " - <@" + track.getUserData(RequestMetadata.class).getOwner() + ">";
}
}
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index 549d02034..fcdf35195 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -40,18 +40,18 @@
-
+
-
+