master
r4 1 year ago
parent e1fe06f631
commit dec3d516c2
  1. 2
      commands.go
  2. 1
      ytdl/extractor.go

@ -154,7 +154,7 @@ func commandPlay(s *discordgo.Session, g *discordgo.Guild, c *Client, args []str
c.Playback = &Playback{
CmdCh: make(chan dca0.Command),
RespCh: make(chan dca0.Response),
Track: track,
Track: track,
}
c.Unlock()
// We just set the playback info so we don't have to check if it's there.

@ -85,7 +85,6 @@ func (e *Extractor) GetMetadata(input string, progress chan<- struct{}) ([]Metad
return ret, nil
}*/
// `input` can be a URL or a search query.
// Returns a slice with size 1 if the input is a single media file. Returns a
// larger slice if the input is a playlist.