Checking output of youtube-dl when downloading[ci skip]

This commit is contained in:
MichaelOultram 2015-08-13 14:00:12 +01:00
parent 4a2238571e
commit 488391c9da

View file

@ -44,7 +44,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) {
// PLAYLIST // PLAYLIST
if dj.HasPermission(user.Name, dj.conf.Permissions.AdminAddPlaylists) { if dj.HasPermission(user.Name, dj.conf.Permissions.AdminAddPlaylists) {
// Check duration of playlist // Check duration of playlist
duration, _ := apiResponse.Int("duration") //duration, _ := apiResponse.Int("duration")
// Create playlist // Create playlist
title, _ := apiResponse.String("title") title, _ := apiResponse.String("title")