MusicBot: Unable to queue playlist on Fedora 38

What went wrong?

I am unable to queue playlist from YouTube and SoundCloud with YouTube it errors out but on soundcloud queuing a playlist hangs

Traceback (most recent call last):
  File "/home/ozzy/chickenfocker/musicbot/bot.py", line 4387, in on_message
    response = await handler(**handler_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ozzy/chickenfocker/musicbot/bot.py", line 1721, in cmd_play
    return await self._cmd_play(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/ozzy/chickenfocker/musicbot/bot.py", line 2254, in _cmd_play
    t0 = time.time()
         ^^^^^^^^^
AttributeError: 'builtin_function_or_method' object has no attribute 'time'

How do we reproduce this?

be running in a venv virtual environment with python 3.11.3 summon the bot to a channel and try and do the play cmd with a youtube playlist and it will error out and try and do the play cmd with a soundcloud playlist and it will do nothing and when you try and shut the bot down the program will hang when shutting down the bot. I am using the dev branch for this and I renamed the folder the bot exist in for my server

Which version of the bot are you using?

None

Which operating system are you using?

Other

Just checking…

  • I have confirmed that my issue has not already been reported.
  • I am using Python 3.8 or higher.
  • I have updated my Python dependencies.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 22

Most upvoted comments

I never expected yt-dlp to give me access to something I’m not allowed to its more that I’m throwing random playlist at the bot to try and it keeps erroring out in the same sort of way