From 73309c723e4f7ff004e9b797430f4a226347b651 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Sun, 31 Jan 2016 06:45:25 +0100 Subject: [PATCH] song title string fixed, sry joshu it was my fault >.> --- NadekoBot/Classes/Music/StreamRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Classes/Music/StreamRequest.cs b/NadekoBot/Classes/Music/StreamRequest.cs index 9a6ee540..843fe68f 100644 --- a/NadekoBot/Classes/Music/StreamRequest.cs +++ b/NadekoBot/Classes/Music/StreamRequest.cs @@ -69,7 +69,7 @@ namespace NadekoBot.Classes.Music { if (video == null) // do something with this error throw new Exception("Could not load any video elements based on the query."); - Title = video.Title.Substring(0,video.Title.Length-10); // removing trailing "- You Tube" + Title = video.Title; //.Substring(0,video.Title.Length-10); // removing trailing "- You Tube" } catch (Exception ex) { privateState = StreamState.Completed; if (OnResolvingFailed != null)