song title string fixed, sry joshu it was my fault >.>
This commit is contained in:
parent
548aadabfb
commit
73309c723e
@ -69,7 +69,7 @@ namespace NadekoBot.Classes.Music {
|
|||||||
if (video == null) // do something with this error
|
if (video == null) // do something with this error
|
||||||
throw new Exception("Could not load any video elements based on the query.");
|
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) {
|
} catch (Exception ex) {
|
||||||
privateState = StreamState.Completed;
|
privateState = StreamState.Completed;
|
||||||
if (OnResolvingFailed != null)
|
if (OnResolvingFailed != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user