diff options
Diffstat (limited to '')
-rw-r--r-- | Containerfile | 8 | ||||
-rwxr-xr-x | cogs/player.py | 2 | ||||
-rwxr-xr-x | requirements.txt | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/Containerfile b/Containerfile index 362bbcc..44b2cd4 100644 --- a/Containerfile +++ b/Containerfile @@ -1,11 +1,12 @@ -FROM ghcr.io/void-linux/void-musl:d1ee412 +FROM ghcr.io/void-linux/void-musl:20240526R1 -RUN xbps-install -Suy \ +RUN xbps-install -Suy && xbps-install -y \ make \ gcc \ shadow \ python3 \ python3-async-timeout \ + python3-aiohttp \ python3-GitPython \ python3-colorama \ python3-dateutil \ @@ -20,7 +21,8 @@ RUN xbps-install -Suy \ python3-requests \ python3-six \ python3-virtualenv \ - python3-youtube-dl + yt-dlp \ + ffmpeg6 # Can't do non-rootless user because we can't mount the various config files as # a non-root user. If we ignore the write operations then this would work just diff --git a/cogs/player.py b/cogs/player.py index cf896fe..06a2e06 100755 --- a/cogs/player.py +++ b/cogs/player.py @@ -28,7 +28,7 @@ from pathlib import Path import discord from async_timeout import timeout from discord.ext import commands, tasks -from youtube_dl import YoutubeDL +from yt_dlp import YoutubeDL ytdlopts = { "format": "bestaudio/best", diff --git a/requirements.txt b/requirements.txt index 6bf0648..208debd 100755 --- a/requirements.txt +++ b/requirements.txt @@ -15,4 +15,4 @@ requests>=2.31.0 selenium>=4.16.0 six>=1.16.0 subprocess32>=3.5.4 -youtube_dl>=2021.12.17 +yt-dlp>=2024.8.1 |