Checking output of youtube-dl when downloading[ci skip]
This commit is contained in:
parent
4a2238571e
commit
488391c9da
|
@ -44,7 +44,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) {
|
|||
// PLAYLIST
|
||||
if dj.HasPermission(user.Name, dj.conf.Permissions.AdminAddPlaylists) {
|
||||
// Check duration of playlist
|
||||
duration, _ := apiResponse.Int("duration")
|
||||
//duration, _ := apiResponse.Int("duration")
|
||||
|
||||
// Create playlist
|
||||
title, _ := apiResponse.String("title")
|
||||
|
|
Reference in a new issue