Removed debug message

This commit is contained in:
MichaelOultram 2015-09-26 17:52:41 +01:00
parent 995e93d627
commit 5c61238a2d

View file

@ -105,7 +105,6 @@ func (yt YouTube) NewSong(user *gumble.User, id, offset string, playlist Playlis
// parseTime converts from the string youtube returns to a time.Duration // parseTime converts from the string youtube returns to a time.Duration
func (yt YouTube) parseTime(duration, regex string) time.Duration { func (yt YouTube) parseTime(duration, regex string) time.Duration {
fmt.Printf("parseTime(%s)", strings.ToUpper(duration))
var days, hours, minutes, seconds, totalSeconds int64 var days, hours, minutes, seconds, totalSeconds int64
if duration != "" { if duration != "" {
timestampExp := regexp.MustCompile(regex) timestampExp := regexp.MustCompile(regex)