fixed m3u support

This commit is contained in:
Master Kwoth
2016-02-16 11:57:11 +01:00
parent 5f86c83422
commit 643f8590a7
2 changed files with 12 additions and 13 deletions

View File

@ -54,11 +54,10 @@ namespace NadekoBot.Classes.Music {
this.Server = e.Server;
this.Query = query;
this.RadioLink = radio;
Task.Run(() => ResolveStreamLink());
mc.SongQueue.Add(this);
}
private async void ResolveStreamLink() {
public async Task Resolve() {
string uri = null;
try {
if (RadioLink) {