Skip to content

Commit

Permalink
[3.1.9]
Browse files Browse the repository at this point in the history
  - Patches over an issue with audio
  - More comprehensive fix restoring some of this functionality more
  safely planned Please enter the commit message for your changes. Lines starting
  • Loading branch information
Michael H committed Jan 8, 2020
1 parent 3eb4017 commit ec0c71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redbot/cogs/audio/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2391,7 +2391,7 @@ async def _playlist_start(self, ctx, playlist_name=None):
if not self._track_limit(ctx, track["info"]["length"], maxlength):
continue
player.add(author_obj, lavalink.rest_api.Track(data=track))
await asyncio.sleep(1)
await asyncio.sleep(0)
track_len += 1
if len(playlists[playlist_name]["tracks"]) > track_len:
maxlength_msg = " {bad_tracks} tracks cannot be queued.".format(
Expand Down Expand Up @@ -3072,7 +3072,7 @@ async def _search_menu(
else:
track_len += 1
player.add(ctx.author, track)
await asyncio.sleep(1)
await asyncio.sleep(0)
if not player.current:
await player.play()
if len(tracks) > track_len:
Expand Down

0 comments on commit ec0c71d

Please sign in to comment.