Removed debug message
This commit is contained in:
parent
995e93d627
commit
5c61238a2d
|
@ -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)
|
||||||
|
|
Reference in a new issue