feat: make the downloads command use the mpv module to enable compatibility with mobile

This commit is contained in:
Benex254
2024-08-05 09:47:02 +03:00
parent cb18e9299c
commit da49aadd5c
2 changed files with 8 additions and 9 deletions

View File

@@ -2,7 +2,11 @@ import shutil
import subprocess
def mpv(link, title, *custom_args):
def mpv(
link,
*custom_args,
title="anime",
):
MPV = shutil.which("mpv")
if not MPV:
args = [