Fixed soundcloud song length, closes #1380
This commit is contained in:
parent
ab3ad4f2fb
commit
ec94459722
@ -254,7 +254,8 @@ namespace NadekoBot.Services.Music
|
|||||||
ProviderType = MusicType.Soundcloud,
|
ProviderType = MusicType.Soundcloud,
|
||||||
Query = svideo.TrackLink,
|
Query = svideo.TrackLink,
|
||||||
AlbumArt = svideo.artwork_url,
|
AlbumArt = svideo.artwork_url,
|
||||||
QueuerName = queuerName
|
QueuerName = queuerName,
|
||||||
|
TotalTime = TimeSpan.FromMilliseconds(svideo.Duration)
|
||||||
});
|
});
|
||||||
|
|
||||||
public SongInfo ResolveLocalSong(string query, string queuerName)
|
public SongInfo ResolveLocalSong(string query, string queuerName)
|
||||||
|
Loading…
Reference in New Issue
Block a user